summaryrefslogtreecommitdiff
path: root/templates/attention_bar.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/attention_bar.html')
-rw-r--r--templates/attention_bar.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/attention_bar.html b/templates/attention_bar.html
new file mode 100644
index 00000000..44afc78e
--- /dev/null
+++ b/templates/attention_bar.html
@@ -0,0 +1,10 @@
+{% if config.attention_bar %}
+<div id="attention_bar" style="height: 1.5em; width: 100%; padding: 0; margin: 0; text-align: center; display: block;></div>
+<form method="post" action="/attentionbar.php" id="attention_bar_form" style="display: none; padding: 0; margin: 0;">
+ <input id="attention_bar_input" name="text" style="width: 100%; padding: 0; margin: 0; text-align: center;" value="" type="text">
+</form>
+<style>
+#attention_bar:hover { background-color: #fff; opacity: 0.8; }
+</style>
+<script type="text/javascript" src="/js/attention-bar.js"></script>
+{% endif %}