incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [39/50] [abbrv] git commit: [#4659] Cleanup layout for attachment widget
Date Thu, 11 Jul 2013 21:58:59 GMT
[#4659] Cleanup layout for attachment widget

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/c2ac0166
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/c2ac0166
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/c2ac0166

Branch: refs/heads/db/6277
Commit: c2ac016668cda5c17226d4cb79974cfa1b3dfcc0
Parents: 779e794
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Thu Jul 11 20:19:34 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Thu Jul 11 20:19:34 2013 +0000

----------------------------------------------------------------------
 Allura/allura/templates/widgets/attachment_add.html | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c2ac0166/Allura/allura/templates/widgets/attachment_add.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/attachment_add.html b/Allura/allura/templates/widgets/attachment_add.html
index 3af2ce7..51f4d5b 100644
--- a/Allura/allura/templates/widgets/attachment_add.html
+++ b/Allura/allura/templates/widgets/attachment_add.html
@@ -20,14 +20,8 @@
       action="{{action}}"
       enctype="multipart/form-data">
       <a href="#" class="btn link attachment_form_add_button">Add attachments</a>
-      <ol class="attachment_form_fields" style="display:none">
-        <li>
-          <label for="{{name}}">File to upload</label>
-          <input type="file" class="text" name="{{name}}" multiple="True" id="{{name}}"/>
-        </li>
-        <li>
-          <label>&nbsp;</label>
-          <input type="submit" value="Attach file"/>
-        </li>
-      </ol>
+      <div class="attachment_form_fields" style="display:none">
+          <input type="file" class="text" name="{{name}}" multiple="True" id="{{name}}"
style="margin-left:0"/><br/>
+          <input type="submit" value="Attach files"/>
+      </div>
 </form>


Mime
View raw message