</select>
</td>
<td style="padding-left:9px;">
- <input type="image"
+ <input type="submit"
+ value="[% l('Go') %]"
alt="[% l('Go') %]" title="[% l('Go') %]"
- src="[% ctx.media_prefix %]/images/go-btn.png" /></a>
+ class="submit-button" />
</td>
<td style="padding-left:5px;">
<a href="#"><img alt="Renewing Help"
</select>
</td>
<td width="1" style="padding-left:9px;">
- <input type="image"
+ <input type="submit" value="[% l('Go') %]"
alt="[% l('Go') %]" title="[% l('Go') %]"
- src="[% ctx.media_prefix %]/images/go-btn.png" />
+ class="submit-button" />
</td>
<td width="1" style="padding-left:5px;">
<a href="#"><img
</tr>
<tr>
<td colspan="2" class="hold-editor-controls">
- <input type="image"
- src="[% ctx.media_prefix %]/images/btnSubmit.png"
+ <input type="submit"
+ value="[% l('Submit') %]"
alt="[% l('Submit') %]"
- title="[% l('Submit') %]" />
- <a href="[% ctx.opac_root %]/myopac/holds"><img
- src="[% ctx.media_prefix %]/images/btnCancel.png"
+ title="[% l('Submit') %]"
+ class="submit-button" />
+ <input type="reset"
+ value="[% l('Submit') %]"
alt="[% l('Cancel') %]"
- title="[% l('Cancel') %]" /></a>
+ title="[% l('Cancel') %]"
+ class="submit-button" />
</td>
</tr>
</table>
src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
</td>
<td class="list-create-table-buttons">
- <input type="image" alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png"/>
+ <input type="submit"
+ value="[% l('Submit') %]"
+ alt="[% l('Submit') %]"
+ class="submit-button"/>
- <a href="javascript:void(0);"
- onclick="document.getElementById('create_form').reset(); return false"><img
+ <input type="reset"
+ value="[% l('Cancel') %]"
alt="[% l('Cancel') %]"
- src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
+ class="submit-button" />
</td>
</tr>
</table>
<div>[% l('You have no current fines.') %]</div>
[% ELSE %]
<div class="text-right pad-top-ten">
- <input type="image"
+ <input type="submit"
+ value="[% l('Pay selected fines') %]"
alt="[% l('Pay selected fines') %]"
title="[% l('Pay selected fines') %]"
- onmouseover="this.src='[% ctx.media_prefix %]/images/pay-fines-btn-hover.png';"
- onmouseout="this.src='[% ctx.media_prefix %]/images/pay-fines-btn.png';"
- src="[% ctx.media_prefix %]/images/pay-fines-btn.png" />
+ class="submit-button" />
</div>
[% END %]
</form>
<form method='POST'>
<div style="float:right;width:65px;">
- <input type='image' alt="[% l('Save') %]" src="[% ctx.media_prefix %]/images/save-btn.png" />
+ <input type='submit'
+ value="[% l('Save') %]"
+ alt="[% l('Save') %]"
+ class="submit-button" />
</div>
<table>
<div style="float:right;width:65px;">
<div style="position:absolute">
<div style="position:relative;top:75px;">
- <input type="image" alt="[% l('Save') %]" src="[% ctx.media_prefix %]/images/save-btn.png"/>
+ <input type="submit" value="[% l('Save') %]" alt="[% l('Save') %]" class="submit-button"/>
</div>
</div>
</div>
<tr>
<td colspan="2"><a href="javascript:addExpertRow();">[ [% l("Add row") %] ]</a></td>
<td colspan="4">
- <input type="image" src="[% ctx.media_prefix %]/images/search_btn.gif" alt="[% l('Search') %]" title="[% l('Search') %]" />
+ <input type="submit" value="[% l('Search') %]"
+ alt="[% l('Search') %]" title="[% l('Search') %]"
+ class="submit-button" />
</td>
</tr>
</tfoot>
</tr>
<tr>
<td colspan="2" align="right">
- <input type="image" alt="[% l('Search') %]"
- src="[% ctx.media_prefix %]/images/search_btn.gif" />
+ <input type="submit" alt="[% l('Search') %]"
+ value="[% l('Search') %]" class="submit-button" />
</td>
</table>
</form>
</tr>
<tr class='border_4_2'>
<td align="left" colspan='2'>
- <input type="image" src="[% ctx.media_prefix %]/images/search_btn.gif"
- alt="[% l('Search') %]" class='pointer' />
+ <input type="submit"
+ value="[% l('Search') %]"
+ class='pointer submit-button' />
- <a href="[% mkurl('', {}, 1) %]">[% l('Reset Form') %]</a>
+ <input type="reset"
+ value="[% l('Reset form') %]"
+ class="submit-button" />
</td>
</tr>
</table>
<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='image' alt="[% l('Log in') %]" src="[% ctx.media_prefix %]/images/login-btn2.png" />
+ <input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="submit-button" />
<!-- TODO
<a href="reset_password"
style="position:relative;top:-13px;left:2px;font-size:10px;">Forgot your PIN?</a>
</span><br />
<form action="[% ctx.opac_root %]/myopac/main_payment_form" method="GET"><input
- type="image" title="[% l('Pay Fines') %]" alt="[% l('Pay Fines') %]"
- onmouseover="this.src='[% ctx.media_prefix %]/images/pay-fines-btn-hover.png';"
- onmouseout="this.src='[% ctx.media_prefix %]/images/pay-fines-btn.png';"
- src="[% ctx.media_prefix %]/images/pay-fines-btn.png"
- class="pos-rel-top-5" /></form>
+ type="submit" title="[% l('Pay Fines') %]" alt="[% l('Pay Fines') %]"
+ value=[% l('Pay Fines') %] class="pos-rel-top-5 submit-button" /></form>
</div>
[% END %]
services, please select "Outreach" to have the item delivered
during your scheduled visit.[% END %]
</p>
- <input type="image" name="submit" value="submit" title="[% l('Submit') %]"
- alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png" />
+ <input type="submit" name="submit" value="[% l('Submit') %]" title="[% l('Submit') %]"
+ alt="[% l('Submit') %]" class="submit-button" />
- <a href="javascript:history.go(-1);" id="holds_cancel"><img
- alt="[% l('Cancel') %]" src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
+ <input type="reset" name="cancel" onclick="javascript:history.go(-1);"
+ value="[% l('Cancel') %]" id="holds_cancel" class="submit-button" />
</form>
<br /><br />
<p>
[% |l %]You have permission to override some of the failed holds.<br/> Click Submit to override and place your hold on the selected items.[% END %]
</div>
<span style='padding-right: 10px;'>
- <input type="image" name="submit" value="submit" title="[% l('Submit') %]"
- alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png" />
+ <input type="submit" name="submit" value="[% l('Submit') %]"
+ title="[% l('Submit') %]" alt="[% l('Submit') %]"
+ class="submit-button" />
</span>
[% END %]
<span>
- <a href="[% CGI.param('redirect_to') || CGI.referer | html %]" id="holds_cancel"><img
- alt="[% l('Cancel') %]" src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
+ <input type="reset" onclick="javascript:history.go(-1);"
+ id="holds_cancel" value="[% l('Cancel') %]" class="submit-button" />
</span>
</form>
</div>
<td valign="top">
<div class="pos-abs">
<div class="opac-auto-143">
- <input id='search-submit-go' type="image" alt="[% l('Search') %]" src="[% ctx.media_prefix %]/images/go-btn.png"
- onmouseover="this.src='[% ctx.media_prefix %]/images/go-btn-hover.png';"
- onmouseout="this.src='[% ctx.media_prefix %]/images/go-btn.png';"
+ <input id='search-submit-go' type="submit" value="[% l('Search') %]" alt="[% l('Search') %]" class="submit-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>
.hold-items-list-problem { color: red; }
.big-strong {font-weight: bold; font-size: 120%; }
+
+/* TODO: gradients */
+.submit-button {
+ color: white;
+ font-weight: bold;
+ -moz-border-radius: 15%;
+ border-radius: 15%;
+ background: #1784c7;
+}
+.submit-button:hover { background: #359ee0; }