fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-11-22 10:25 am

[dw-free] Revamp /update

[commit: http://hg.dwscoalition.org/dw-free/rev/c2807499dea7]

http://bugs.dwscoalition.org/show_bug.cgi?id=2524

Make labels take up less space.

Patch by [personal profile] fu.

Files modified:
  • htdocs/stc/postform.css
  • views/entry/access.tt.text
  • views/entry/age_restriction.tt.text
  • views/entry/comments.tt
--------------------------------------------------------------------------------
diff -r 0f4240eb77ab -r c2807499dea7 htdocs/stc/postform.css
--- a/htdocs/stc/postform.css	Tue Nov 22 17:29:56 2011 +0800
+++ b/htdocs/stc/postform.css	Tue Nov 22 18:27:02 2011 +0800
@@ -123,21 +123,16 @@
 #currents_component label,
 .recurring_container label,
 .age_level_reason label,
-.posting_settings label {
+.posting_settings label,
+.comments_settings label,
+#security_group label {
   float:left;
   display:block;
-  width:8em;
+  width:30%;
 }
 
 #currents_component label {
-  width:38%;
-}
-
-.comments_settings label,
-#security_group label {
-  display:block;
-  float:left;
-  width:40%;
+  width:33%;
 }
 
 /* Subject & Entry */
@@ -324,7 +319,7 @@
 /* Publishing */
 #post_as fieldset legend {
   float: left;
-  width: 8em;
+  width: 30%;
 }
 
 .posting_settings li {
diff -r 0f4240eb77ab -r c2807499dea7 views/entry/access.tt.text
--- a/views/entry/access.tt.text	Tue Nov 22 17:29:56 2011 +0800
+++ b/views/entry/access.tt.text	Tue Nov 22 18:27:02 2011 +0800
@@ -3,4 +3,4 @@
 
 .header.custom=Custom Access Groups
 
-.label=Security Level
+.label=Level
diff -r 0f4240eb77ab -r c2807499dea7 views/entry/age_restriction.tt.text
--- a/views/entry/age_restriction.tt.text	Tue Nov 22 17:29:56 2011 +0800
+++ b/views/entry/age_restriction.tt.text	Tue Nov 22 18:27:02 2011 +0800
@@ -1,7 +1,7 @@
 ;; -*- coding: utf-8 -*-
 .header=Age Restriction
 
-.label.age_restriction=Age Restriction
+.label.age_restriction=Level
 
 .label.age_restriction_reason=Reason
 
diff -r 0f4240eb77ab -r c2807499dea7 views/entry/comments.tt
--- a/views/entry/comments.tt	Tue Nov 22 17:29:56 2011 +0800
+++ b/views/entry/comments.tt	Tue Nov 22 18:27:02 2011 +0800
@@ -4,7 +4,7 @@
     <h3>[% ".header" | ml %]</h3>
   <div class='inner'>
   <p>
-    [%- form.select( label = "Comment Settings:"
+    [%- form.select( label = "Comments:"
         name = "comment_settings"
         id = "comment_settings"
 
--------------------------------------------------------------------------------