Skip to content
Snippets Groups Projects
Commit 911121e2 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

cosmetics: use multi-columns for checkboxes

parent 62f79c82
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,16 @@ main form {
float:none !important;
}
ul.columns4 {
column-count: 4;
list-style-type: none;
}
ul.columns3 {
column-count: 3;
list-style-type: none;
}
.nocursor{
cursor: default!important;
opacity:0.6;
......
......@@ -24,12 +24,16 @@
</fieldset>
<fieldset>
<legend>[% lh.maketext("Account profiles:") %]</legend>
<ul class="columns4">
[% FOREACH profile IN profiles %]
[% template = profile _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label>
<li>
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label>
</li>
[% END %]
</ul>
</fieldset>
<input type="hidden" name="federation" value="[% federation %]"/>
......
......@@ -24,12 +24,16 @@
</fieldset>
<fieldset>
<legend>[% lh.maketext("Account profiles:") %]</legend>
<ul class="columns4">
[% FOREACH profile IN profiles %]
[% template = profile _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label>
<li>
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label>
</li>
[% END %]
</ul>
</fieldset>
<input type="hidden" name="federation" value="[% federation %]"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment