Some layout for editing dirs in media db.

This commit is contained in:
Matthias Mees 2013-01-05 22:17:18 +01:00
parent dba59f32ad
commit 6da68ea87e
2 changed files with 26 additions and 18 deletions

View File

@ -119,24 +119,26 @@
<input id="diredit_new" name="serendipity[newDir]" type="text" value="{$use_dir}">
</div>
<div class="form_select">
<label for="read_authors">{$CONST.PERM_READ}</label>
<select id="read_authors" name="serendipity[read_authors][]" multiple size="6">
<option value="0"{if $rgroups} selected{/if}>{$CONST.ALL_AUTHORS}</option>
{foreach $groups AS $group}
<option value="{$group.confkey}"{if isset($read_groups.{$group.confkey})} selected{/if}>{$group.confvalue|escape:'html'}</option>
{/foreach}
</select>
</div>
<div class="clearfix">
<div class="form_select">
<label for="read_authors">{$CONST.PERM_READ}</label>
<select id="read_authors" name="serendipity[read_authors][]" multiple size="6">
<option value="0"{if $rgroups} selected{/if}>{$CONST.ALL_AUTHORS}</option>
{foreach $groups AS $group}
<option value="{$group.confkey}"{if isset($read_groups.{$group.confkey})} selected{/if}>{$group.confvalue|escape:'html'}</option>
{/foreach}
</select>
</div>
<div class="form_select">
<label for="write_authors">{$CONST.PERM_WRITE}</label>
<select id="write_authors" name="serendipity[write_authors][]" multiple size="6">
<option value="0"{if $wgroups} selected{/if}>{$CONST.ALL_AUTHORS}</option>
{foreach $groups AS $group}
<option value="{$group.confkey}"{if isset($write_groups.{$group.confkey})} selected{/if}>{$group.confvalue|escape:'html'}</option>
{/foreach}
</select>
<div class="form_select">
<label for="write_authors">{$CONST.PERM_WRITE}</label>
<select id="write_authors" name="serendipity[write_authors][]" multiple size="6">
<option value="0"{if $wgroups} selected{/if}>{$CONST.ALL_AUTHORS}</option>
{foreach $groups AS $group}
<option value="{$group.confkey}"{if isset($write_groups.{$group.confkey})} selected{/if}>{$group.confvalue|escape:'html'}</option>
{/foreach}
</select>
</div>
</div>
<div class="form_check">

View File

@ -662,7 +662,8 @@ figcaption { font-weight: bold; }
.block_level,
.form_multiselect label,
label > span { display: block; }
label > span,
#image_directory_edit_form .form_select label { display: block; }
label > span,
input[type=checkbox] + label,
@ -1108,6 +1109,11 @@ fieldset p,
width: 48%;
}
#image_directory_edit_form>.clearfix>div {
float: left;
margin: 0 5% 0 0;
}
#template_select .odd,
.media_pane .odd { clear: left; }
}