summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 03:21:29 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 03:21:29 +0100
commitb4b3f4f17b6b347633459c3f00322d78e77f0814 (patch)
tree4053a62e636da4eccc8c5104afdfe4b0b5415357 /templates
parent2c59dcacc2163ac48e36f1fde5fa6b10f769442f (diff)
downloadpadlite-teams-b4b3f4f17b6b347633459c3f00322d78e77f0814.tar.gz
padlite-teams-b4b3f4f17b6b347633459c3f00322d78e77f0814.tar.bz2
padlite-teams-b4b3f4f17b6b347633459c3f00322d78e77f0814.zip
templates/pad: add page with frame for real pad
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>