From f4d9fff3c3925e9c4637fbfbc22b824a3539f39c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 13 Jun 2015 23:08:41 -0700 Subject: UI spring cleaning: menu/search bar --- httemplate/elements/header.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index a9e74babf..014ac6e5e 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -75,18 +75,18 @@ Example: % if ( $mobile ) { - + - + <% include('searchbar-combined.html') |n %> % } else { - + @@ -96,27 +96,27 @@ Example: - + <% include('searchbar-prospect.html') |n %> - + <% include('searchbar-cust_main.html') |n %> - + <% include('searchbar-address2.html') |n %> - + <% include('searchbar-cust_bill.html') |n %> - + <% include('searchbar-cust_svc.html') |n %> - + <% include('searchbar-ticket.html') |n %> % } @@ -128,7 +128,7 @@ Example: - + @@ -142,7 +142,7 @@ Example: % if ( $menu_position eq 'left' ) { - + -- cgit v1.2.1 From 6c23a2c53a897f1f18087b49a627ae3d83c6e52b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 14 Jun 2015 00:13:02 -0700 Subject: UI spring cleaning: space title from top menu --- httemplate/elements/header.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 014ac6e5e..fd8a03d99 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -157,6 +157,8 @@ Example: +% } else { #$menu_position eq 'top' +
% } %# page content starts here @@ -166,7 +168,7 @@ Example: % unless ( $nobr ) { -

+
% } <% $menubar !~ /^\s*$/ ? "$menubar

" : '' %> -- cgit v1.2.1 From 925cf9600781e534b4188adb68cc53a9709a6569 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 16 Jun 2015 16:49:27 -0700 Subject: UI spring cleaning: include jquery in all pages, animate customer edit service address hide/unhide --- httemplate/elements/header.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index fd8a03d99..55b4fca83 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -42,6 +42,7 @@ Example: ) |n %> + <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> -- cgit v1.2.1 From 1af14d92fb2615909fc974d8233faac1c4b5d84f Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 25 Jun 2015 12:06:00 -0700 Subject: UI spring cleaning: include jquery in all pages --- httemplate/elements/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 55b4fca83..374bfa63f 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -42,7 +42,7 @@ Example: ) |n %> - + <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> -- cgit v1.2.1 From df4a68099abfa067014f36f92874fccefdea662e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 10 Jul 2015 14:19:24 -0700 Subject: fix title escaping --- httemplate/elements/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 374bfa63f..0174e1f92 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -23,7 +23,7 @@ Example: - <% $title %> + <% $title_noescape || encode_entities($title) %> -- cgit v1.2.1 From 5376c66e2e5c1849763777f9d44ad013405c1d9e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 10 Jul 2015 21:42:43 -0700 Subject: include agent and restore cust-level status in small_custview --- httemplate/elements/header.html | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 0174e1f92..98a8d7c5e 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -4,11 +4,12 @@ Example: <& /elements/header.html', { - 'title' => 'Title', - 'menubar' => \@menubar, - 'etc' => '', #included in tag, for things like onLoad= - 'head' => '', #included before closing tag - 'nobr' => 0, #1 for no

after the title + 'title' => 'Title', + 'menubar' => \@menubar, + 'etc' => '', #included in tag, for things like onLoad= + 'head' => '', #included before closing tag + 'nobr' => 0, #1 for no

after the title + 'no_jquery' => #for use from RT, which loads its own } &> @@ -23,7 +24,7 @@ Example: - <% $title_noescape || encode_entities($title) %> + <% encode_entities($title) || $title_noescape %> @@ -42,7 +43,11 @@ Example: ) |n %> - +% unless ( $no_jquery ) { + + + +% } <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> @@ -176,7 +181,7 @@ Example: <%init> my( $title, $title_noescape, $menubar, $etc, $head ) = ( '', '', '', '', '' ); -my( $nobr, $nocss ) = ( 0, 0 ); +my( $nobr, $nocss, $no_jquery ) = ( 0, 0, 0 ); my $mobile; @@ -184,12 +189,13 @@ if ( ref($_[0]) ) { my $opt = shift; $title = $opt->{title}; $title_noescape = $opt->{title_noescape}; - $menubar = $opt->{menubar}; - $etc = $opt->{etc}; - $head = $opt->{head}; - $nobr = $opt->{nobr}; - $nocss = $opt->{nocss}; - $mobile = $opt->{mobile}; + $menubar = $opt->{menubar}; + $etc = $opt->{etc}; + $head = $opt->{head}; + $nobr = $opt->{nobr}; + $nocss = $opt->{nocss}; + $mobile = $opt->{mobile}; + $no_jquery = $opt->{no_jquery}; } else { ($title, $menubar) = ( shift, shift ); $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. -- cgit v1.2.1