Commit 14da0eefd86998bafc75f85bb7a1ee688c64c1b5

Authored by Rodrigo Gonçalves
1 parent 108d1230
Exists in master

Ajustes OTRS 5.0.x

CreateOpm.sh
1 1 #!/bin/bash
2 2 LOCAL="$PWD"
3   -cd /opt/otrs/bin
4   -./otrs.PackageManager.pl -a build -p "$LOCAL"/QueuesPanel.sopm -o "$LOCAL"/
  3 +cd /opt/otrs
  4 +bin/otrs.Console.pl Dev::Package::Build "$LOCAL"/QueuesPanel.sopm "$LOCAL"/
5 5 cd $LOCAL
... ...
CreateOpmUFSC.sh
1 1 #!/bin/bash
2 2 LOCAL="$PWD"
3   -cd /opt/otrs/bin
4   -./otrs.PackageManager.pl -a build -p "$LOCAL"/QueuePanelUFSC.sopm -o "$LOCAL"/
  3 +cd /opt/otrs
  4 +bin/otrs.Console.pl Dev::Package::Build "$LOCAL"/QueuePanelUFSC.sopm "$LOCAL"/
5 5 cd $LOCAL
... ...
Kernel/Output/HTML/Standard/CustomerFooterQPUFSC.tt
... ... @@ -1,33 +0,0 @@
1   -# --
2   -# CustomerFooterQPUFSC.tt - Footer para Queues Panel na UFSC
3   -# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
4   -# --
5   -# This software comes with ABSOLUTELY NO WARRANTY. For details, see
6   -# the enclosed file COPYING for license information (AGPL). If you
7   -# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
8   -# --
9   -
10   -<div id="footerF" align="center" style="position: absolute; bottom: 10px; width: 100%; margin-top: 18px; margin-bottom: 8px;" class="noPrint">
11   -
12   -<div style="font-size: 0px;">
13   -<div style="height: 2px; width: 100%; background-image: url('/otrs-web/skins/Customer/default/images/queues-panel/separador.gif'); background-repeat: repeat-x; background-position: 0 50%;"></div>
14   -</div>
15   - <br><a href="http://www.setic.ufsc.br" target="_blank"><img src="/otrs-web/skins/Customer/default/images/queues-panel/setic.png" style="border-style: none"></a>
16   - <br>
17   - <div style="margin-top: 4px;"><span style="color: #BBBBBB;">© SeTIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação</span>
18   - </div>
19   - <div id="Footer" class="ARIARoleContentinfo">
20   -[% RenderBlockStart("Banner") %]
21   - <a href="http://www.otrs.com/" title="[% Config("Product") %] [% Config("Version") %]" target="_blank">[% Translate("Powered by") | html %] [% Config("Product") %] [% Config("Version").remove('\.0\..*') %]</a>
22   -[% RenderBlockEnd("Banner") %]
23   - <div class="Clear"></div>
24   -</div>
25   -</div>
26   -
27   -
28   -
29   -
30   -[% InsertTemplate("CustomerFooterJS.tt") %]
31   -
32   -</body>
33   -</html>
Kernel/Output/HTML/Standard/CustomerHTMLHeadQPUFSC.tt
... ... @@ -1,159 +0,0 @@
1   -# --
2   -# CustomerHTMLHeadUFSC.tt - provides FSC global HTML header
3   -# Copyright (C) 2015, SeTIC - UFSC - http://setic.ufsc.br/
4   -# --
5   -# This software comes with ABSOLUTELY NO WARRANTY. For details, see
6   -# the enclosed file COPYING for license information (AGPL). If you
7   -# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
8   -# --
9   -<head>
10   - <meta http-equiv="Content-type" content="text/html;charset=utf-8" />
11   -[% RenderBlockStart("MetaHttpEquivRefresh") %]
12   -[% INCLUDE "HTMLHeadRefresh.tt" %]
13   -[% RenderBlockEnd("MetaHttpEquivRefresh") %]
14   -[% RenderBlockStart("MetaLink") %]
15   - <link rel="[% Data.Rel | html %]" type="[% Data.Type | html %]" title="[% Data.Title | html %]" href="[% Data.Href %]" />
16   -[% RenderBlockEnd("MetaLink") %]
17   - <link rel="shortcut icon" href="[% Config("Frontend::ImagePath") %]icons/product.ico" type="image/ico" />
18   -
19   -[% RenderBlockStart("CommonCSS") %]
20   - <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
21   -[% RenderBlockEnd("CommonCSS") %]
22   -
23   -[% RenderBlockStart("CommonCSS_IE8") %]
24   -<!--[if IE 7]>
25   - <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
26   - <![endif]-->
27   -[% RenderBlockEnd("CommonCSS_IE8") %]
28   -
29   -[% RenderBlockStart("ModuleCSS") %]
30   - <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
31   -[% RenderBlockEnd("ModuleCSS") %]
32   -
33   -[% RenderBlockStart("ModuleCSS_IE8") %]
34   -<!--[if IE 7]>
35   - <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
36   - <![endif]-->
37   -[% RenderBlockEnd("ModuleCSS_IE8") %]
38   -
39   - <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/ui-theme/jquery-ui.css" />
40   - <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/jstree-theme/default/style.css" />
41   -
42   -[% RenderBlockStart("HeaderLogoCSS") %]
43   - <style type="text/css">
44   - #Header #Logo {
45   - background-image: [% Data.URL | html %];
46   - top: [% Data.StyleTop | html %];
47   - right: [% Data.StyleRight | html %];
48   - width: [% Data.StyleWidth | html %];
49   - height: [% Data.StyleHeight | html %];
50   - }
51   - </style>
52   -[% RenderBlockEnd("HeaderLogoCSS") %]
53   -
54   - <style type="text/css">
55   - @font-face {
56   - font-family: 'FontAwesome';
57   - src: url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.eot?v=4.1.0');
58   - src: url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
59   - url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.woff?v=4.1.0') format('woff'),
60   - url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
61   - url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.svg#fontawesomeregular?v=4.1.0') format('svg');
62   - font-weight: normal;
63   - font-style: normal;
64   - }
65   -
66   - /* Fix poor font rendering on chrome based browsers on windows */
67   - @media all and (-webkit-min-device-pixel-ratio:0) {
68   - @font-face {
69   - font-family: 'FontAwesome';
70   - src: url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.svg#fontawesomeregular') format('svg'),
71   - url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
72   - url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.woff?v=4.1.0') format('woff'),
73   - url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.ttf?v=4.1.0') format('truetype');
74   - font-weight: normal;
75   - font-style: normal;
76   - }
77   - }
78   - </style>
79   -
80   -<!--[if IE 8]>
81   - <script type="text/javascript">
82   - /* Fix initial font rendering on IE8 for FontAwesome */
83   - (function() {
84   - var head = document.getElementsByTagName('head')[0],
85   - style = document.createElement('style');
86   - style.type = 'text/css';
87   - style.styleSheet.cssText = ':before,:after{content:none !important;}';
88   - head.appendChild(style);
89   - setTimeout(function(){
90   - head.removeChild(style);
91   - }, 0);
92   - }());
93   - </script>
94   - <![endif]-->
95   -
96   - <style type="text/css">
97   - #header {
98   - height: 90px;
99   - background-image: url("/otrs-web/skins/Customer/default/images/queues-panel/cabecalhoUFSC.jpg");
100   - background-position: bottom left;
101   - padding-left: 30px;
102   - padding-top: 0px;
103   - font-family: Verdana, Arial, sans-serif;
104   - margin-bottom: 20px;
105   - }
106   -
107   - .tabstyles {
108   - border-collapse: separate;
109   - display: inline;
110   - font-family: Verdana, Arial, sans-serif;
111   - font-size: 11px;
112   - height: auto;
113   - margin-bottom: 0px;
114   - margin-left: 0px;
115   - margin-right: 0px;
116   - margin-top: 0px;
117   - padding-bottom: 0px;
118   - padding-left: 0px;
119   - padding-right: 0px;
120   - padding-top: 0px;
121   - width: auto;
122   -vertical-align: bottom;
123   - }
124   -
125   - .atalhoMenuLogo {
126   - text-align: right;
127   - vertical-align: bottom;
128   - color: #0000ee;
129   - }
130   -
131   - .titleText {
132   - FONT-SIZE: 16px;
133   - FONT-WEIGHT: bold;
134   - FONT-FAMILY: Arial, Helvetica, sans-serif;
135   - text-align: left;
136   - margin-left: 10px;
137   -}
138   -
139   - body {
140   - background: white;
141   - FONT-FAMILY: Arial, Helvetica, sans-serif;
142   - text-align: left;
143   - font-size: 12px;
144   -}
145   - }
146   -
147   -
148   -
149   - </style>
150   -
151   -
152   - <title>[% Data.TitleArea | html %] [% Config("ProductName") %]</title>
153   -
154   -
155   -
156   -
157   -[% INCLUDE "HTMLHeadBlockEvents.tt" %]
158   -
159   -</head>
Kernel/Output/HTML/Standard/CustomerHeaderQPUFSC.tt
... ... @@ -1,40 +0,0 @@
1   -# --
2   -# CustomerHeaderQPUFSC.tt - provides global HTML header for UFSC
3   -# Copyright (C) 2015, SeTIC - UFSC - http://setic.ufsc.br/
4   -# --
5   -# This software comes with ABSOLUTELY NO WARRANTY. For details, see
6   -# the enclosed file COPYING for license information (AGPL). If you
7   -# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
8   -# --
9   -[%- INCLUDE "HTTPHeaders.tt" -%]
10   -
11   -<!DOCTYPE html>
12   -<html>
13   -[% InsertTemplate("Copyright.tt") %]
14   -[% InsertTemplate("CustomerHTMLHeadQPUFSC.tt") %]
15   -
16   -
17   -<body class="NoJavaScript">
18   - <div id="header" class="noPrint">
19   - <table border="0" width="100%">
20   - <tbody>
21   - <tr style="height: 88px; vertical-align: bottom;">
22   - <td class="atalhoMenuLogo"><span class="tabstyles">
23   - <a href="http://servicosti.ufsc.br/">Catálogo de serviços</a> | <a href="/otrs/customer.pl?Action=CustomerTicketOverview">Meus chamados</a></span>
24   - </td>
25   - </tr>
26   - </tbody>
27   - </table>
28   - </div>
29   -
30   -<table id="titulo" width="100%" cellpadding="0" cellspacing="0">
31   - <tbody><tr>
32   - <td align="left" valign="top"><span class="titleText">PAI - <span style="font-weight: bolder">P</span>ortal de <span style="font-weight: bolder">A</span>tendimento <span style="font-weight: bolder">I</span>nstitucional</span></td>
33   - <td align="left" valign="top" width="1"></td>
34   - </tr>
35   - </tbody></table>
36   -<div style="font-size: 0px;">
37   -<div style="height: 2px; width: 100%; background-image: url('/otrs-web/skins/Customer/default/images/queues-panel/separador.gif'); background-repeat: repeat-x; background-position: 0 50%;"></div>
38   -</div>
39   -
40   -<!-- end header -->
Kernel/Output/HTML/Standard/QueuesPanel.tt
... ... @@ -1,39 +0,0 @@
1   -# --
2   -# Kernel/Output/HTML/Standard/QueuesPanel.tt - overview
3   -#
4   -# Copyright (C) SeTIC - UFSC - http://setic.ufsc.br/
5   -# Version 01/12/2015 - Support for OTRS 4.0.3
6   -#
7   -# --
8   -# $Id: writing-otrs-application.xml,v 1.1 2010/08/13 08:59:28 mg Exp $
9   -# --
10   -# This software comes with ABSOLUTELY NO WARRANTY. For details, see
11   -# the enclosed file COPYING for license information (AGPL). If you
12   -# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
13   -# --
14   -<div id="Queues" class="Queues">
15   - <div class="ChooseQueue">[% Data.MsgChooseQueue %]</div>
16   -
17   - <div id="columns"></div>
18   -
19   - [% RenderBlockStart("ListQueue") %]
20   - <div class="QueueCard">
21   - <div class="QueueTitle"><a class="QueueTitleLink" href="[% Env("Baselink") %]Action=NewTicketWizard;BaseQueueID=[% Data.QueueID %]">[% Data.QueueName %]</a></div>
22   - <div class="QueueComments">[% Data.QueueComments %]</div>
23   - </div>
24   -
25   -[% RenderBlockEnd("ListQueue") %]
26   -
27   -</div>
28   -
29   -[% WRAPPER JSOnDocumentComplete %]
30   -<script type="text/javascript">
31   - [% Data.QueueJS %]
32   -
33   -
34   - [% Data.CustomJS %]
35   -
36   -</script>
37   -[% END %]
38   -
39   -
40 0 \ No newline at end of file
Kernel/Output/HTML/Templates/Standard/CustomerFooterQPUFSC.tt 0 → 100755
... ... @@ -0,0 +1,33 @@
  1 +# --
  2 +# CustomerFooterQPUFSC.tt - Footer para Queues Panel na UFSC
  3 +# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
  4 +# --
  5 +# This software comes with ABSOLUTELY NO WARRANTY. For details, see
  6 +# the enclosed file COPYING for license information (AGPL). If you
  7 +# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
  8 +# --
  9 +
  10 +<div id="footerF" align="center" style="bottom: 10px; width: 100%; margin-top: 18px; margin-bottom: 8px;" class="noPrint">
  11 +
  12 +<div style="font-size: 0px;">
  13 +<div style="height: 2px; width: 100%; background-image: url('/otrs-web/skins/Customer/default/images/queues-panel/separador.gif'); background-repeat: repeat-x; background-position: 0 50%;"></div>
  14 +</div>
  15 + <br><a href="http://www.setic.ufsc.br" target="_blank"><img src="/otrs-web/skins/Customer/default/images/queues-panel/setic.png" style="border-style: none"></a>
  16 + <br>
  17 + <div style="margin-top: 4px;"><span style="color: #BBBBBB;">© SeTIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação</span>
  18 + </div>
  19 + <div id="Footer" class="ARIARoleContentinfo">
  20 +[% RenderBlockStart("Banner") %]
  21 + <a href="http://www.otrs.com/" title="[% Config("Product") %] [% Config("Version") %]" target="_blank">[% Translate("Powered by") | html %] [% Config("Product") %] [% Config("Version").remove('\.0\..*') %]</a>
  22 +[% RenderBlockEnd("Banner") %]
  23 + <div class="Clear"></div>
  24 +</div>
  25 +</div>
  26 +
  27 +
  28 +
  29 +
  30 +[% InsertTemplate("CustomerFooterJS.tt") %]
  31 +
  32 +</body>
  33 +</html>
