Commits

Olemis Lang committed d34509f

BH_Dashboard: Implementing attach file form according to Bootstrap CSS

Comments (0)

Files changed (2)

bh/dashboard/attach_file_form.diff

+BH_Dashboard: Attachments form rewritten using Bootstrap
+
+diff -r 840fda2efd87 trac/templates/attach_file_form.html
+--- a/trac/templates/attach_file_form.html	Fri Mar 16 11:00:35 2012 -0500
++++ b/trac/templates/attach_file_form.html	Tue Apr 03 15:06:01 2012 -0500
+@@ -9,9 +9,9 @@
+       xmlns:py="http://genshi.edgewall.org/"
+       xmlns:xi="http://www.w3.org/2001/XInclude"
+       xmlns:i18n="http://genshi.edgewall.org/i18n"
+-      py:if="alist.can_create" method="get" action="${alist.attach_href}" id="attachfile">
+-  <div>
+-    <input type="hidden" name="action" value="new" />
+-    <input type="submit" name="attachfilebutton" value="${value_of('add_button_title', None) or _('Attach file')}" />
+-  </div>
++      py:if="alist.can_create" method="get" action="${alist.attach_href}" id="attachfile" style="display: inline-block">
++  <input type="hidden" name="action" value="new" />
++  <input type="submit" name="attachfilebutton" 
++      value="${value_of('add_button_title', None) or _('Attach file')}" 
++      class="btn" />
+ </form>
 tho/themeengine/t-9580-infinite-recursion.diff
 bh/theme/bootstrap.diff
 bh/dashboard/query_groups_datetime.diff
+bh/dashboard/attach_file_form.diff
 # Placed by Bitbucket