[dw-free] Revamp /update
[commit: http://hg.dwscoalition.org/dw-free/rev/03f8855d8733]
http://bugs.dwscoalition.org/show_bug.cgi?id=2524
Tweak spacing for post as module, icon buttons, buttons under entry
textarea.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2524
Tweak spacing for post as module, icon buttons, buttons under entry
textarea.
Patch by
Files modified:
- htdocs/stc/postform.css
- views/entry/form.tt
- views/entry/module-journal.tt
--------------------------------------------------------------------------------
diff -r 91a2197865ae -r 03f8855d8733 htdocs/stc/postform.css
--- a/htdocs/stc/postform.css Wed Dec 14 19:54:55 2011 +0800
+++ b/htdocs/stc/postform.css Wed Dec 14 19:57:52 2011 +0800
@@ -173,6 +173,7 @@
line-height: 1;
padding: 3px 8px 4px;
text-align: center;
+ margin-left: 0.8em;
}
.toolbar img {
@@ -251,6 +252,10 @@
right: 0;
}
+ul.icon-functions li {
+ margin-bottom: 0.5em;
+}
+
.icon {
position: relative;
height: 100px;
@@ -338,12 +343,12 @@
width: 30%;
}
-.posting_settings li {
- margin-bottom:.5em;
+#post_as ul {
+ margin-left: 30%;
}
-.posting_settings {
- margin-top:.5em;
+#post_entry .posting_settings, #post_entry .posting_settings ul {
+ padding-top:.5em;
}
.crosspost_password_container {
diff -r 91a2197865ae -r 03f8855d8733 views/entry/form.tt
--- a/views/entry/form.tt Wed Dec 14 19:54:55 2011 +0800
+++ b/views/entry/form.tt Wed Dec 14 19:57:52 2011 +0800
@@ -234,7 +234,7 @@
form.submit( value = preview_label
name = "action:preview"
id = "preview_button" )
- %]
+ -%]
[%- IF can_spellcheck;
spellcheck_label = 'entryform.spellcheck' | ml;
diff -r 91a2197865ae -r 03f8855d8733 views/entry/module-journal.tt
--- a/views/entry/module-journal.tt Wed Dec 14 19:54:55 2011 +0800
+++ b/views/entry/module-journal.tt Wed Dec 14 19:57:52 2011 +0800
@@ -20,22 +20,22 @@
[% IF remote %]
<fieldset>
<legend><span>[% ".label.post_as" | ml %]</span></legend>
- [%-
+ <ul><li>[%-
form.radio( label = remote.user
name = "post_as"
id = "post_as_remote"
value = "remote"
default = ( post_as == "remote" )
- ) -%]
- [%- post_as_other_label = ".label.post_as_other" | ml;
+ ) -%]</li>
+ <li>[%- post_as_other_label = ".label.post_as_other" | ml;
form.radio( label = post_as_other_label
name = "post_as"
id = "post_as_other"
value = "other"
default = ( post_as == "other" )
- ) -%]
+ ) -%]</li></ul>
</fieldset>
[% ELSE %]
[%- form.hidden(
--------------------------------------------------------------------------------