... ...
Kernel/Output/HTML/Templates/Standard/CustomerHTMLHeadQPUFSC.tt 0 → 100755
... ... @@ -0,0 +1,159 @@
  1 +# --
  2 +# CustomerHTMLHeadUFSC.tt - provides FSC global HTML header
  3 +# Copyright (C) 2015, SeTIC - UFSC - http://setic.ufsc.br/
  4 +# --
  5 +# This software comes with ABSOLUTELY NO WARRANTY. For details, see
  6 +# the enclosed file COPYING for license information (AGPL). If you
  7 +# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
  8 +# --
  9 +<head>
  10 + <meta http-equiv="Content-type" content="text/html;charset=utf-8" />
  11 +[% RenderBlockStart("MetaHttpEquivRefresh") %]
  12 +[% INCLUDE "HTMLHeadRefresh.tt" %]
  13 +[% RenderBlockEnd("MetaHttpEquivRefresh") %]
  14 +[% RenderBlockStart("MetaLink") %]
  15 + <link rel="[% Data.Rel | html %]" type="[% Data.Type | html %]" title="[% Data.Title | html %]" href="[% Data.Href %]" />
  16 +[% RenderBlockEnd("MetaLink") %]
  17 + <link rel="shortcut icon" href="[% Config("Frontend::ImagePath") %]icons/product.ico" type="image/ico" />
  18 +
  19 +[% RenderBlockStart("CommonCSS") %]
  20 + <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
  21 +[% RenderBlockEnd("CommonCSS") %]
  22 +
  23 +[% RenderBlockStart("CommonCSS_IE8") %]
  24 +<!--[if IE 7]>
  25 + <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
  26 + <![endif]-->
  27 +[% RenderBlockEnd("CommonCSS_IE8") %]
  28 +
  29 +[% RenderBlockStart("ModuleCSS") %]
  30 + <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
  31 +[% RenderBlockEnd("ModuleCSS") %]
  32 +
  33 +[% RenderBlockStart("ModuleCSS_IE8") %]
  34 +<!--[if IE 7]>
  35 + <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/[% Data.Skin | uri %]/[% Data.CSSDirectory | html %]/[% Data.Filename | html %]" />
  36 + <![endif]-->
  37 +[% RenderBlockEnd("ModuleCSS_IE8") %]
  38 +
  39 + <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/ui-theme/jquery-ui.css" />
  40 + <link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/jstree-theme/default/style.css" />
  41 +
  42 +[% RenderBlockStart("HeaderLogoCSS") %]
  43 + <style type="text/css">
  44 + #Header #Logo {
  45 + background-image: [% Data.URL | html %];
  46 + top: [% Data.StyleTop | html %];
  47 + right: [% Data.StyleRight | html %];
  48 + width: [% Data.StyleWidth | html %];
  49 + height: [% Data.StyleHeight | html %];
  50 + }
  51 + </style>
  52 +[% RenderBlockEnd("HeaderLogoCSS") %]
  53 +
  54 + <style type="text/css">
  55 + @font-face {
  56 + font-family: 'FontAwesome';
  57 + src: url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.eot?v=4.1.0');
  58 + src: url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
  59 + url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.woff?v=4.1.0') format('woff'),
  60 + url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
  61 + url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.svg#fontawesomeregular?v=4.1.0') format('svg');
  62 + font-weight: normal;
  63 + font-style: normal;
  64 + }
  65 +
  66 + /* Fix poor font rendering on chrome based browsers on windows */
  67 + @media all and (-webkit-min-device-pixel-ratio:0) {
  68 + @font-face {
  69 + font-family: 'FontAwesome';
  70 + src: url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.svg#fontawesomeregular') format('svg'),
  71 + url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
  72 + url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.woff?v=4.1.0') format('woff'),
  73 + url('[% Config("Frontend::WebPath") %]skins/Customer/default/css/thirdparty/fontawesome/fontawesome-webfont.ttf?v=4.1.0') format('truetype');
  74 + font-weight: normal;
  75 + font-style: normal;
  76 + }
  77 + }
  78 + </style>
  79 +
  80 +<!--[if IE 8]>
  81 + <script type="text/javascript">
  82 + /* Fix initial font rendering on IE8 for FontAwesome */
  83 + (function() {
  84 + var head = document.getElementsByTagName('head')[0],
  85 + style = document.createElement('style');
  86 + style.type = 'text/css';
  87 + style.styleSheet.cssText = ':before,:after{content:none !important;}';
  88 + head.appendChild(style);
  89 + setTimeout(function(){
  90 + head.removeChild(style);
  91 + }, 0);
  92 + }());
  93 + </script>
  94 + <![endif]-->
  95 +
  96 + <style type="text/css">
  97 + #header {
  98 + height: 90px;
  99 + background-image: url("/otrs-web/skins/Customer/default/images/queues-panel/cabecalhoUFSC.jpg");
  100 + background-position: bottom left;
  101 + padding-left: 30px;
  102 + padding-top: 0px;
  103 + font-family: Verdana, Arial, sans-serif;
  104 + margin-bottom: 20px;
  105 + }
  106 +
  107 + .tabstyles {
  108 + border-collapse: separate;
  109 + display: inline;
  110 + font-family: Verdana, Arial, sans-serif;
  111 + font-size: 11px;
  112 + height: auto;
  113 + margin-bottom: 0px;
  114 + margin-left: 0px;
  115 + margin-right: 0px;
  116 + margin-top: 0px;
  117 + padding-bottom: 0px;
  118 + padding-left: 0px;
  119 + padding-right: 0px;
  120 + padding-top: 0px;
  121 + width: auto;
  122 +vertical-align: bottom;
  123 + }
  124 +
  125 + .atalhoMenuLogo {
  126 + text-align: right;
  127 + vertical-align: bottom;
  128 + color: #0000ee;
  129 + }
  130 +
  131 + .titleText {
  132 + FONT-SIZE: 16px;
  133 + FONT-WEIGHT: bold;
  134 + FONT-FAMILY: Arial, Helvetica, sans-serif;
  135 + text-align: left;
  136 + margin-left: 10px;
  137 +}
  138 +
  139 + body {
  140 + background: white;
  141 + FONT-FAMILY: Arial, Helvetica, sans-serif;
  142 + text-align: left;
  143 + font-size: 12px;
  144 +}
  145 + }
  146 +
  147 +
  148 +
  149 + </style>
  150 +
  151 +
  152 + <title>[% Data.TitleArea | html %] [% Config("ProductName") %]</title>
  153 +
  154 +
  155 +
  156 +
  157 +[% INCLUDE "HTMLHeadBlockEvents.tt" %]
  158 +
  159 +</head>
