enlarge album list to 600px

git-svn-id: http://piwigo.org/svn/trunk@29619 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2014-09-18 11:12:22 +00:00
parent 1826f53714
commit 8c8c982924
5 changed files with 10 additions and 7 deletions

View file

@ -114,7 +114,7 @@ jQuery.fn.pwgAddAlbum = function(options) {
this.colorbox({ this.colorbox({
inline: true, inline: true,
href: '#addAlbumForm', href: '#addAlbumForm',
width: 350, height: 300, width: 650, height: 300,
onComplete: function() { onComplete: function() {
init(); init();
$popup.data('target', jQuery(this).data('addAlbum')); $popup.data('target', jQuery(this).data('addAlbum'));

View file

@ -583,14 +583,14 @@ UL.thumbnails SPAN.wrap2 {ldelim}
<!-- associate --> <!-- associate -->
<div id="action_associate" class="bulkAction"> <div id="action_associate" class="bulkAction">
<select data-selectize="categories" data-default="first" name="associate" style="width:400px"></select> <select data-selectize="categories" data-default="first" name="associate" style="width:600px"></select>
<br>{'... or '|@translate} <br>{'... or '|@translate}
<a href="#" data-add-album="associate" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> <a href="#" data-add-album="associate" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a>
</div> </div>
<!-- move --> <!-- move -->
<div id="action_move" class="bulkAction"> <div id="action_move" class="bulkAction">
<select data-selectize="categories" data-default="first" name="move" style="width:400px"></select> <select data-selectize="categories" data-default="first" name="move" style="width:600px"></select>
<br>{'... or '|@translate} <br>{'... or '|@translate}
<a href="#" data-add-album="move" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> <a href="#" data-add-album="move" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a>
</div> </div>
@ -599,7 +599,7 @@ UL.thumbnails SPAN.wrap2 {ldelim}
<!-- dissociate --> <!-- dissociate -->
<div id="action_dissociate" class="bulkAction albumDissociate" style="display:none"> <div id="action_dissociate" class="bulkAction albumDissociate" style="display:none">
<select data-selectize="categories" placeholder="{'Type in a search term'|translate}" <select data-selectize="categories" placeholder="{'Type in a search term'|translate}"
name="dissociate" style="width:400px"></select> name="dissociate" style="width:600px"></select>
</div> </div>

View file

@ -109,7 +109,7 @@ categoriesCache.selectize(jQuery('[data-selectize=categories]'), {
<strong>{'Parent album'|@translate}</strong> <strong>{'Parent album'|@translate}</strong>
<br> <br>
<select data-selectize="categories" data-value="{$parent_category|@json_encode|escape:html}" <select data-selectize="categories" data-value="{$parent_category|@json_encode|escape:html}"
name="parent" style="width:400px"></select> name="parent" style="width:600px"></select>
</p> </p>
{/if} {/if}

View file

@ -240,7 +240,7 @@ jQuery(document).ready(function(){
<span id="albumSelection" style="display:none"> <span id="albumSelection" style="display:none">
<select data-selectize="categories" data-value="{$selected_category|@json_encode|escape:html}" <select data-selectize="categories" data-value="{$selected_category|@json_encode|escape:html}"
data-default="first" name="category" style="width:400px"></select> data-default="first" name="category" style="width:600px"></select>
<br>{'... or '|@translate}</span> <br>{'... or '|@translate}</span>
<a href="#" data-add-album="category" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> <a href="#" data-add-album="category" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a>
</fieldset> </fieldset>

View file

@ -1090,7 +1090,10 @@ p#uploadModeInfos {text-align:left;margin-top:1em;font-size:90%;color:#999;}
#addAlbumForm .selectize-dropdown-content { #addAlbumForm .selectize-dropdown-content {
max-height:170px; max-height:170px;
} }
#addAlbumForm input[name="category_name"], #formCreateAlbum input[name="virtual_name"] { #addAlbumForm input[name="category_name"] {
width:600px;
}
#formCreateAlbum input[name="virtual_name"] {
width:300px; width:300px;
} }