opac-button is more general than submit-button
authorDan Scott <dscott@laurentian.ca>
Mon, 12 Sep 2011 18:06:47 +0000 (14:06 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Sep 2011 18:06:47 +0000 (14:06 -0400)
Didn't make sense to use a class of submit-button for reset buttons.
So...

Signed-off-by: Dan Scott <dscott@laurentian.ca>
16 files changed:
Open-ILS/src/templates/opac/myopac/circs.tt2
Open-ILS/src/templates/opac/myopac/holds.tt2
Open-ILS/src/templates/opac/myopac/holds/edit.tt2
Open-ILS/src/templates/opac/myopac/lists.tt2
Open-ILS/src/templates/opac/myopac/main.tt2
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/myopac/prefs_settings.tt2
Open-ILS/src/templates/opac/parts/advanced/expert.tt2
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/login/form.tt2
Open-ILS/src/templates/opac/parts/myopac/main_base.tt2
Open-ILS/src/templates/opac/parts/place_hold.tt2
Open-ILS/src/templates/opac/parts/place_hold_result.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/web/css/skin/default/opac/style.css

index eff7f00..4898116 100644 (file)
@@ -51,7 +51,7 @@
                     <input type="submit"
                         value="[% l('Go') %]"
                         alt="[% l('Go') %]" title="[% l('Go') %]"
-                        class="submit-button" />
+                        class="opac-button" />
                 </td>
                 <td style="padding-left:5px;">
                     <a href="#"><img alt="Renewing Help"
index 2424467..94c8394 100644 (file)
@@ -55,7 +55,7 @@
                 <td width="1" style="padding-left:9px;">
                     <input type="submit" value="[% l('Go') %]"
                         alt="[% l('Go') %]" title="[% l('Go') %]"
-                        class="submit-button" />
+                        class="opac-button" />
                 </td>
                 <td width="1" style="padding-left:5px;">
                     <a href="#"><img
index 1b15750..97525bb 100644 (file)
                                 value="[% l('Submit') %]"
                                 alt="[% l('Submit') %]"
                                 title="[% l('Submit') %]"
-                                class="submit-button" />
+                                class="opac-button" />
                             <input type="reset"
                                 value="[% l('Submit') %]"
                                 alt="[% l('Cancel') %]"
                                 title="[% l('Cancel') %]"
-                                class="submit-button" />
+                                class="opac-button" />
                         </td>
                     </tr>
                 </table>
index e738be1..0c22f6d 100644 (file)
                     <input type="submit"
                         value="[% l('Submit') %]"
                         alt="[% l('Submit') %]"
-                        class="submit-button"/>
+                        class="opac-button"/>
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     <input type="reset"
                         value="[% l('Cancel') %]"
                         alt="[% l('Cancel') %]"
-                        class="submit-button" />
+                        class="opac-button" />
                 </td>
             </tr>
         </table>
index 1b78ca3..d32f0a5 100644 (file)
             value="[% l('Pay selected fines') %]"
             alt="[% l('Pay selected fines') %]"
             title="[% l('Pay selected fines') %]"
-            class="submit-button" />
+            class="opac-button" />
     </div>
     [% END %]
 </form>
index 5d46763..17d0b67 100644 (file)
@@ -9,7 +9,7 @@
         <input type='submit' 
             value="[% l('Save') %]"
             alt="[% l('Save') %]"
-            class="submit-button" />
+            class="opac-button" />
     </div>
 
     <table>
index 984bc3f..0a117bb 100644 (file)
@@ -9,7 +9,7 @@
         <div style="float:right;width:65px;">
             <div style="position:absolute">
                 <div style="position:relative;top:75px;">
-                    <input type="submit" value="[% l('Save') %]" alt="[% l('Save') %]" class="submit-button"/>
+                    <input type="submit" value="[% l('Save') %]" alt="[% l('Save') %]" class="opac-button"/>
                 </div>
             </div>
         </div>
index 64ce09b..a3f8f01 100644 (file)
@@ -23,7 +23,7 @@
                 <td colspan="4">
                     <input type="submit" value="[% l('Search') %]"
                         alt="[% l('Search') %]" title="[% l('Search') %]"
-                        class="submit-button" />
+                        class="opac-button" />
                 </td>
             </tr>
         </tfoot>
index 2e389f3..3bcf4c8 100644 (file)
@@ -23,7 +23,7 @@
         <tr>
             <td colspan="2" align="right">
                 <input type="submit" alt="[% l('Search') %]"
-                    value="[% l('Search') %]" class="submit-button" />
+                    value="[% l('Search') %]" class="opac-button" />
             </td>
     </table>
 </form>
index 08761b3..6b97540 100644 (file)
         <td align="left" colspan='2'>
             <input type="submit"
                 value="[% l('Search') %]"
-                class='pointer submit-button' />
+                class='pointer opac-button' />
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <input type="reset"
                 value="[% l('Reset form') %]"
-                class="submit-button" />
+                class="opac-button" />
         </td>
     </tr>
 </table>
index 6dae4b6..b38906c 100644 (file)
                                     <input type="checkbox" name="persist" id="login_persist" /><label for="login_persist"> [% l('Stay logged in?') %]</label>
                                 </div>
                                 <div style="padding-top:14px;">
-                                    <input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="submit-button" />
+                                    <input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="opac-button" />
                                     <!-- TODO
                                     <a href="reset_password"
                                         style="position:relative;top:-13px;left:2px;font-size:10px;">Forgot your PIN?</a>
index e47e3ab..62e3174 100644 (file)
@@ -43,7 +43,7 @@
 
         <form action="[% ctx.opac_root %]/myopac/main_payment_form" method="GET"><input
             type="submit" title="[% l('Pay Fines') %]" alt="[% l('Pay Fines') %]"
-            value=[% l('Pay Fines') %] class="pos-rel-top-5 submit-button" /></form>
+            value=[% l('Pay Fines') %] class="pos-rel-top-5 opac-button" /></form>
     </div>
     [% END %]
 
index 9bb2c29..6da63da 100644 (file)
             during your scheduled visit.[% END %]
         </p>
         <input type="submit" name="submit" value="[% l('Submit') %]" title="[% l('Submit') %]"
-            alt="[% l('Submit') %]" class="submit-button" />
+            alt="[% l('Submit') %]" class="opac-button" />
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <input type="reset" name="cancel" onclick="javascript:history.go(-1);"
-            value="[% l('Cancel') %]" id="holds_cancel" class="submit-button" />
+            value="[% l('Cancel') %]" id="holds_cancel" class="opac-button" />
     </form>
     <br /><br />
     <p>
index 62ff498..b83a811 100644 (file)
             <span style='padding-right: 10px;'>
                 <input type="submit" name="submit" value="[% l('Submit') %]"
                     title="[% l('Submit') %]" alt="[% l('Submit') %]"
-                    class="submit-button" />
+                    class="opac-button" />
             </span>
         [% END %]
         <span>
         <input type="reset" onclick="javascript:history.go(-1);"
-            id="holds_cancel" value="[% l('Cancel') %]" class="submit-button" />
+            id="holds_cancel" value="[% l('Cancel') %]" class="opac-button" />
         </span>
     </form>
 </div>
index ee69315..3dbd70a 100644 (file)
@@ -36,7 +36,7 @@
             <td valign="top">
                 <div class="pos-abs">
                     <div class="opac-auto-143">
-                        <input id='search-submit-go' type="submit" value="[% l('Search') %]" alt="[% l('Search') %]" class="submit-button"
+                        <input id='search-submit-go' type="submit" value="[% l('Search') %]" alt="[% l('Search') %]" class="opac-button"
                             onclick='setTimeout(function(){$("search-submit-spinner").className=""; $("search-submit-go").className="hidden"}, 2000)'/>
                         <img id='search-submit-spinner' src='/opac/images/progressbar_green.gif' style='height:16px;width:16px;' class='hidden' alt=''/>
                     </div>
index 8eef1d0..2e88f84 100644 (file)
@@ -1034,11 +1034,11 @@ a.dash-link:hover { text-decoration: underline !important; }
 .big-strong {font-weight: bold; font-size: 120%; }
 
 /* TODO: gradients */
-.submit-button { 
+.opac-button { 
     color: white; 
     font-weight: bold; 
     -moz-border-radius: 15%; 
     border-radius: 15%;
     background: #1784c7; 
 }
-.submit-button:hover { background: #359ee0; }
+.opac-button:hover { background: #359ee0; }