... ...
Kernel/Output/HTML/Templates/Standard/CustomerHeaderQPUFSC.tt 0 → 100755
... ... @@ -0,0 +1,40 @@
  1 +# --
  2 +# CustomerHeaderQPUFSC.tt - provides global HTML header for UFSC
  3 +# Copyright (C) 2015, SeTIC - UFSC - http://setic.ufsc.br/
  4 +# --
  5 +# This software comes with ABSOLUTELY NO WARRANTY. For details, see
  6 +# the enclosed file COPYING for license information (AGPL). If you
  7 +# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
  8 +# --
  9 +[%- INCLUDE "HTTPHeaders.tt" -%]
  10 +
  11 +<!DOCTYPE html>
  12 +<html>
  13 +[% InsertTemplate("Copyright.tt") %]
  14 +[% InsertTemplate("CustomerHTMLHeadQPUFSC.tt") %]
  15 +
  16 +
  17 +<body class="NoJavaScript">
  18 + <div id="header" class="noPrint">
  19 + <table border="0" width="100%">
  20 + <tbody>
  21 + <tr style="height: 88px; vertical-align: bottom;">
  22 + <td class="atalhoMenuLogo"><span class="tabstyles">
  23 + <a href="http://servicosti.ufsc.br/">Catálogo de serviços</a> | <a href="/otrs/customer.pl?Action=CustomerTicketOverview">Meus chamados</a></span>
  24 + </td>
  25 + </tr>
  26 + </tbody>
  27 + </table>
  28 + </div>
  29 +
  30 +<table id="titulo" width="100%" cellpadding="0" cellspacing="0">
  31 + <tbody><tr>
  32 + <td align="left" valign="top"><span class="titleText">PAI - <span style="font-weight: bolder">P</span>ortal de <span style="font-weight: bolder">A</span>tendimento <span style="font-weight: bolder">I</span>nstitucional</span></td>
  33 + <td align="left" valign="top" width="1"></td>
  34 + </tr>
  35 + </tbody></table>
  36 +<div style="font-size: 0px;">
  37 +<div style="height: 2px; width: 100%; background-image: url('/otrs-web/skins/Customer/default/images/queues-panel/separador.gif'); background-repeat: repeat-x; background-position: 0 50%;"></div>
  38 +</div>
  39 +
  40 +<!-- end header -->
