diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-04-13 18:35:24 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-04-13 18:35:24 -0700 |
commit | 2c1bad9f29492546788aa4ffa0baf8e1dc0fff58 (patch) | |
tree | d305b371c5a433dedf4e898bc11dd3edddf11daf | |
parent | 18459c4369f63b7fda11a3ff7a0af067bed0c9bf (diff) |
style ticket tab
-rw-r--r-- | httemplate/elements/freeside.css | 28 | ||||
-rw-r--r-- | httemplate/elements/table-grid.html | 13 | ||||
-rwxr-xr-x | httemplate/view/cust_main.cgi | 4 | ||||
-rw-r--r-- | httemplate/view/cust_main/tickets.html | 9 |
4 files changed, 36 insertions, 18 deletions
diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css index 44a4a3ca2..c291e1e33 100644 --- a/httemplate/elements/freeside.css +++ b/httemplate/elements/freeside.css @@ -250,3 +250,31 @@ div.fstabcontainer { background-color:#f8f8f8; } +table.grid { + border: 1px solid #cccccc; + -moz-box-shadow: 1px 1px 2px #666666; + -webkit-box-shadow: 1px 1px 2px #666666; + box-shadow: 1px 1px 2px #666666; + filter: progid:DXImageTransform.Microsoft.Shadow(color='#666666', Direction=135, Strength=2); +} + +th.grid { + padding-left: 3px; + padding-right: 3px; + padding-bottom: 2px; + border: none; + empty-cells: show; +} + +td.grid { + padding-left: 3px; + padding-right: 3px; + padding-bottom: 2px; + border: none; + empty-cells: show; +} + +table.inv { border: none } +th.inv { border: none } +td.inv { border: none } + diff --git a/httemplate/elements/table-grid.html b/httemplate/elements/table-grid.html index 4d7deeaa4..4f4200570 100644 --- a/httemplate/elements/table-grid.html +++ b/httemplate/elements/table-grid.html @@ -1,15 +1,4 @@ -<STYLE TYPE="text/css"> - -.grid TH { padding-left: 3px; padding-right: 3px; padding-bottom: 2px; border: none; empty-cells: show } -.grid TD { padding-left: 3px; padding-right: 3px; padding-bottom: 2px; border: none; empty-cells: show } - -.inv table { border: none } -.inv TH { border: none } -.inv TD { border: none } - -</STYLE> - -<TABLE CLASS="grid" CELLSPACING=<% $opt{cellspacing} %> CELLPADDING=<% $opt{cellpadding} %> <% $opt{bgcolor} %> STYLE="border: 1px solid #cccccc;"> +<TABLE CLASS="grid" CELLSPACING=<% $opt{cellspacing} %> CELLPADDING=<% $opt{cellpadding} %> <% $opt{bgcolor} %>> <%init> diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index fda4db0d9..9ce55b0b9 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -232,9 +232,9 @@ function areyousure(href, message) { % } % if ( $view eq 'jumbo' ) { - <BR><BR> - <A NAME="tickets"><FONT SIZE="+2"><% mt('Tickets') |h %></FONT></A><BR> + <BR> % } +<BR> % if ( $view eq 'tickets' || $view eq 'jumbo' ) { diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html index adfaead6e..194e90742 100644 --- a/httemplate/view/cust_main/tickets.html +++ b/httemplate/view/cust_main/tickets.html @@ -9,6 +9,7 @@ function updateTicketLink() { keys %new_param),'Queue=') %>" + selector.options[selector.selectedIndex].value; } </SCRIPT> +<A NAME="tickets"><FONT CLASS="fsinnerbox-title">Tickets</FONT></A> <A id="CreateTicketLink" HREF="<% $new_link %>"><% mt('Create new ticket') |h %></A> <% mt('in queue') |h %> %# fetch list of queues in which the user can create tickets @@ -28,12 +29,12 @@ function updateTicketLink() { <SCRIPT DEFER TYPE="text/javascript">updateTicketLink();</SCRIPT> % } </FORM> + | +View +<A HREF="<% $open_link %>"><% mt($openlabel) |h %></A> | +<A HREF="<% $res_link %>"><% mt('resolved') |h %></A> <BR> -(<A HREF="<% $open_link %>"><% mt("View $openlabel tickets for this customer") |h %></A>) -(<A HREF="<% $res_link %>"><% mt('View resolved tickets for this customer') |h %></A>) -<BR><BR> - <& /elements/table-grid.html &> % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; |