Commits

Benoît Allard  committed 3222eb1

web: Bootstrapize editlink

  • Participants
  • Parent commits e1d897c

Comments (0)

Files changed (1)

File web/templates/editlink.html

 
 
 {% block body %}
-<form action="{{ url_for('edit.link') }}" method=post>
+<form class="form-horizontal" action="{{ url_for('edit.link') }}" method=post>
   <fieldset>
     <legend>Edit a Link</legend>
-    <label for="ch" onkeyup="">Changeset:</label>
-    <input type="text" name="changeset" id="ch" class="changeset-text" />
-    <label for="repo">Repository:</label>
-    <input type="text" name="repository" id="repo" />
-    <label for="iss">Issues:</label>
-    <input type="text" name="issues" id="iss" />
-    <p>Issues are colon (':') separated</p>
-    <input type="submit" value="Edit" />
+    <div class="control-group">
+      <label class="control-label" for="ch">Changeset:</label>
+      <div class="controls">
+        <input type="text" name="changeset" id="ch" class="changeset-text input-xxlarge" />
+      </div>
+    </div>
+    <div class="control-group">
+      <label class="control-label" for="repo">Repository:</label>
+      <div class="controls">
+        <input type="text" name="repository" id="repo" />
+      </div>
+    </div>
+    <div class="control-group">
+      <label class="control-label" for="iss">Issues:</label>
+      <div class="controls">
+	<input type="text" name="issues" id="iss" />
+	<p class="text-info">Issues are colon (':') separated</p>
+      </div>
+    </div>
+
+    <div class="form-actions">
+      <input class="btn btn-primary" type="submit" value="Edit" />
+    </div>
   </fieldset>
 </form>
 {% endblock %}