... ...
Kernel/Output/HTML/Templates/Standard/QueuesPanel.tt 0 → 100644
... ... @@ -0,0 +1,39 @@
  1 +# --
  2 +# Kernel/Output/HTML/Standard/QueuesPanel.tt - overview
  3 +#
  4 +# Copyright (C) SeTIC - UFSC - http://setic.ufsc.br/
  5 +# Version 01/12/2015 - Support for OTRS 4.0.3
  6 +#
  7 +# --
  8 +# $Id: writing-otrs-application.xml,v 1.1 2010/08/13 08:59:28 mg Exp $
  9 +# --
  10 +# This software comes with ABSOLUTELY NO WARRANTY. For details, see
  11 +# the enclosed file COPYING for license information (AGPL). If you
  12 +# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
  13 +# --
  14 +<div id="Queues" class="Queues">
  15 + <div class="ChooseQueue">[% Data.MsgChooseQueue %]</div>
  16 +
  17 + <div id="columns"></div>
  18 +
  19 + [% RenderBlockStart("ListQueue") %]
  20 + <div class="QueueCard">
  21 + <div class="QueueTitle"><a class="QueueTitleLink" href="[% Env("Baselink") %]Action=NewTicketWizard;BaseQueueID=[% Data.QueueID %]">[% Data.QueueName %]</a></div>
  22 + <div class="QueueComments">[% Data.QueueComments %]</div>
  23 + </div>
  24 +
  25 +[% RenderBlockEnd("ListQueue") %]
  26 +
  27 +</div>
  28 +
  29 +[% WRAPPER JSOnDocumentComplete %]
  30 +<script type="text/javascript">
  31 + [% Data.QueueJS %]
  32 +
  33 +
  34 + [% Data.CustomJS %]
  35 +
  36 +</script>
  37 +[% END %]
  38 +
  39 +
