From 35d68cc0769f2f3c8fb0d63f85fc780b856a8209 Mon Sep 17 00:00:00 2001 From: ofshellohicy Date: Fri, 18 Jul 2014 14:50:32 +0800 Subject: remove useless feature --- templates/layout.html | 16 +++++++++++----- templates/show_paste.html | 3 --- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'templates') 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 @@ {% block title %}{% endblock %} | Flask Pastebin - - + + + + + + +{# +#}

Flask Pastebin

{% for message in get_flashed_messages() %}

{{ message }} diff --git a/templates/show_paste.html b/templates/show_paste.html index 7eeaa4b..1c42e99 100644 --- a/templates/show_paste.html +++ b/templates/show_paste.html @@ -29,7 +29,4 @@ {% endif %}

{{ paste.code }}
- {% endblock %} -- cgit From 60ab734aa13c69687c19aed839e3c2e25a25bf8a Mon Sep 17 00:00:00 2001 From: ofshellohicy Date: Fri, 18 Jul 2014 15:05:30 +0800 Subject: continue to remove useless feature --- templates/delete_paste.html | 11 ----------- templates/my_pastes.html | 13 ------------- 2 files changed, 24 deletions(-) delete mode 100644 templates/delete_paste.html delete mode 100644 templates/my_pastes.html (limited to 'templates') diff --git a/templates/delete_paste.html b/templates/delete_paste.html deleted file mode 100644 index e258dae..0000000 --- a/templates/delete_paste.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Delete Paste #{{ paste.id }}{% endblock %} -{% block body %} -

Delete Paste #{{ paste.id }}

-
-

Are you sure you want to delete the paste? You cannot undo this. -

- - -

-{% endblock %} diff --git a/templates/my_pastes.html b/templates/my_pastes.html deleted file mode 100644 index 64967ad..0000000 --- a/templates/my_pastes.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "layout.html" %} -{% block title %}My Pastes{% endblock %} -{% from '_pagination.html' import render_pagination %} -{% block body %} -

My Pastes

-
    - {% for paste in pagination.items %} -
  • #{{ paste.id }} - from {{ paste.pub_date.strftime('%Y-%m-%d @ %H:%M') }} - {% endfor %} -
- {{ render_pagination(pagination) }} -{% endblock %} -- cgit From a15f0ed6c2904fb7bc0345012301f57682581855 Mon Sep 17 00:00:00 2001 From: ofshellohicy Date: Wed, 23 Jul 2014 11:35:41 +0800 Subject: update layout tmpl --- templates/layout.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/layout.html b/templates/layout.html index 229644d..64298f2 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,12 +1,12 @@ {% block title %}{% endblock %} | Flask Pastebin - - + + {# -- cgit