mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
improve admin forms (SELECT.categoryList, add some ids, ...)
git-svn-id: http://piwigo.org/svn/trunk@1448 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -55,10 +55,10 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<!-- BEGIN move -->
|
<!-- BEGIN move -->
|
||||||
<fieldset>
|
<fieldset id="move">
|
||||||
<legend>{lang:Move}</legend>
|
<legend>{lang:Move}</legend>
|
||||||
{lang:Parent category}
|
{lang:Parent category}
|
||||||
<select name="parent">
|
<select class="categoryDropDown" name="parent">
|
||||||
<!-- BEGIN parent_option -->
|
<!-- BEGIN parent_option -->
|
||||||
<option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option>
|
<option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option>
|
||||||
<!-- END parent_option -->
|
<!-- END parent_option -->
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
<!-- END move -->
|
<!-- END move -->
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="options">
|
||||||
<legend>{lang:Options}</legend>
|
<legend>{lang:Options}</legend>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- BEGIN representant -->
|
<!-- BEGIN representant -->
|
||||||
<fieldset>
|
<fieldset id="representant">
|
||||||
<legend>{lang:Representant}</legend>
|
<legend>{lang:Representant}</legend>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
|
|
||||||
<form action="{F_ACTION}" method="POST" id="links">
|
<form action="{F_ACTION}" method="POST" id="links">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="linkAllNew">
|
||||||
<legend>{lang:Link all category elements to a new category}</legend>
|
<legend>{lang:Link all category elements to a new category}</legend>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{lang:Parent category}</td>
|
<td>{lang:Parent category}</td>
|
||||||
<td>
|
<td>
|
||||||
<select class="categoryList" name="parent">
|
<select class="categoryDropDown" name="parent">
|
||||||
<!-- BEGIN category_option_parent -->
|
<!-- BEGIN category_option_parent -->
|
||||||
<option {category_option_parent.SELECTED} value="{category_option_parent.VALUE}">{category_option_parent.OPTION}</option>
|
<option {category_option_parent.SELECTED} value="{category_option_parent.VALUE}">{category_option_parent.OPTION}</option>
|
||||||
<!-- END category_option_parent -->
|
<!-- END category_option_parent -->
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="linkAllExist">
|
||||||
<legend>{lang:Link all category elements to some existing categories}</legend>
|
<legend>{lang:Link all category elements to some existing categories}</legend>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
<form method="post" action="{F_ACTION}" class="properties">
|
<form method="post" action="{F_ACTION}" class="properties">
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
<!-- BEGIN general -->
|
<!-- BEGIN general -->
|
||||||
|
<fieldset id="generalConf">
|
||||||
<legend>{lang:conf_general_title}</legend>
|
<legend>{lang:conf_general_title}</legend>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<span class="property">
|
<span class="property">
|
||||||
<label for="page_banner">{lang:Page banner}</label>
|
<label for="page_banner">{lang:Page banner}</label>
|
||||||
</span>
|
</span>
|
||||||
<textarea cols="50" rows="5" name="page_banner" id="page_banner" onfocus="this.className='focus';" onblur="this.className='nofocus';">{general.CONF_PAGE_BANNER}</textarea>
|
<textarea class="description" name="page_banner" id="page_banner" onfocus="this.className='description focus';" onblur="this.className='description nofocus';">{general.CONF_PAGE_BANNER}</textarea>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
@@ -58,9 +58,11 @@
|
|||||||
<label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
|
<label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</fieldset>
|
||||||
<!-- END general -->
|
<!-- END general -->
|
||||||
|
|
||||||
<!-- BEGIN comments -->
|
<!-- BEGIN comments -->
|
||||||
|
<fieldset id="commentsConf">
|
||||||
<legend>{lang:conf_comments_title}</legend>
|
<legend>{lang:conf_comments_title}</legend>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -83,8 +85,10 @@
|
|||||||
<label><input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}</label>
|
<label><input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}</label>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</fieldset>
|
||||||
<!-- END comments -->
|
<!-- END comments -->
|
||||||
<!-- BEGIN default -->
|
<!-- BEGIN default -->
|
||||||
|
<fieldset id="commentsConf">
|
||||||
<legend>{lang:conf_default_title}</legend>
|
<legend>{lang:conf_default_title}</legend>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -157,8 +161,8 @@
|
|||||||
<input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
|
<input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</fieldset>
|
||||||
<!-- END default -->
|
<!-- END default -->
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
|
<input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
|
||||||
|
|||||||
@@ -88,8 +88,18 @@ TABLE.doubleSelect TD {
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TABLE.doubleSelect SELECT.categoryList {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
FORM#categoryPermissions LI {
|
FORM#categoryPermissions LI {
|
||||||
display:inline;
|
display:inline;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FIELDSET#generalConf SPAN.property {
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
FIELDSET#generalConf TEXTAREA.description {
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<!-- $Id: update.tpl 980 2005-12-10 15:24:53Z chrisaga $ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<div class="titrePage">
|
<div class="titrePage">
|
||||||
<ul class="categoryActions">
|
<ul class="categoryActions">
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
<h3>{lang:update_default_title}</h3>
|
<h3>{lang:update_default_title}</h3>
|
||||||
<form action="{F_ACTION}" method="post" id="update">
|
<form action="{F_ACTION}" method="post" id="update">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="syncFiles">
|
||||||
<legend>{lang:update_sync_files}</legend>
|
<legend>{lang:update_sync_files}</legend>
|
||||||
<ul>
|
<ul>
|
||||||
<li><label><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {lang:update_sync_dirs}</label></li>
|
<li><label><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {lang:update_sync_dirs}</label></li>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="syncMetadata">
|
||||||
<legend>{lang:update_sync_metadata}</legend>
|
<legend>{lang:update_sync_metadata}</legend>
|
||||||
{lang:update_used_metadata} : {METADATA_LIST}.<br/>
|
{lang:update_used_metadata} : {METADATA_LIST}.<br/>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -79,16 +79,16 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="syncSimulate">
|
||||||
<legend></legend>
|
<legend></legend>
|
||||||
<ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {TAG_INPUT_ENABLED} /> {lang:update_simulate}</label></li></ul>
|
<ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {TAG_INPUT_ENABLED} /> {lang:update_simulate}</label></li></ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset id="catSubset">
|
||||||
<legend>{lang:update_cats_subset}</legend>
|
<legend>{lang:update_cats_subset}</legend>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<select style="width:500px" name="cat" size="10">
|
<select class="categoryList" name="cat" size="10">
|
||||||
<!-- BEGIN category_option -->
|
<!-- BEGIN category_option -->
|
||||||
<option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option>
|
<option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option>
|
||||||
<!-- END category_option -->
|
<!-- END category_option -->
|
||||||
|
|||||||
@@ -75,14 +75,15 @@ FORM P {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEXTAREA.description {
|
TEXTAREA.description {
|
||||||
height: 100px;
|
height: 6em;
|
||||||
width: 500px;
|
width: 40em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
SELECT.categoryList {
|
SELECT.categoryList {
|
||||||
height: 20em;
|
height: 20em;
|
||||||
width: 30em;
|
/*max-width: 60em;*/
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ H1, #theHeader {
|
|||||||
|
|
||||||
/* to get less hugly checkboxes at least in tagSelection */
|
/* to get less hugly checkboxes at least in tagSelection */
|
||||||
/* as well as several forms */
|
/* as well as several forms */
|
||||||
FORM#update INPUT,
|
FORM#update FIELDSET INPUT,
|
||||||
UL.tagSelection LI INPUT,
|
UL.tagSelection LI INPUT,
|
||||||
#content UL.thumbnails SPAN.wrap2 INPUT {
|
#content UL.thumbnails SPAN.wrap2 INPUT {
|
||||||
border: none;
|
border: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user