0 40 \ No newline at end of file
... ...
QueuePanelUFSC.sopm
1 1 <?xml version="1.0" encoding="utf-8" ?>
2 2 <otrs_package version="1.0">
3 3 <Name>QueuesPanelUFSC</Name>
4   - <Version>1.0.0</Version>
5   - <Framework>4.0.4</Framework>
  4 + <Version>1.1.0</Version>
  5 + <Framework>5.0.x</Framework>
6 6 <Vendor>SeTIC</Vendor>
  7 + <ChangeLog version="1.2.0">Support for OTRS 5.0.x</ChangeLog>
7 8 <URL>http://www.setic.ufsc.br</URL>
8 9 <License>GPLv2</License>
9 10 <Description>Customer header/footer for QueuesPanel module for UFSC</Description>
... ... @@ -12,9 +13,9 @@
12 13 <BuildDate>?</BuildDate>
13 14 <BuildHost>?</BuildHost>
14 15 <Filelist>
15   - <File Permission="644" Location="Kernel/Output/HTML/Standard/CustomerFooterQPUFSC.tt"></File>
16   - <File Permission="644" Location="Kernel/Output/HTML/Standard/CustomerHeaderQPUFSC.tt"></File>
17   - <File Permission="644" Location="Kernel/Output/HTML/Standard/CustomerHTMLHeadQPUFSC.tt"></File>
  16 + <File Permission="644" Location="Kernel/Output/HTML/Templates/Standard/CustomerFooterQPUFSC.tt"></File>
  17 + <File Permission="644" Location="Kernel/Output/HTML/Templates/Standard/CustomerHeaderQPUFSC.tt"></File>
  18 + <File Permission="644" Location="Kernel/Output/HTML/Templates/Standard/CustomerHTMLHeadQPUFSC.tt"></File>
