aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-26 19:15:52 +0000
committerrub <rub@piwigo.org>2007-03-26 19:15:52 +0000
commit200c2bb3efc25ca2c8fa3355ab74ae26c16891bb (patch)
tree48300c5371e53f1a0e08632ac5cfed7c1057a38c /template/yoga
parent162b78ec1be5d1cfbc0ed854100949249a9df48f (diff)
"Put checkbox on the left!"
git-svn-id: http://piwigo.org/svn/trunk@1920 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/admin/configuration.tpl15
-rw-r--r--template/yoga/admin/default-layout.css36
2 files changed, 41 insertions, 10 deletions
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
index bf82c5d22..4a950ea34 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/yoga/admin/configuration.tpl
@@ -38,17 +38,20 @@
<label><input type="radio" class="radio" name="gallery_locked" value="true" {main.GALLERY_LOCKED_YES} />{lang:Yes}</label>
<label><input type="radio" class="radio" name="gallery_locked" value="false" {main.GALLERY_LOCKED_NO} />{lang:No}</label>
</li>
+ </ul>
+</fieldset>
+
+<fieldset id="mainConfCheck">
+ <ul>
<li>
<span class="property">{lang:Rating}</span>
- <label><input type="radio" class="radio" name="rate" value="true" {main.RATE_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="rate" value="false" {main.RATE_NO} />{lang:No}</label>
+ <input type="checkbox" name="rate" {main.RATE} />
</li>
<li>
<span class="property">{lang:Rating by guests}</span>
- <label><input type="radio" class="radio" name="rate_anonymous" value="true" {main.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="rate_anonymous" value="false" {main.RATE_ANONYMOUS_NO} />{lang:No}</label>
+ <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} />
</li>
<li>
@@ -71,7 +74,6 @@
<input type="checkbox" name="email_admin_on_picture_uploaded" {main.EMAIL_ADMIN_ON_PICTURE_UPLOADED} />
</label>
</li>
-
</ul>
</fieldset>
<!-- END main -->
@@ -136,8 +138,9 @@
</ul>
</fieldset>
<!-- END comments -->
+
<!-- BEGIN default -->
-<fieldset id="commentsConf">
+<fieldset id="defaultConf">
<ul>
<li>
<span class="property">
diff --git a/template/yoga/admin/default-layout.css b/template/yoga/admin/default-layout.css
index 80db22cfe..3040e91ff 100644
--- a/template/yoga/admin/default-layout.css
+++ b/template/yoga/admin/default-layout.css
@@ -48,9 +48,9 @@ FORM#categoryOrdering {
padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
}
FORM#categoryOrdering p {
- text-align: left;
- margin-top: 1em;
- margin-bottom: 1em;
+ text-align: left;
+ margin-top: 1em;
+ margin-bottom: 1em;
}
UL.categoryUl {
list-style: none;
@@ -97,6 +97,18 @@ FORM#categoryPermissions LI {
white-space: nowrap;
}
+FIELDSET#mainConfCheck SPAN.property,
+FIELDSET#historyConf SPAN.property,
+FIELDSET#commentsConf SPAN.property {
+ float: right;
+ text-align: left;
+}
+FIELDSET#mainConfCheck INPUT,
+FIELDSET#historyConf INPUT,
+FIELDSET#commentsConf INPUT {
+ float: none;
+}
+
FIELDSET#mainConf SPAN.property {
width: 25%;
}
@@ -104,6 +116,22 @@ FIELDSET#mainConf TEXTAREA.description {
width: 70%;
}
+FIELDSET#mainConfCheck SPAN.property,
+FIELDSET#historyConf SPAN.property {
+ width: 90%;
+}
+FIELDSET#mainConfCheck INPUT,
+FIELDSET#historyConf INPUT {
+ margin-left: 5%;
+}
+
+FIELDSET#commentsConf SPAN.property {
+ width: 85%;
+}
+FIELDSET#commentsConf INPUT {
+ margin-left: 5%;
+}
+
/* PWG Links Menu is fixed Graphic charts */
.pwgmenu {
display: table;
@@ -172,6 +200,6 @@ ul.tabsheet li {
font-weight: bold;
padding: 4px 8px;
border: 1px solid #fff;
- border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
+ border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
padding: 5px 2em 2px 2em;
}