aboutsummaryrefslogtreecommitdiff
path: root/templates/layout.html
diff options
context:
space:
mode:
authorofshellohicy <ofshellohicy@gmail.com>2014-07-18 14:50:32 +0800
committerofshellohicy <ofshellohicy@gmail.com>2014-07-18 14:50:32 +0800
commit35d68cc0769f2f3c8fb0d63f85fc780b856a8209 (patch)
tree33821cc31b3fee53c20edd3da69784beea78d7f6 /templates/layout.html
parentrst -> txt (diff)
downloadstackbin-35d68cc0769f2f3c8fb0d63f85fc780b856a8209.tar.gz
stackbin-35d68cc0769f2f3c8fb0d63f85fc780b856a8209.tar.bz2
stackbin-35d68cc0769f2f3c8fb0d63f85fc780b856a8209.zip
remove useless feature
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 206f750..229644d 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -1,25 +1,31 @@
<!doctype html>
<title>{% block title %}{% endblock %} | Flask Pastebin</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
-<script type=text/javascript src="{{ config.JUGGERNAUT_DRIVER }}"></script>
-<script type=text/javascript src="{{ url_for('static', filename='jquery.js') }}"></script>
+<link rel="stylesheet" media="screen and (max-width: 800px)"
+href="{{ url_for('static', filename='small.css') }}" />
+<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
+<meta name="apple-mobile-web-app-capable" content="yes">
+<meta name="apple-mobile-web-app-status-bar-style" content="black">
+<meta name="format-detection" content="telephone=no">
+
+{#<script type=text/javascript src="{{ url_for('static', filename='jquery.js') }}"></script>
<script type=text/javascript src="{{ url_for('static', filename='pastebin.js') }}"></script>
<script type=text/javascript>
pastebin.urlRoot = {{ request.url_root|tojson|safe }};
-{%- if g.user %}
- pastebin.subscribeUser({{ g.user.id }});
-{%- endif %}
</script>
+#}
<div class=page>
<h1>Flask Pastebin</h1>
<ul class=nav>
<li><a href="{{ url_for('new_paste') }}">New Paste</a>
+ {#
{% if g.user %}
<li><a href="{{ url_for('my_pastes') }}">My Pastes</a>
<li><a href="{{ url_for('logout') }}">Sign out ({{ g.user.display_name }})</a>
{% else %}
<li><a href="{{ url_for('login') }}">Sign in with Facebook</a>
{% endif %}
+ #}
</ul>
{% for message in get_flashed_messages() %}
<p class=flash>{{ message }}
bgstack15