--- /dev/null
+* {
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+}
+
+A:link IMG, A:visited { border-style: none }
+A:focus {text-decoration: underline }
+
+a:link, a:visited {
+ /* text-decoration: none; */
+ color: #000000;
+}
+/* a:hover { text-decoration: underline } */
+
+/* a:focus { background-color: #ccccee } */
+
<script type="text/javascript" src="<%=$fsurl%>elements/cssexpr.js"></script>
<script type="text/javascript" src="<%=$fsurl%>elements/xmenu.js"></script>
<link href="<%=$fsurl%>elements/xmenu.css" type="text/css" rel="stylesheet">
+ <link href="<%=$fsurl%>elements/freeside.css" type="text/css" rel="stylesheet">
<%
tie my %report_menu, 'Tie::IxHash',
</SCRIPT>
<SCRIPT TYPE="text/javascript">
- function clearhint_search_cust () {
- alert(this);
- if ( this.value='(cust #, name or company)' )
- this.value = '';
+ function clearhint_search_cust (what) {
+ if ( what.value = '(cust #, name or company)' )
+ what.value = '';
+ }
+ </SCRIPT>
+
+ <SCRIPT TYPE="text/javascript">
+ function clearhint_search_ticket (what) {
+ if ( what.value = '(ticket # or subject string)' )
+ what.value = '';
}
</SCRIPT>
<IMG BORDER=0 ALT="freeside" SRC="<%=$fsurl%>images/small-logo.png">
</td>
<td align=left rowspan=2 BGCOLOR="#ffffff"> <!-- valign="top" -->
- <font size=6><%= $conf->config('company_name') %> Billing</font>
+ <font size=6><%= $conf->config('company_name') || 'ExampleCo' %></font>
</td>
<td align=right valign=top BGCOLOR="#ffffff">Logged in as <b><%= getotaker %> </b><br><FONT SIZE="-2"><a href="<%=$fsurl%>pref/XXXwritethis">Preferences</a> <BR><BR></FONT>
</td>
</TD>
<TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
<FORM ACTION="<%=$fsurl%>search/cust_main.cgi" METHOD="GET" STYLE="margin:0">
- <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name or company)" SIZE="23" onFocus="clearhint_search_cust" onClick="clearhint_search_cust">
+ <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name or company)" SIZE="23" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="text-align:right">
<INPUT TYPE="submit" VALUE="Search customers">
</FORM>
</TD>
<TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
<FORM ACTION="<%=$fsurl%>rt/index.html" METHOD="GET" STYLE="margin:0">
- <INPUT NAME="q" TYPE="text" VALUE="" onFocus="clearhint_search_ticket" onClick="clearhint_search_ticket">
+ <INPUT NAME="q" TYPE="text" VALUE="(ticket # or subject string)" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" STYLE="text-align:right">
<INPUT TYPE="submit" VALUE="Search tickets">
</FORM>
</TD>
border: 1px solid white;
}
-.webfx-menu a:visited,
-.webfx-menu a:visited:hover {
+.webfx-menu a:visited {
color: black;
+ border: 1px solid white;
+}
+
+.webfx-menu a:hover {
+ color: black;
+ border: 1px solid #7e0079;
}
.webfx-menu a:hover {
/* border: 1px solid #7E0079; */
/* border: 1px solid #000000; */
/* border: none */
+ color: white;
padding: 2px;
font-family: Verdana, Helvetica, Sans-Serif;
- font-size: 11px;
+ /* font-size: 11px; */
/* IE5.0 has the wierdest box model for inline elements */
padding: expression(constExpression(ie50 ? "0px" : "2px"));
height: expression(constExpression(ie50 ? "17px" : "auto"));
}
+.webfx-menu-bar a:link {
+ color: white;
+}
+
.webfx-menu-bar a:hover {
/* color: black; */
color: white;
push @cust_main, @{&companysearch};
}
+ if ( $cgi->param('search_cust') ) {
+ $sortby = \*company_sort;
+ $orderby = "ORDER BY LOWER(company || ' ' || last || ' ' || first )";
+ warn "smart searching for: ". $cgi->param('search_cust');
+ push @cust_main, smart_search( 'search' => $cgi->param('search_cust') );
+ }
+
@cust_main = grep { $_->ncancelled_pkgs || ! $_->all_pkgs } @cust_main
if ! $cgi->param('cancelled')
&& (
$conf->config('ticket_system-custom_priority_field-values');
}
- print "<BR><BR>". $pager. &table(). <<END;
+ print "<BR><BR>". $pager. include('/elements/table-grid.html'). <<END;
<TR>
<TH></TH>
<TH>(bill) name</TH>
html/Ticket/ModifyCustomers.html
html/NoAuth/images/small-logo.png
html/NoAuth/webrt.css
+
+html/Elements/TitleBoxStart
+html/Search/Bulk.html
--- /dev/null
+<form action="<% $RT::URI::freeside::URL %>/edit/cust_main.cgi" STYLE="margin:0">
+<INPUT TYPE="submit" VALUE="<&|/l&>New customer</&>"
+</FORM>
--- /dev/null
+<form action="<% $RT::URI::freeside::URL %>/search/cust_main.cgi" STYLE="margin:0">
+ <SCRIPT TYPE="text/javascript">
+ function clearhint_search_cust (what) {
+ if ( what.value = '(cust #, name or company)' )
+ what.value = '';
+ }
+ </SCRIPT>
+<input name="search_cust" accesskey="0" VALUE="(cust #, name or company)" SIZE="23" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="text-align:right">
+<input type="submit" value="<&|/l&>Search customers</&>">
+</form>
</script>
<& /Elements/Callback, _CallbackName => 'Head', %ARGS &>
</HEAD>
-<BODY BGCOLOR="<%$BgColor%>"
+<BODY BACKGROUND="<%$fsurl%>images/background-cheat.png" STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"
% if ($Focus) {
ONLOAD="
var tmp = (document.getElementsByName('<% $Focus %>'));
"
% }
>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
+<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" STYLE="padding-left:0; padding-right:4">
<tr>
<td colspan=2 rowspan=2><img border=0 alt="freeside" src="<%$RT::WebImagesURL%>/small-logo.png" width="92" height="62"></td>
- <td align="left" rowspan=2><font size=6><% &RT::URI::freeside::FreesideGetConfig('company_name') %> Ticketing</font></td>
+ <td align="left" rowspan=2><font size=6><% &RT::URI::freeside::FreesideGetConfig('company_name') || 'ExampleCo' %></font></td>
<td align="right" valign="top">
% if ($session{'CurrentUser'} && $session{'CurrentUser'}->Id && $LoggedIn) {
<SPAN STYLE="display: none"><A HREF="#skipnav"><&|/l&>Skip Menu</&></A> |</SPAN>
+<&|/l, "<b>".$session{'CurrentUser'}->Name."</b>" &>Logged in as [_1]</&>
+<BR>
%if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) {
<A HREF="<%$RT::WebPath%><% $Prefs %>" ><&|/l&>Preferences</&></A>
% }
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
| <A HREF="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL ? "?URL=".$URL : ''%>"><&|/l&>Logout</&></a>
% }
-<BR>
-<&|/l, "<b>".$session{'CurrentUser'}->Name."</b>" &>Logged in as [_1]</&>
% } else {
<&|/l&>Not logged in.</&>
% }
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<table class="lightgray" border=0 cellspacing=0 cellpadding=0 width="100%">
- <th class="lightgray" align="left" width=42%><span class="rtname"><%$AppName%></span>
+<table class="black" border=0 cellspacing=0 cellpadding=0 width="100%">
+<tr>
+ <TD colspan=4 WIDTH="100%" STYLE="padding:0"><IMG BORDER=0 ALT="" SRC="<% $RT::URI::freeside::URL %>images/black-gradient.png" HEIGHT="13" WIDTH="100%"></TD>
+</tr>
+<tr>
+ <th class="black" align="left" width=15%><span class="rtname"><%$AppName%></span>
</th>
<span class="topactions">
% foreach my $action (sort keys %{$topactions}) {
- <td class="lightgrayright">
+ <td class="blackright">
<%$topactions->{"$action"}->{'html'} |n %>
</td>
% }
</span>
+</tr>
</table>
<table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%">
+<TR>
+ <TD BGCOLOR="#000000" STYLE="padding:0" WIDTH="154"></TD>
+ <TD STYLE="padding:0" WIDTH="13"><IMG BORDER=0 ALT="" SRC="<% $RT::URI::freeside::URL %>images/black-gray-corner.png"></TD>
+ <TD STYLE="padding:0"><IMG BORDER=0 ALT="" SRC="<% $RT::URI::freeside::URL %>images/black-gray-top.png" HEIGHT="13" WIDTH="100%"></TD>
+</TR>
%# Vertical menu
<TR height="100%">
-<TD valign="top" width="140" class="lightgray">
+<TD valign="top" width="140" class="black">
<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
</TD>
+<TD STYLE="padding:0" HEIGHT="100%" WIDTH=13 VALIGN="top"><IMG WIDTH="13" HEIGHT="100%" BORDER=0 ALT="" SRC="<% $RT::URI::freeside::URL %>images/black-gray-side.png"></TD>
<td valign="top">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td class="mediumgray" valign="top">
+ <td class="<% $actions ? 'darkmediumgray' : 'bggray' %>" valign="top">
<span class="title"><%$title%></span>
</td>
</tr>
<tr>
-<td class="mediumgrayright" valign="top">
+<td class="<% $actions ? 'darkmediumgrayright' : 'bggrayright' %>" valign="top">
<span class="nav">
% if ($actions) {
% my @actions;
% }
% }
%#<% join(" | ", @actions) | n %>
-<% '['. join("] [", @actions). ']' | n %>
+<% '['. join("] [", @actions). '] ' | n %>
% if ($subactions) {
% my @actions;
% foreach my $action (sort keys %{$subactions}) {
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<form action="<% $RT::WebPath %>/index.html">
-<input size="12" name="q" autocomplete="off" accesskey="0">
+<form action="<% $RT::WebPath %>/index.html" STYLE="margin:0">
+<SCRIPT TYPE="text/javascript">
+ function clearhint_search_ticket (what) {
+ if ( what.value = '(ticket # or subject string)' )
+ what.value = '';
+ }
+</SCRIPT>
+<input name="q" accesskey="0" VALUE="(ticket # or subject string)" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" STYLE="text-align:right">
<input type="submit" value="<&|/l&>Search tickets</&>">
</form>
<%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 = {
$titleright_href => undef
$titleright => undef
-$contentbg => "#dddddd"
+$contentbg => "#d4d4d4"
$color => "#336699"
</%ARGS>
<%init>
%# 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;
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;
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}
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 {
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;
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 {
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;
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;
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;
}
-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 }
.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;
padding-right: 1em;
margin-left: 1em;
margin-right: 1em;
+ background-color: #e8e8e8;
}
td.boxcontainer + td.boxcontainer {
SPAN.message {
font-size: 100%;
- font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-family: Arial, Verdana, Helvetica, sans-serif;
}
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 } */
while (my $Ticket = $Tickets->Next) {
$i++;
if ($i % 2) {
- $bgcolor = "#dddddd";
+ $bgcolor = "#d4d4d4";
}
else {
$bgcolor = "#ffffff";