[freeside-commits] branch master updated. f4d9fff3c3925e9c4637fbfbc22b824a3539f39c

Ivan ivan at 420.am
Sat Jun 13 23:08:42 PDT 2015


The branch, master has been updated
       via  f4d9fff3c3925e9c4637fbfbc22b824a3539f39c (commit)
       via  5d88fad3d436bc8bc7d828c7b7ad2fc61f18eef4 (commit)
       via  fcc2d2644025c63d443e78671573b5231fbbed17 (commit)
      from  99a85d8ed7da15cb441a54cde91f7e43cb89a15e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f4d9fff3c3925e9c4637fbfbc22b824a3539f39c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jun 13 23:08:41 2015 -0700

    UI spring cleaning: menu/search bar

diff --git a/httemplate/elements/freeside-menu.css b/httemplate/elements/freeside-menu.css
index 9533f19..a66ebc0 100644
--- a/httemplate/elements/freeside-menu.css
+++ b/httemplate/elements/freeside-menu.css
@@ -1,11 +1,9 @@
 input.fsblackbutton {
-	 background-color:#aaaaaa;
+	 background-color:#cccccc;
 	 color: #333333;
 	 border:1px solid #888888;
 
-	 -moz-border-radius: 4px;
-	 -webkit-border-radius: 4px;
-	 border-radius: 4px;
+	 border-radius: 2px;
 
          font-family: Arial, Verdana, Helvetica, sans-serif;
 	 font-weight:bold;
@@ -20,17 +18,15 @@ input.fsblackbutton {
 
 input.fsblackbutton:hover,input.fsblackbutton:focus,
 input.fsblackbuttonselected:hover, input.fsblackbuttonselected:focus {
-        background:#aaaaaa;
+        background:#cccccc;
 }
 
 input.fsblackbuttonselected {
-	 background-color:#aaaaaa;
+	 background-color:#cccccc;
 	 color: #7e0079;
 	 border:1px solid #7e0079;
 
-	 -moz-border-radius: 4px;
-	 -webkit-border-radius: 4px;
-	 border-radius: 4px;
+	 border-radius: 2px;
 
          font-family: Arial, Verdana, Helvetica, sans-serif;
 	 font-weight:bold;
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index a9e74ba..014ac6e 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -75,18 +75,18 @@ Example:
 
 %       if ( $mobile ) {
 
-        <TD STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079;width:auto" BGCOLOR="#cccccc">
+        <TD STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079;width:auto" BGCOLOR="#dddddd">
           <SCRIPT TYPE="text/javascript">
             document.write(myBar.toString());
           </SCRIPT>
         </TD>
-        <TD STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079;width:auto" BGCOLOR="#cccccc">
+        <TD STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079;width:auto" BGCOLOR="#dddddd">
             <% include('searchbar-combined.html') |n %>
         </TD>
 
 %       } else {
 
-        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#cccccc">
+        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#dddddd">
           <SCRIPT TYPE="text/javascript">
             document.write(myBar);
           </SCRIPT>
@@ -96,27 +96,27 @@ Example:
 
       <TR CLASS="fssearchbar">
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           <% include('searchbar-prospect.html') |n %>
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           <% include('searchbar-cust_main.html') |n %>
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="center">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="center">
           <% include('searchbar-address2.html') |n %>
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right">
           <% include('searchbar-cust_bill.html') |n %>
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           <% include('searchbar-cust_svc.html') |n %>
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px;padding-right:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px;padding-right:2px">
           <% include('searchbar-ticket.html') |n %>
         </TD>
 %       }
@@ -128,7 +128,7 @@ Example:
 
       <TR CLASS="fsmenubar">
 
-        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#cccccc">
+        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#dddddd">
         </TD>
 
       </TR>
@@ -142,7 +142,7 @@ Example:
 
 % if ( $menu_position eq 'left' ) {
 
-        <TD BGCOLOR="#cccccc" ALIGN="left" HEIGHT="100%" WIDTH="154" VALIGN="top" ALIGN="right" CLASS="fsmenubar">
+        <TD BGCOLOR="#dddddd" ALIGN="left" HEIGHT="100%" WIDTH="154" VALIGN="top" ALIGN="right" CLASS="fsmenubar">
           <SCRIPT TYPE="text/javascript">
             document.write(myBar);
           </SCRIPT>
diff --git a/httemplate/elements/xmenu.css b/httemplate/elements/xmenu.css
index e6a39f6..afd9e91 100644
--- a/httemplate/elements/xmenu.css
+++ b/httemplate/elements/xmenu.css
@@ -101,7 +101,7 @@
 
 	/* background:		rgb(120,172,255);/*rgb(255,128,0);*/
 	/* background:		 #a097ed; */
-	background:		 #cccccc;
+	background:		 #dddddd;
 	/* border:			1px solid #7E0079; */
 	/* border:			1px solid #000000; */
 	/* border: none */
diff --git a/httemplate/elements/xmenu.top.css b/httemplate/elements/xmenu.top.css
index 7a42254..4b6f151 100644
--- a/httemplate/elements/xmenu.top.css
+++ b/httemplate/elements/xmenu.top.css
@@ -98,7 +98,7 @@
 .webfx-menu-bar {
 	/* background:		rgb(120,172,255);/*rgb(255,128,0);*/
 	/* background:		 #a097ed; */
-	background:		 #cccccc;
+	background:		 #dddddd;
 	/* border:			1px solid #7E0079; */
 	/* border:			1px solid #000000; */
 	/* border: none */
@@ -126,7 +126,7 @@
 	/* IE5.0 Does not paint borders and padding on inline elements without a height/width */
 	height:		expression(constExpression(ie50 ? "17px" : "auto"));
 
-        border: 1px solid #cccccc;
+        border: 1px solid #dddddd;
 
         margin-right: 4px
 

commit 5d88fad3d436bc8bc7d828c7b7ad2fc61f18eef4
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jun 13 23:06:08 2015 -0700

    UI spring cleaning

diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css
index d1e22f9..6a1d238 100644
--- a/httemplate/elements/freeside.css
+++ b/httemplate/elements/freeside.css
@@ -230,7 +230,7 @@ div.fstabcontainer {
 .fsinnerbox {
   /* background-color:#cccccc; */
   padding:2px;
-  border: 1px solid #dddddd;
+  border: 1px solid #cccccc;
   border-radius: 2px;
 }
 

commit fcc2d2644025c63d443e78671573b5231fbbed17
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jun 13 18:02:53 2015 -0700

    dump tokens for cardfortress export

diff --git a/bin/dump_tokens b/bin/dump_tokens
new file mode 100644
index 0000000..70c449b
--- /dev/null
+++ b/bin/dump_tokens
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+
+use FS::UID qw(adminsuidsetup);
+use FS::Record qw(qsearch);
+use FS::cust_main;
+
+adminsuidsetup shift or die 'usage: dump_tokens username';
+
+foreach my $cust_main ( qsearch({ table     => 'cust_main',
+                                  extra_sql => "WHERE payby IN ('CARD','DCRD')",
+                               })
+) {
+  print $cust_main->custnum. ','. $cust_main->payinfo. "\n";
+}

-----------------------------------------------------------------------

Summary of changes:
 bin/dump_tokens                       |   14 ++++++++++++++
 httemplate/elements/freeside-menu.css |   14 +++++---------
 httemplate/elements/freeside.css      |    2 +-
 httemplate/elements/header.html       |   22 +++++++++++-----------
 httemplate/elements/xmenu.css         |    2 +-
 httemplate/elements/xmenu.top.css     |    4 ++--
 6 files changed, 34 insertions(+), 24 deletions(-)
 create mode 100644 bin/dump_tokens




More information about the freeside-commits mailing list