summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-05-18 21:17:44 -0700
committerIvan Kohler <ivan@freeside.biz>2015-05-18 21:17:44 -0700
commit3e9a428cbc8abd4af6fea8eb828126519b43198b (patch)
treedb3e5ea4bcf2e111f637dcb90d7ea76e63b50de3 /httemplate/elements
parent060d8d15ba02f61fa0ddd68a9e55a64ce4dfa089 (diff)
customer view UI
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/change_history_common.html2
-rw-r--r--httemplate/elements/freeside.css15
-rw-r--r--httemplate/elements/quotations.html2
-rw-r--r--httemplate/elements/table-tickets.html6
4 files changed, 19 insertions, 6 deletions
diff --git a/httemplate/elements/change_history_common.html b/httemplate/elements/change_history_common.html
index 7d4bd1054..e228e6555 100644
--- a/httemplate/elements/change_history_common.html
+++ b/httemplate/elements/change_history_common.html
@@ -3,6 +3,7 @@
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+<THEAD>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc">User</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">Date</TH>
@@ -14,6 +15,7 @@
<TH CLASS="grid" BGCOLOR="#cccccc">Action</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">Description</TH>
</TR>
+</THEAD>
% foreach my $item ( @history ) {
% my $history_other = '';
diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css
index 1e2574f6e..4fd06a0bf 100644
--- a/httemplate/elements/freeside.css
+++ b/httemplate/elements/freeside.css
@@ -240,23 +240,26 @@ div.fstabcontainer {
}
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);
+ border: 1px solid #999999;
+ border-radius: 2px;
}
th, td {
vertical-align: top;
}
-th.grid {
+thead th.grid {
padding-left: 3px;
padding-right: 3px;
padding-bottom: 2px;
border: none;
empty-cells: show;
+ font-weight:normal;
+ font-size:90%;
+ valign: bottom;
+ color: #666666;
+ background: #ffffff;
+ border-bottom: 1px solid #666666;
}
td.grid {
diff --git a/httemplate/elements/quotations.html b/httemplate/elements/quotations.html
index 1d80a48ea..2af101652 100644
--- a/httemplate/elements/quotations.html
+++ b/httemplate/elements/quotations.html
@@ -8,6 +8,7 @@
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+ <THEAD>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc">#</TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Date') |h %></TH>
@@ -15,6 +16,7 @@
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Recurring') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"></TH>
</TR>
+ </THEAD>
% foreach my $quotation (@quotations) {
% if ( $bgcolor eq $bgcolor1 ) {
% $bgcolor = $bgcolor2;
diff --git a/httemplate/elements/table-tickets.html b/httemplate/elements/table-tickets.html
index f89f98422..d722c9d2b 100644
--- a/httemplate/elements/table-tickets.html
+++ b/httemplate/elements/table-tickets.html
@@ -5,11 +5,14 @@ View
<A HREF="<% $res_link %>"><% mt('resolved') |h %></A>
<BR>
+% if ( @tickets ) {
+
<& /elements/table-grid.html &>
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+<THEAD>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('#') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Subject') |h %></TH>
@@ -26,6 +29,7 @@ View
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Service') |h %></TH>
% }
</TR>
+</THEAD>
% foreach my $ticket ( @tickets ) {
% my $href = FS::TicketSystem->href_ticket($ticket->{id});
@@ -91,6 +95,8 @@ View
% }
+%}
+
</TABLE>
<%init>