[freeside-commits] branch master updated. 2c1bad9f29492546788aa4ffa0baf8e1dc0fff58

Ivan ivan at 420.am
Fri Apr 13 19:14:13 PDT 2012


The branch, master has been updated
       via  2c1bad9f29492546788aa4ffa0baf8e1dc0fff58 (commit)
      from  18459c4369f63b7fda11a3ff7a0af067bed0c9bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2c1bad9f29492546788aa4ffa0baf8e1dc0fff58
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Apr 13 18:35:24 2012 -0700

    style ticket tab

diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css
index 44a4a3c..c291e1e 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 4d7deea..4f42005 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 fda4db0..9ce55b0 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 adfaead..194e907 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';

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/freeside.css       |   28 ++++++++++++++++++++++++++++
 httemplate/elements/table-grid.html    |   13 +------------
 httemplate/view/cust_main.cgi          |    4 ++--
 httemplate/view/cust_main/tickets.html |    9 +++++----
 4 files changed, 36 insertions(+), 18 deletions(-)




More information about the freeside-commits mailing list