summaryrefslogtreecommitdiff
path: root/lib/okpush/templates/new.liquid
diff options
context:
space:
mode:
Diffstat (limited to 'lib/okpush/templates/new.liquid')
-rw-r--r--lib/okpush/templates/new.liquid45
1 files changed, 45 insertions, 0 deletions
diff --git a/lib/okpush/templates/new.liquid b/lib/okpush/templates/new.liquid
new file mode 100644
index 00000000..0393535c
--- /dev/null
+++ b/lib/okpush/templates/new.liquid
@@ -0,0 +1,45 @@
+{% include 'partials/head' %}
+
+{% include 'partials/flash' %}
+
+<style>
+</style>
+
+<nav class="resource-nav">
+ <a href="/admin/" class="btn">Back</a>
+</nav>
+
+<section class="main resource">
+
+ <h2>Custom Push Notification</h2>
+
+ <form id='custom'>
+
+ <div>
+ <label for='message'>Message</label>
+ <input type='text' name='message' id='message'>
+ </div>
+
+ <div>
+ <label for='dest'>Destination</label>
+ <select id='dest' name='dest'>
+ <option>/</option>
+ <option selected>/store</option>
+ <option>/hub</option>
+ <option>/story</option>
+ <option>/archive</option>
+ </select>
+ (will open after push is tapped)
+ </div>
+
+ <div>
+ <input type='submit' value='Send Push Notification'>
+ </div>
+
+ </form>
+
+</section>
+
+{% include 'partials/tail' %}
+
+<script src="public/push.js"></script> \ No newline at end of file