From 6d777ed1fafabab8c308c9ffa24f1dd48f33a9a5 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 15 May 2006 11:05:04 +0000 Subject: more ACL and re-skinning work, now with RT! --- rt/FREESIDE_MODIFIED | 3 ++ rt/html/Elements/FreesideNewCust | 3 ++ rt/html/Elements/FreesideSearch | 10 ++++ rt/html/Elements/Header | 10 ++-- rt/html/Elements/PageLayout | 25 ++++++--- rt/html/Elements/SimpleSearch | 10 +++- rt/html/Elements/Tabs | 8 ++- rt/html/Elements/TitleBoxStart | 2 +- rt/html/NoAuth/webrt.css | 114 ++++++++++++++++++++++++++++----------- rt/html/Search/Bulk.html | 2 +- 10 files changed, 138 insertions(+), 49 deletions(-) create mode 100644 rt/html/Elements/FreesideNewCust create mode 100644 rt/html/Elements/FreesideSearch (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index a013b832c..82f0ff2e6 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -21,3 +21,6 @@ html/Ticket/Elements/ShowCustomers html/Ticket/ModifyCustomers.html html/NoAuth/images/small-logo.png html/NoAuth/webrt.css + +html/Elements/TitleBoxStart +html/Search/Bulk.html diff --git a/rt/html/Elements/FreesideNewCust b/rt/html/Elements/FreesideNewCust new file mode 100644 index 000000000..851c66425 --- /dev/null +++ b/rt/html/Elements/FreesideNewCust @@ -0,0 +1,3 @@ +
+ diff --git a/rt/html/Elements/FreesideSearch b/rt/html/Elements/FreesideSearch new file mode 100644 index 000000000..f0efb60d4 --- /dev/null +++ b/rt/html/Elements/FreesideSearch @@ -0,0 +1,10 @@ + + + +  +
diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index a2563fee3..bad8b58eb 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -67,7 +67,7 @@ function hideshow(num) { <& /Elements/Callback, _CallbackName => 'Head', %ARGS &> - - +
- +
freeside<% &RT::URI::freeside::FreesideGetConfig('company_name') %> Ticketing<% &RT::URI::freeside::FreesideGetConfig('company_name') || 'ExampleCo' %> % if ($session{'CurrentUser'} && $session{'CurrentUser'}->Id && $LoggedIn) { <&|/l&>Skip Menu | +<&|/l, "".$session{'CurrentUser'}->Name."" &>Logged in as [_1] +
%if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) { <&|/l&>Preferences % } @@ -89,8 +91,6 @@ ONLOAD=" % unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) { | <&|/l&>Logout % } -
-<&|/l, "".$session{'CurrentUser'}->Name."" &>Logged in as [_1] % } else { <&|/l&>Not logged in. % } diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 94bdbe194..5289f78f3 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -43,32 +43,43 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} - -
<%$AppName%> + + + + + + % foreach my $action (sort keys %{$topactions}) { - % } +
<%$AppName%> + <%$topactions->{"$action"}->{'html'} |n %>
+ + + + + %# Vertical menu - +
+ <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &> - -
+ <%$title%>
+ % if ($actions) { % my @actions; @@ -80,7 +91,7 @@ % } % } %#<% join(" | ", @actions) | n %> -<% '['. join("] [", @actions). ']' | n %> +<% '['. join("] [", @actions). '] ' | n %> % if ($subactions) { % my @actions; % foreach my $action (sort keys %{$subactions}) { diff --git a/rt/html/Elements/SimpleSearch b/rt/html/Elements/SimpleSearch index e76f801df..55d65fc89 100644 --- a/rt/html/Elements/SimpleSearch +++ b/rt/html/Elements/SimpleSearch @@ -43,7 +43,13 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -
- + + +  
diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index f5839a9e5..22720072c 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -57,9 +57,13 @@ <%INIT> my $action; my $basetopactions = { - A => { html => $m->scomp('/Elements/CreateTicket') +# A => { html => $m->scomp('/Elements/CreateTicket') +# }, + A => { html => $m->scomp('/Elements/FreesideNewCust') }, - B => { html => $m->scomp('/Elements/SimpleSearch') + B => { html => $m->scomp('/Elements/FreesideSearch') + }, + C => { html => $m->scomp('/Elements/SimpleSearch') } }; my $basetabs = { diff --git a/rt/html/Elements/TitleBoxStart b/rt/html/Elements/TitleBoxStart index 804e5cfaa..d98fe2744 100644 --- a/rt/html/Elements/TitleBoxStart +++ b/rt/html/Elements/TitleBoxStart @@ -78,7 +78,7 @@ $title_class => '' $titleright_href => undef $titleright => undef -$contentbg => "#dddddd" +$contentbg => "#d4d4d4" $color => "#336699" <%init> diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index bc688ac1d..4748694e5 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -43,7 +43,13 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; + +/* * { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 1.2em; +} */ + +SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; %# color: #FFFFFF; color: #000000; @@ -51,7 +57,7 @@ SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; white-space: nowrap} .nav2 { font-size: 10px; white-space: nowrap} -.nav { font-family: Verdana, Arial, Helvetica, sans-serif; +.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; %# font-weight: normal; font-weight: bold; @@ -59,17 +65,17 @@ SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; text-decoration: none; white-space: nowrap} -.currentnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.currentnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; font-weight: bold; color: #FFFF66; text-decoration: none; white-space: nowrap} -.topnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.topnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: normal; -%# color: #FFFFFF; - color: #000000; + color: #FFFFFF; +%# color: #000000; text-decoration: none; white-space: nowrap} @@ -81,37 +87,43 @@ SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif; a.topnav-0 { font-family: Verdana, sans-serif; font-size: 16px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-1 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-2 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-3 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-4 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-5 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; +%# color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} li.topnav-0-minor { @@ -175,7 +187,7 @@ li.topnav-5-major { padding-bottom: .5em; } -.currenttopnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.currenttopnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: bold; %# color: #FFFF66; @@ -191,37 +203,37 @@ li.topnav-5-major { a.currenttopnav-0 { font-family: Verdana, sans-serif; font-size: 16px; font-weight: bold; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-1 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: bold; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-2 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-3 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-4 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} a.currenttopnav-5 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} li.currenttopnav-0-minor { @@ -285,18 +297,18 @@ li.currenttopnav-5-major { padding-bottom: .5em; } -.topactions { font-family: Verdana, Arial, Helvetica, sans-serif; +.topactions { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none; white-space: nowrap} -.subnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.subnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #FFFFFF; text-decoration: none; white-space: nowrap} -.currentsubnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.currentsubnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #FFFF66; @@ -355,6 +367,20 @@ li.currenttopnav-5-major { vertical-align: top; text-align: right; } +.black { + background-color: #000000; + color: #ffffff; + background-position: left top; + vertical-align: top; + text-align: left; + } +.blackright { + background-color: #000000; + color: #ffffff; + background-position: left top; + vertical-align: top; + text-align: right; + } .mediumgray { background-color: #cccccc; background-position: left top; @@ -367,6 +393,30 @@ li.currenttopnav-5-major { vertical-align: top; text-align: right; } +.darkmediumgray { + background-color: #aaaaaa; + background-position: left top; + vertical-align: top; + text-align: left; + } +.darkmediumgrayright { + background-color: #aaaaaa; + background-position: left top; + vertical-align: top; + text-align: right; + } +.bggray { + background-color: #e8e8e8; + background-position: left top; + vertical-align: top; + text-align: left; + } +.bggrayright { + background-color: #e8e8e8; + background-position: left top; + vertical-align: top; + text-align: right; + } .white { background-color: #ffffff; background-position: left top; @@ -396,26 +446,26 @@ div.downloadattachment { } -td { font-family: Verdana, Arial, Helvetica, sans-serif; +td { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; background-position: left top; } .black { background-color: #000000; background-position: left top; } -span.rtname { font-family: Verdana, Arial, Helvetica, sans-serif; +span.rtname { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 18px; font-weight: normal; color: #ffffff} -span.title { font-family: Verdana, Arial, Helvetica, sans-serif; +span.title { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 20px; font-weight: bold; color: #ffffff} -.header { font-family: Verdana, Arial, Helvetica, sans-serif; +.header { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #0066CC} -.subheader { font-family: Verdana, Arial, Helvetica, sans-serif; +.subheader { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #0066CC } @@ -426,7 +476,7 @@ span.title { font-family: Verdana, Arial, Helvetica, sans-serif; .labeltop { font-weight: normal; text-align: right; vertical-align: top } -.productnav { font-family: Verdana, Arial, Helvetica, sans-serif; +.productnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; color: #000000; text-align: center; @@ -450,6 +500,7 @@ TD.mainbody { padding-right: 1em; margin-left: 1em; margin-right: 1em; + background-color: #e8e8e8; } td.boxcontainer + td.boxcontainer { @@ -492,7 +543,7 @@ TD.titlebox { SPAN.message { font-size: 100%; - font-family: Verdana, Arial, Helvetica, sans-serif; + font-family: Arial, Verdana, Helvetica, sans-serif; } @@ -549,8 +600,9 @@ A:link IMG, A:visited IMG { border-style: none } a:focus {text-decoration: underline } A IMG { color: white } /* The only way to hide the border in NS 4.x */ -a:link { text-decoration: none} -a:visited { text-decoration: none} +/* a:link { text-decoration: none} */ +/* a:visited { text-decoration: none} */ + a:hover { text-decoration: underline} /* a:focus { background-color: #ccccee } */ diff --git a/rt/html/Search/Bulk.html b/rt/html/Search/Bulk.html index f9eef26b6..b7c64e3f8 100644 --- a/rt/html/Search/Bulk.html +++ b/rt/html/Search/Bulk.html @@ -68,7 +68,7 @@ $Tickets->RedoSearch(); while (my $Ticket = $Tickets->Next) { $i++; if ($i % 2) { - $bgcolor = "#dddddd"; + $bgcolor = "#d4d4d4"; } else { $bgcolor = "#ffffff"; -- cgit v1.2.1 From 74d840d48a629908e202de13bce668ccd945843b Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 22 May 2006 20:38:21 +0000 Subject: missing > tag on INPUT --- rt/html/Elements/FreesideNewCust | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/html/Elements/FreesideNewCust b/rt/html/Elements/FreesideNewCust index 851c66425..af8f9f1a7 100644 --- a/rt/html/Elements/FreesideNewCust +++ b/rt/html/Elements/FreesideNewCust @@ -1,3 +1,3 @@
- 
-- cgit v1.2.1 From 3a820c27d5290f9d2761636b2b4fe865caeb0804 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 2 Jun 2006 13:20:24 +0000 Subject: add a service search --- rt/FREESIDE_MODIFIED | 5 +++++ rt/html/Elements/FreesideSvcSearch | 10 ++++++++++ rt/html/Elements/PageLayout | 10 +++++----- rt/html/Elements/Tabs | 4 +++- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 rt/html/Elements/FreesideSvcSearch (limited to 'rt') diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 82f0ff2e6..1b0c47c06 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -24,3 +24,8 @@ html/NoAuth/images/small-logo.png html/Elements/TitleBoxStart html/Search/Bulk.html + +html/Elements/FreesideNewCust +html/Elements/FreesideSearch +html/Elements/FreesideSvcSearch + diff --git a/rt/html/Elements/FreesideSvcSearch b/rt/html/Elements/FreesideSvcSearch new file mode 100644 index 000000000..47c430f1a --- /dev/null +++ b/rt/html/Elements/FreesideSvcSearch @@ -0,0 +1,10 @@ +
+ + +  +
diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 5289f78f3..dd0fd7504 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -45,14 +45,14 @@ %# END BPS TAGGED BLOCK }}} - + - +%# -% foreach my $action (sort keys %{$topactions}) { - % } diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index 22720072c..dcb652e12 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -63,7 +63,9 @@ my $basetopactions = { }, B => { html => $m->scomp('/Elements/FreesideSearch') }, - C => { html => $m->scomp('/Elements/SimpleSearch') + C => { html => $m->scomp('/Elements/FreesideSvcSearch') + }, + D => { html => $m->scomp('/Elements/SimpleSearch') } }; my $basetabs = { -- cgit v1.2.1 From c28ebb03fafe6a85753fc3f21e3abcc0477eccfc Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 10:46:39 +0000 Subject: attempt to fix weird black RT navigation links --- rt/html/NoAuth/webrt.css | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index 4748694e5..cf4cfc00a 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -75,7 +75,6 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: normal; color: #FFFFFF; -%# color: #000000; text-decoration: none; white-space: nowrap} @@ -87,42 +86,36 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; a.topnav-0 { font-family: Verdana, sans-serif; font-size: 16px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-1 { font-family: Verdana, sans-serif; font-size: 14px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-2 { font-family: Verdana, sans-serif; font-size: 12px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-3 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-4 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} a.topnav-5 { font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal; -%# color: #000000; color: #FFFFFF; text-decoration: none; white-space: nowrap} @@ -190,8 +183,7 @@ li.topnav-5-major { .currenttopnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px; font-weight: bold; -%# color: #FFFF66; - color: #000000; background-color: #cccccc; + color: #ffffff; background-color: #7e0079; text-decoration: none; white-space: nowrap} -- cgit v1.2.1 From 6dfc9e121e60141830169f4237a5b1e381d6ba5b Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 10:54:02 +0000 Subject: another attempt to fix weird black RT navigation links --- rt/html/NoAuth/webrt.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index cf4cfc00a..712360cd5 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -59,10 +59,8 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; white-space: nowrap} .nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; -%# font-weight: normal; font-weight: bold; -%# color: #FFFFFF; - color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} .currentnav { font-family: Arial, Verdana, Helvetica, sans-serif; -- cgit v1.2.1 From 997c4e4178b74747b14177671069d55532d0ff10 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 10:57:03 +0000 Subject: yet another attempt to fix weird black RT navigation links --- rt/html/NoAuth/webrt.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index 712360cd5..f49d14531 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -51,8 +51,7 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; -%# color: #FFFFFF; - color: #000000; + color: #FFFFFF; text-decoration: none; white-space: nowrap} .nav2 { font-size: 10px; @@ -468,7 +467,7 @@ span.title { font-family: Arial, Verdana, Helvetica, sans-serif; vertical-align: top } .productnav { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 11px; - color: #000000; + color: #FFFFFF; text-align: center; vertical-align: middle; text-decoration: none} @@ -576,7 +575,7 @@ DIV.endmatter { margin-left: -7% } } -A { font-weight: bold; color: #000000; +A { font-weight: bold; } .currenttab { color: #ffffff;} -- cgit v1.2.1 From 08c01dea3d6936dafe890f5c8a6076f636f5116c Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 11:08:55 +0000 Subject: yay this should finally fix the weird black navigation links; hide the Mason stuff from browsers when it doesn't get processed for some reason --- rt/html/NoAuth/webrt.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index f49d14531..f22ce4ced 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -1,3 +1,4 @@ +/* %# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: @@ -43,6 +44,7 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} +*/ /* * { font-family: Arial, Verdana, Helvetica, sans-serif; @@ -75,10 +77,12 @@ SPAN.nav { font-family: Arial, Verdana, Helvetica, sans-serif; text-decoration: none; white-space: nowrap} +/* %# .topnav is the original RT class for the sidebar navigation tabs. %# Font-sizing by level depth was originally hard-coded into Elements/Menu. %# This modification sets a different class name for each level, allowing %# style sheet control over the formats. +*/ a.topnav-0 { font-family: Verdana, sans-serif; font-size: 16px; @@ -184,10 +188,12 @@ li.topnav-5-major { text-decoration: none; white-space: nowrap} +/* %# .currenttopnav is the original RT class for the sidebar navigation tabs. %# Font-sizing by level depth was originally hard-coded into Elements/Menu. %# This modification sets a different class name for each level, allowing %# style sheet control over the formats +*/ a.currenttopnav-0 { font-family: Verdana, sans-serif; font-size: 16px; @@ -315,12 +321,12 @@ li.currenttopnav-5-major { } .blue { background-color: #4682B4; -%# background-color: #eeeeee; +/* %# background-color: #eeeeee; */ background-position: left top; vertical-align: top; text-align: left; } -%# Actually the "topactions" section +/* %# Actually the "topactions" section */ .blueright { background-color: #4682B4; background-position: left top; vertical-align: top; @@ -604,7 +610,7 @@ SPAN.date { font-size: 0.8em } span.title { font-size: 1.6em; vertical-align: middle; -%# color: #ffffff; +/* %# color: #ffffff; */ color: #000000; } span.productname { font-size: 2em; @@ -703,6 +709,7 @@ textarea.messagebox { width: 100%; } +/* %# Provide a callback for adding/modifying the style sheet. %# http://www.w3.org/TR/REC-CSS1 - section 3.2, says: %# "latter specified rule wins" @@ -714,3 +721,4 @@ inherit => undef $r->content_type('text/css'); #$r->headers_out->{'Expires'} = '+30m'; +*/ -- cgit v1.2.1 From 1f2020811b5ac14613e854fb6861cbd37d580015 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Jun 2006 11:16:36 +0000 Subject: whew, this can go back --- rt/html/NoAuth/webrt.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index f22ce4ced..04c959a05 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -581,7 +581,7 @@ DIV.endmatter { margin-left: -7% } } -A { font-weight: bold; +A { font-weight: bold; color: #000000 } .currenttab { color: #ffffff;} -- cgit v1.2.1 From a8665e44dbd99bd864e48231928405a31cedce5f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 9 Jul 2006 14:35:30 +0000 Subject: fix the image path in the kludged looknfeel integration --- rt/html/Elements/Header | 2 +- rt/html/Elements/PageLayout | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rt') diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index bad8b58eb..c1bc92afd 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -67,7 +67,7 @@ function hideshow(num) { <& /Elements/Callback, _CallbackName => 'Head', %ARGS &> - - + %#
<%$AppName%> - <%$AppName%> +%# +% my $notfirst = 0; foreach my $action (sort keys %{$topactions}) { + > <%$topactions->{"$action"}->{'html'} |n %>
<%$AppName%> @@ -62,15 +62,15 @@ - - + + %# Vertical menu - +
<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &> -- cgit v1.2.1 From b19897e1db4c110d7d7e8b52800cda5ab58ce9e0 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 14 Aug 2006 12:13:40 +0000 Subject: sprinkle some magic ajax fairy dust on referring customer SELEKTAH. rewind! make smart search smarter, re-layout the top search bars and add an invoice one --- rt/html/Elements/FreesideInvoiceSearch | 20 +++++++++++++++++ rt/html/Elements/FreesideNewCust | 2 +- rt/html/Elements/FreesideSearch | 7 +++--- rt/html/Elements/FreesideSvcSearch | 7 +++--- rt/html/Elements/PageLayout | 2 +- rt/html/Elements/SimpleSearch | 7 +++--- rt/html/Elements/Tabs | 6 ++++-- rt/html/NoAuth/webrt.css | 39 ++++++++++++++++++++++++++++++++-- 8 files changed, 75 insertions(+), 15 deletions(-) create mode 100644 rt/html/Elements/FreesideInvoiceSearch (limited to 'rt') diff --git a/rt/html/Elements/FreesideInvoiceSearch b/rt/html/Elements/FreesideInvoiceSearch new file mode 100644 index 000000000..3842b2ff9 --- /dev/null +++ b/rt/html/Elements/FreesideInvoiceSearch @@ -0,0 +1,20 @@ +% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { + +
+ + + +% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { + Advanced +% } +
+ + + + +% } diff --git a/rt/html/Elements/FreesideNewCust b/rt/html/Elements/FreesideNewCust index af8f9f1a7..c752437da 100644 --- a/rt/html/Elements/FreesideNewCust +++ b/rt/html/Elements/FreesideNewCust @@ -1,3 +1,3 @@
-  +  diff --git a/rt/html/Elements/FreesideSearch b/rt/html/Elements/FreesideSearch index f0efb60d4..99b8da072 100644 --- a/rt/html/Elements/FreesideSearch +++ b/rt/html/Elements/FreesideSearch @@ -1,10 +1,11 @@
- -  +
+Advanced + diff --git a/rt/html/Elements/FreesideSvcSearch b/rt/html/Elements/FreesideSvcSearch index 47c430f1a..e9ad56426 100644 --- a/rt/html/Elements/FreesideSvcSearch +++ b/rt/html/Elements/FreesideSvcSearch @@ -1,10 +1,11 @@
- -  +
+ Advanced + diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 52353fa46..f13ee0dda 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -52,7 +52,7 @@ %# % my $notfirst = 0; foreach my $action (sort keys %{$topactions}) { -
% } diff --git a/rt/html/Elements/SimpleSearch b/rt/html/Elements/SimpleSearch index 55d65fc89..e9fc5c6ed 100644 --- a/rt/html/Elements/SimpleSearch +++ b/rt/html/Elements/SimpleSearch @@ -46,10 +46,11 @@ - -  +
+Advanced + diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index dcb652e12..721f920d5 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -63,9 +63,11 @@ my $basetopactions = { }, B => { html => $m->scomp('/Elements/FreesideSearch') }, - C => { html => $m->scomp('/Elements/FreesideSvcSearch') + C => { html => $m->scomp('/Elements/FreesideInvoiceSearch') }, - D => { html => $m->scomp('/Elements/SimpleSearch') + D => { html => $m->scomp('/Elements/FreesideSvcSearch') + }, + E => { html => $m->scomp('/Elements/SimpleSearch') } }; my $basetabs = { diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css index 04c959a05..5c241f93f 100644 --- a/rt/html/NoAuth/webrt.css +++ b/rt/html/NoAuth/webrt.css @@ -373,9 +373,44 @@ li.currenttopnav-5-major { background-color: #000000; color: #ffffff; background-position: left top; - vertical-align: top; + vertical-align: center; text-align: right; + font-size:16px; + padding-right:4px } + +input.fsblackbutton { + background-color:#333333; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight:bold; + padding-left:12px; + padding-right:12px; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff333333',EndColorStr='#ff666666') +} + +input.fsblackbuttonselected { + background-color:#7e0079; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight:bold; + padding-left:12px; + padding-right:12px; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff330033',EndColorStr='#ff7e0079') +} + .mediumgray { background-color: #cccccc; background-position: left top; @@ -442,7 +477,7 @@ div.downloadattachment { td { font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 11px; + font-size: 12px; background-position: left top; } .black { background-color: #000000; -- cgit v1.2.1 From 620cfcdb419e8bcdcbaecb2b011e5abd0ecc34e0 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 21 Aug 2006 12:38:15 +0000 Subject: better RT hint for smarter smart search --- rt/html/Ticket/Elements/EditCustomers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/html/Ticket/Elements/EditCustomers b/rt/html/Ticket/Elements/EditCustomers index 47d1aa222..c5a6f708c 100644 --- a/rt/html/Ticket/Elements/EditCustomers +++ b/rt/html/Ticket/Elements/EditCustomers @@ -43,7 +43,7 @@ <&|/l&>Find customer
-
cust #, last name, or company +
cust #, name, company or phone
%#
%#<&|/l&>Find service
-- cgit v1.2.1
> + <%$topactions->{"$action"}->{'html'} |n %>