Adding max-width to patron image in sidebar, correcting some markup in picture uploads.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
f9de575250
commit
fa9a411a2f
2 changed files with 9 additions and 5 deletions
|
@ -1,9 +1,13 @@
|
|||
<!-- TMPL_IF NAME="borrowernumber" -->
|
||||
<div class="patroninfo"><h5><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h5>
|
||||
<!--[if IE 6]>
|
||||
<style type="tex/css">img { width: expression(this.width > 140 ? 140: true);
|
||||
}</style>
|
||||
<![endif]-->
|
||||
<ul>
|
||||
<!-- TMPL_IF NAME="patronimages" -->
|
||||
<!-- TMPL_IF NAME="picture" -->
|
||||
<li><img src="/cgi-bin/koha/members/patronimage.pl?crdnum=<!-- TMPL_VAR NAME="cardnumber" -->" id="patronimage" alt="<!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
|
||||
<li><img src="/cgi-bin/koha/members/patronimage.pl?crdnum=<!-- TMPL_VAR NAME="cardnumber" -->" id="patronimage" alt="<!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)" border="0" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li>
|
||||
<!-- TMPL_ELSE -->
|
||||
<li><img src="/intranet-tmpl/prog/img/patron-blank.png" alt="<!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
|
||||
<!-- /TMPL_IF -->
|
||||
|
|
|
@ -28,12 +28,10 @@
|
|||
<div class="yui-u first">
|
||||
<!-- TMPL_IF name="ERRORS" -->
|
||||
<div class="dialog alert">
|
||||
<h1>Patron Image(s) Uploaded With Some Errors</h1>
|
||||
</div>
|
||||
<h3>Patron Image(s) Uploaded With Some Errors</h3>
|
||||
<!-- TMPL_ELSE -->
|
||||
<div class="dialog message">
|
||||
<h1>Patron Image(s) Successfully Uploaded</h1>
|
||||
</div>
|
||||
<h3>Patron Image(s) Successfully Uploaded</h3>
|
||||
<!-- /TMPL_IF -->
|
||||
<ul class="data">
|
||||
<li>Unpacking completed</li>
|
||||
|
@ -60,6 +58,8 @@
|
|||
<!-- /TMPL_LOOP -->
|
||||
</ul>
|
||||
<!-- /TMPL_LOOP -->
|
||||
|
||||
</div>
|
||||
<a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">Upload More Images</a>
|
||||
<a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to Tools</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue