style ticket tab
authorIvan Kohler <ivan@freeside.biz>
Sat, 14 Apr 2012 01:35:24 +0000 (18:35 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sat, 14 Apr 2012 01:35:24 +0000 (18:35 -0700)
httemplate/elements/freeside.css
httemplate/elements/table-grid.html
httemplate/view/cust_main.cgi
httemplate/view/cust_main/tickets.html

index 44a4a3c..c291e1e 100644 (file)
@@ -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 }
+
index 4d7deea..4f42005 100644 (file)
@@ -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>
 
index fda4db0..9ce55b0 100755 (executable)
@@ -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' ) {
 
index adfaead..194e907 100644 (file)
@@ -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';