Bug 3516 [FOLLOW-UP] Display picture of patrons in OPAC

This patch moves inline CSS to opac.css following QA comments.
Doing so improves users ability to customize the affected
markup with custom CSS.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Owen Leonard 2012-03-01 11:31:15 -05:00 committed by Paul Poulain
parent b5e27d047c
commit 23b486ab7a
2 changed files with 13 additions and 2 deletions

View file

@ -2309,4 +2309,15 @@ a.localimage img {
border : 1px solid #8EB3E7;
margin : 0 .5em;
padding : .3em;
}
p.patronimage {
border:1px solid #EEE;
border-bottom-color:#000;
margin: 0.9em 0 0;
padding:1em;
}
p.patronimage.edit {
border-color:#E8E8E8;
margin: 1em 1em 1em 0;
}

View file

@ -17,7 +17,7 @@
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
<div class="yui-u first">
<input type="hidden" name="modify" value="yes" />
[% IF ( display_patron_image ) %]<p style="border:1px solid #EEE;padding:1em;">
[% IF ( display_patron_image ) %]<p class="patronimage edit">
<img src="/cgi-bin/koha/opac-patron-image.pl" alt="" />
</p>[% END %]
<fieldset class="brief"><legend>Name</legend><ol>
@ -105,7 +105,7 @@
[% ELSE %]
<p style="clear:left;padding:1em 0">To make changes to your record please contact the library.</p>
<div class="yui-u first">
[% IF ( display_patron_image ) %]<p style="border:1px solid #EEE;border-bottom-color:#000;padding:1em;">
[% IF ( display_patron_image ) %]<p class="patronimage">
<img src="/cgi-bin/koha/opac-patron-image.pl" alt="" />
</p>[% END %]
<fieldset class="rows">