Bug 28611: Fix width to 50% for additem form elements
This patch suggests to set the width of select and input to 50% Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
a882783326
commit
e6c04ff745
2 changed files with 12 additions and 12 deletions
|
@ -178,8 +178,8 @@ a.tagnum {
|
|||
}
|
||||
|
||||
.input_marceditor {
|
||||
float:left;
|
||||
width:30em;
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#cat_addbiblio .input_marceditor, #authoritytabs .input_marceditor {
|
||||
|
@ -215,7 +215,7 @@ a.tagnum {
|
|||
}
|
||||
|
||||
#cataloguing_additem_newitem .input_marceditor {
|
||||
width: auto;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#cataloguing_additem_newitem textarea.input_marceditor {
|
||||
|
|
|
@ -165,12 +165,12 @@
|
|||
|
||||
[% SET mv = ite.marc_value %]
|
||||
[% IF ( mv.type == 'hidden' ) %]
|
||||
<input type="hidden" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]">
|
||||
<input type="hidden" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]">
|
||||
[% ELSIF ( mv.type == 'select' ) %]
|
||||
[% IF ( mv.readonly || ite.IS_RETURN_CLAIM ) %]
|
||||
<select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" readonly="readonly" disabled="disabled">
|
||||
<select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" readonly="readonly" disabled="disabled" data-width="50%">
|
||||
[% ELSE %]
|
||||
<select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" data-category="[% mv.category | html %]">
|
||||
<select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" data-category="[% mv.category | html %]" data-width="50%">
|
||||
[% END %]
|
||||
[% FOREACH aval IN mv.values %]
|
||||
[% IF aval == mv.default %]
|
||||
|
@ -186,17 +186,17 @@
|
|||
</select>
|
||||
[% ELSIF ( mv.type == 'text_auth' ) %]
|
||||
[% IF mv.readonly %]
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
|
||||
[% ELSE %]
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
|
||||
[% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %]
|
||||
<a href="#" class="buttonDot" onclick="[%- dopop | html -%]; return false;" title="Tag editor">...</a>
|
||||
[% END %]
|
||||
[% ELSIF ( mv.type == 'text_plugin' ) %]
|
||||
[% IF mv.readonly %]
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
|
||||
[% ELSE %]
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
|
||||
[% IF ( mv.nopopup ) %]
|
||||
<a href="#" id="buttonDot_[%- mv.id | html -%]" class="[%- mv.class | html -%]" title="No popup">...</a>
|
||||
[% ELSE %]
|
||||
|
@ -206,9 +206,9 @@
|
|||
[% END %]
|
||||
[% ELSIF ( mv.type == 'text' ) %]
|
||||
[% IF mv.readonly %]
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
|
||||
[% ELSE %]
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
|
||||
<input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
|
||||
[% END %]
|
||||
[% ELSIF ( mv.type == 'textarea' ) %]
|
||||
[% IF mv.readonly %]
|
||||
|
|
Loading…
Reference in a new issue