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:
parent
b5e27d047c
commit
23b486ab7a
2 changed files with 13 additions and 2 deletions
|
@ -2309,4 +2309,15 @@ a.localimage img {
|
||||||
border : 1px solid #8EB3E7;
|
border : 1px solid #8EB3E7;
|
||||||
margin : 0 .5em;
|
margin : 0 .5em;
|
||||||
padding : .3em;
|
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;
|
||||||
}
|
}
|
|
@ -17,7 +17,7 @@
|
||||||
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
|
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
|
||||||
<div class="yui-u first">
|
<div class="yui-u first">
|
||||||
<input type="hidden" name="modify" value="yes" />
|
<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="" />
|
<img src="/cgi-bin/koha/opac-patron-image.pl" alt="" />
|
||||||
</p>[% END %]
|
</p>[% END %]
|
||||||
<fieldset class="brief"><legend>Name</legend><ol>
|
<fieldset class="brief"><legend>Name</legend><ol>
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<p style="clear:left;padding:1em 0">To make changes to your record please contact the library.</p>
|
<p style="clear:left;padding:1em 0">To make changes to your record please contact the library.</p>
|
||||||
<div class="yui-u first">
|
<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="" />
|
<img src="/cgi-bin/koha/opac-patron-image.pl" alt="" />
|
||||||
</p>[% END %]
|
</p>[% END %]
|
||||||
<fieldset class="rows">
|
<fieldset class="rows">
|
||||||
|
|
Loading…
Reference in a new issue