diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-05-17 02:14:43 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-05-17 02:14:43 -0700 |
commit | d98e4631640eaaf28b4c022efedd49b640a283c6 (patch) | |
tree | cafd4c57b50896e7a6701ab99fafb35451544a38 /httemplate/view/cust_main | |
parent | ff828e261210e8d4f1ddf51600d99e2cb1a914cd (diff) |
customer view UI
Diffstat (limited to 'httemplate/view/cust_main')
-rw-r--r-- | httemplate/view/cust_main/contacts.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/menu.html | 55 | ||||
-rwxr-xr-x | httemplate/view/cust_main/notes.html | 9 |
3 files changed, 34 insertions, 32 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 83a638026..22a7b9584 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -125,7 +125,7 @@ % foreach my $phone (qw(daytime night mobile)) { % next if !$cust_main->get($phone); <TR> - <TD ALIGN="right"><% $phone_label{$phone} %></TD> + <TH ALIGN="right"><% $phone_label{$phone} %></TD> <TD COLSPAN=3> <& /elements/phonenumber.html, $cust_main->get($phone), diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 81ad959f6..baea3ad24 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -1,28 +1,43 @@ <style type="text/css"> #menu_ul { padding: 0; - margin: 0 auto; + margin: 0px 0px 18px 0px; } #menu_ul li { float: left; list-style: none; position: relative; - border-right: 4px solid #e8e8e8; } #menu_ul a { + background: #dddddd; display: block; padding: 6px 8px; + margin: 8px 8px 8px 0px; +/* margin: 0px 0px 8px 0px; */ color: #525151; font-size: 13px; font-weight: bold; white-space: nowrap; - background: #cccccc; - -moz-border-radius-topleft:8px; - -moz-border-radius-topright:8px; - -webkit-border-radius-topleft:8px; - -webkit-border-radius-topright:8px; - border-top-left-radius:8px; - border-top-right-radius:8px; + border-top-left-radius:2px; + border-top-right-radius:2px; +} +#menu_ul a.current_show { + background: #ffffff; + border-top: 1px solid #7e007f; + border-left: 1px solid #7e007f; + border-right: 1px solid #7e007f; + border-bottom: 1px solid #ffffff; + + display: block; + padding: 6px 8px; + margin: 8px 8px 8px 0px; +/* margin: 0px 0px 8px 0px; */ + color: #525151; + font-size: 13px; + font-weight: bold; + white-space: nowrap; + border-top-left-radius:2px; + border-top-right-radius:2px; } #menu_ul ul { @@ -32,8 +47,8 @@ position: absolute; top: 100%; left: -1px; - background: #ae2099; - border: 1px solid #ffffff; + background: #ffffff; + border: 1px solid #7e007f; } #menu_ul ul li { @@ -44,25 +59,21 @@ } #menu_ul ul a { - padding: 4px 10px; - color: #ffffff; - font-size: 12px; + padding: 0px 10px; + color: #333333; + font-size: 13px; font-weight: normal; background: transparent; } #menu_ul ul a:hover { - background: #7e0079; - -moz-border-radius-topleft:0px; - -moz-border-radius-topright:0px; - -webkit-border-radius-topleft:0px; - -webkit-border-radius-topright:0px; + color: #7e0079; + background: #fff8fb; /* ?? too pink? */ border-top-left-radius:0px; border-top-right-radius:0px; } #menu_ul a.current_menu, #menu_ul a.hover { - color: #ffffff; - background: #7e0079; + color: #7e0079; } </style> <script src="<% $p %>elements/jquery.js"></script> @@ -525,7 +536,7 @@ foreach my $submenu (@menu) { $a = qq[ <A HREF="$target"]; if ( $opt{'show'} eq $entry->{show} ) { - $a .= ' class="fstabselected"'; + $a .= ' class="current_show"'; } $a .= qq[>$label</A> ]; diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index 7a19f8b38..62502002e 100755 --- a/httemplate/view/cust_main/notes.html +++ b/httemplate/view/cust_main/notes.html @@ -16,15 +16,6 @@ % my $notecount = scalar($cust_main->notes(0)); % if ( ! $conf->exists('cust_main-disable_notes') || $notecount) { -% unless ( $view eq 'notes' && $cust_main->comments !~ /[^\s\n\r]/ ) { -<P> - <A NAME="cust_main_note"><FONT SIZE="+2"><% mt('Notes') |h %></FONT></A> -</P> - -% } - -<BR> - % # actually display notes <& notes/notes.html, 'cust_main' => $cust_main &> <BR> |