summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/group.html2
-rw-r--r--templates/pad.html6
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/group.html b/templates/group.html
index 5177c50..8d90599 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -31,7 +31,7 @@
<tr>
<td class="col-sm-11">
- <a href="#" class="btn-block">{{pad}}</a>
+ <a href="{{ url_for('pad', group_name=group.name, pad_name=pad.name) }}" class="btn-block">{{pad}}</a>
</td>
<td class="col-sm-1 text-right">
<a href="{{ url_for('pad_change', group_name=group.name, pad_name=pad.name) }}" class="btn-block glyphicon glyphicon-cog" />
diff --git a/templates/pad.html b/templates/pad.html
new file mode 100644
index 0000000..8dd4d40
--- /dev/null
+++ b/templates/pad.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+<frameset cols="100%">
+ <frame src="{{ host }}/p/{{ pad.api_id }}">
+</frameset>
+</html>