[freeside-commits] freeside/rt/html/Elements FreesideInvoiceSearch,
NONE, 1.1 FreesideNewCust, 1.2, 1.3 FreesideSearch, 1.1,
1.2 FreesideSvcSearch, 1.1, 1.2 SimpleSearch, 1.5,
1.6 PageLayout, 1.9, 1.10 Tabs, 1.8, 1.9
Ivan,,,
ivan at wavetail.420.am
Mon Aug 14 05:13:42 PDT 2006
Update of /home/cvs/cvsroot/freeside/rt/html/Elements
In directory wavetail:/tmp/cvs-serv5465/rt/html/Elements
Modified Files:
FreesideNewCust FreesideSearch FreesideSvcSearch SimpleSearch
PageLayout Tabs
Added Files:
FreesideInvoiceSearch
Log Message:
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
Index: PageLayout
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/PageLayout,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- PageLayout 9 Jul 2006 14:35:30 -0000 1.9
+++ PageLayout 14 Aug 2006 12:13:40 -0000 1.10
@@ -52,7 +52,7 @@
%# </th>
<span class="topactions">
% my $notfirst = 0; foreach my $action (sort keys %{$topactions}) {
- <td class="blackright" ALIGN="right" <% $notfirst++ ? '' : 'WIDTH="15%"' %>>
+ <td class="blackright" ALIGN="right" VALIGN="center">
<%$topactions->{"$action"}->{'html'} |n %>
</td>
% }
Index: Tabs
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/Tabs,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Tabs 2 Jun 2006 13:20:24 -0000 1.8
+++ Tabs 14 Aug 2006 12:13:40 -0000 1.9
@@ -63,9 +63,11 @@
},
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 = {
Index: SimpleSearch
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/SimpleSearch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- SimpleSearch 15 May 2006 11:05:04 -0000 1.5
+++ SimpleSearch 14 Aug 2006 12:13:40 -0000 1.6
@@ -46,10 +46,11 @@
<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)' )
+ 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</&>">
+<input name="q" accesskey="0" VALUE="(ticket # or subject string)" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" STYLE="text-align:right; font-family: Arial, Verdana, Helvetica, sans-serif;"><BR>
+<A HREF="<% $RT::WebPath %>/Search/Build.html" STYLE="color: #ffffff; font-size: 70%; font-weight:normal">Advanced</A>
+<input type="submit" value="<&|/l&>Search tickets</&>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%;padding-left:2px;padding-right:2px">
</form>
Index: FreesideSvcSearch
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/FreesideSvcSearch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- FreesideSvcSearch 2 Jun 2006 13:20:24 -0000 1.1
+++ FreesideSvcSearch 14 Aug 2006 12:13:40 -0000 1.2
@@ -1,10 +1,11 @@
<form action="<% $RT::URI::freeside::URL %>/search/svc_Smart.html" STYLE="margin:0">
<SCRIPT TYPE="text/javascript">
function clearhint_search_svc (what) {
- if ( what.value = '(user, user at domain or domain)' )
+ if ( what.value == '(user, user at domain or domain)' )
what.value = '';
}
</SCRIPT>
-<input name="search_svc" accesskey="0" VALUE="(user, user at domain or domain)" SIZE="27" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" STYLE="text-align:right">
-<input type="submit" value="<&|/l&>Search services</&>">
+<input name="search_svc" accesskey="0" VALUE="(user, user at domain or domain)" SIZE="26" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" STYLE="text-align:right; font-family: Arial, Verdana, Helvetica, sans-serif;"><BR>
+ <A HREF="<% $RT::URI::freeside::URL %>search/svc_Smarter.html" STYLE="color: #000000; font-size: 70%; font-weight:normal">Advanced</A>
+<input type="submit" value="<&|/l&>Search services</&>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%">
</form>
Index: FreesideSearch
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/FreesideSearch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- FreesideSearch 15 May 2006 11:05:04 -0000 1.1
+++ FreesideSearch 14 Aug 2006 12:13:40 -0000 1.2
@@ -1,10 +1,11 @@
<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)' )
+ if ( what.value == '(cust #, name, company or phone)' )
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</&>">
+<input name="search_cust" accesskey="0" VALUE="(cust #, name, company or phone)" SIZE="28" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="text-align:right; font-family: Arial, Verdana, Helvetica, sans-serif;"><BR>
+<A HREF="<% $RT::URI::freeside::URL %>/search/cust_main.html" STYLE="color: #000000; font-size: 70%; font-weight:normal">Advanced</A>
+<input type="submit" value="<&|/l&>Search customers</&>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%">
</form>
--- NEW FILE: FreesideInvoiceSearch ---
% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) {
<form action="<% $RT::URI::freeside::URL %>/search/cust_bill.html" STYLE="margin:0">
<SCRIPT TYPE="text/javascript">
function clearhint_search_invoice (what) {
if ( what.value == '(inv #)' )
what.value = '';
}
</SCRIPT>
<input name="invnum" accesskey="0" VALUE="(inv #)" SIZE="4" onFocus="clearhint_search_invoice(this);" onClick="clearhint_search_invoice(this);" STYLE="text-align:right; margin-bottom:1px; font-family: Arial, Verdana, Helvetica, sans-serif;">
% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) {
<A HREF="<% $RT::URI::freeside::URL %>search/report_cust_bill.html" STYLE="color: #ffffff; font-size: 70%; font-weight:normal">Advanced</A>
% }
<BR>
<input type="submit" value="<&|/l&>Search invoices</&>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:70%">
</form>
% }
Index: FreesideNewCust
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/FreesideNewCust,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- FreesideNewCust 22 May 2006 20:38:21 -0000 1.2
+++ FreesideNewCust 14 Aug 2006 12:13:40 -0000 1.3
@@ -1,3 +1,3 @@
<form action="<% $RT::URI::freeside::URL %>/edit/cust_main.cgi" STYLE="margin:0">
-<INPUT TYPE="submit" VALUE="<&|/l&>New customer</&>">
+<INPUT TYPE="submit" VALUE="<&|/l&>New customer</&>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;">
</FORM>
More information about the freeside-commits
mailing list