18 19 <File Permission="644" Location="var/httpd/htdocs/skins/Customer/default/images/queues-panel/cabecalhoUFSC.jpg"></File>
19 20 <File Permission="644" Location="var/httpd/htdocs/skins/Customer/default/images/queues-panel/separador.gif"></File>
20 21 <File Permission="644" Location="var/httpd/htdocs/skins/Customer/default/images/queues-panel/setic.png"></File>
... ...
QueuesPanel.sopm
1 1 <?xml version="1.0" encoding="utf-8" ?>
2 2 <otrs_package version="1.0">
3 3 <Name>QueuesPanel</Name>
4   - <Version>1.1.0</Version>
5   - <Framework>4.0.4</Framework>
  4 + <Version>1.2.0</Version>
  5 + <Framework>5.0.x</Framework>
6 6 <Vendor>SeTIC</Vendor>
7 7 <ChangeLog version="1.1.0">Support for custom queues, layout fixes, support for custom layouts for header and footer</ChangeLog>
  8 + <ChangeLog version="1.2.0">Support for OTRS 5.0.x</ChangeLog>
8 9 <URL>http://www.setic.ufsc.br</URL>
9 10 <License>GPLv2</License>
10 11 <Description>Queue choosing panel</Description>
... ... @@ -25,7 +26,7 @@
25 26  
26 27 <File Permission="644" Location="Kernel/System/QueuesPanel.pm"></File>
27 28  
28   - <File Permission="644" Location="Kernel/Output/HTML/Standard/QueuesPanel.tt"></File>
  29 + <File Permission="644" Location="Kernel/Output/HTML/Templates/Standard/QueuesPanel.tt"></File>
29 30  
30 31 <File Permission="644" Location="var/httpd/htdocs/js/thirdparty/hColumns/jquery.hcolumns.min.js"></File>
31 32  
... ...