paste deletion is possible now
[phorkie.git] / data / templates / display.htm
index ef2dccf..2ba490e 100644 (file)
 {% block content %}
 <h1>{{repo.getDescription}}</h1>
 <div class="row-fluid">
- <div class="span6">
+ <div class="span4">
   <a class="btn" href="{{repo.getLink('edit')}}"><i class="icon-edit"></i> edit</a>
  </div>
- <div class="span6" style="text-align: right">
-  <a class="btn" href="{{repo.getLink('fork')}}"><i class="icon-share"></i> fork</a>
+ <div class="span4" style="text-align: center">
+  <h3>Paste #{{repo.id}}</h3>
+ </div>
+ <div class="span4" style="text-align: right">
+  <form method="post" action="{{repo.getLink('fork')}}">
+    <button type="submit" class="btn"><i class="icon-share"></i> fork</button>
+  </form>
  </div>
 </div>
 
  </div>
 </div>
 {% endfor %}
+
+<div class="row-fluid" style="margin-top: 5ex">
+ <div class="span12" style="text-align: right;">
+  <a class="btn btn-warning" href="{{repo.getLink('delete')}}">
+   <i class="icon-trash icon-white"></i> Delete
+  </a>
+ </div>
+</div>
 {% endblock %}
 
 {% block sidebar %}
 sidebar FIXME
-{% endblock %}
\ No newline at end of file
+{% endblock %}