From 43f9d78f8c00e13732b809519f0529ac293fd5ab Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sun, 29 Oct 2023 07:41:04 -0500 Subject: Rename to ustayml (u-stayML) --- flaskr/templates/auth/login.html | 15 --------------- flaskr/templates/auth/register.html | 15 --------------- flaskr/templates/base.html | 25 ------------------------- flaskr/templates/blog/create.html | 15 --------------- flaskr/templates/blog/index.html | 34 ---------------------------------- flaskr/templates/blog/update.html | 20 -------------------- 6 files changed, 124 deletions(-) delete mode 100644 flaskr/templates/auth/login.html delete mode 100644 flaskr/templates/auth/register.html delete mode 100644 flaskr/templates/base.html delete mode 100644 flaskr/templates/blog/create.html delete mode 100644 flaskr/templates/blog/index.html delete mode 100644 flaskr/templates/blog/update.html (limited to 'flaskr/templates') diff --git a/flaskr/templates/auth/login.html b/flaskr/templates/auth/login.html deleted file mode 100644 index b7dd5dc..0000000 --- a/flaskr/templates/auth/login.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends 'base.html' %} - -{% block header %} -

{% block title %}Log In{% endblock %}

-{% endblock %} - -{% block content %} -
- - - - - -
-{% endblock %} \ No newline at end of file diff --git a/flaskr/templates/auth/register.html b/flaskr/templates/auth/register.html deleted file mode 100644 index a3c73cc..0000000 --- a/flaskr/templates/auth/register.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends 'base.html' %} - -{% block header %} -

{% block title %}Register{% endblock %}

-{% endblock %} - -{% block content %} -
- - - - - -
-{% endblock %} \ No newline at end of file diff --git a/flaskr/templates/base.html b/flaskr/templates/base.html deleted file mode 100644 index 6ea4864..0000000 --- a/flaskr/templates/base.html +++ /dev/null @@ -1,25 +0,0 @@ - -{% block title %}{% endblock %} - Flaskr - - - -
-
- {% block header %}{% endblock %} -
- {% for message in get_flashed_messages() %} -
{{ message }}
- {% endfor %} - {% block content %}{% endblock %} -
\ No newline at end of file diff --git a/flaskr/templates/blog/create.html b/flaskr/templates/blog/create.html deleted file mode 100644 index 88e31e4..0000000 --- a/flaskr/templates/blog/create.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends 'base.html' %} - -{% block header %} -

{% block title %}New Post{% endblock %}

-{% endblock %} - -{% block content %} -
- - - - - -
-{% endblock %} diff --git a/flaskr/templates/blog/index.html b/flaskr/templates/blog/index.html deleted file mode 100644 index 0fb2e80..0000000 --- a/flaskr/templates/blog/index.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends 'base.html' %} - - -{% block header %} -

{% block title %}Posts{% endblock %}

- {% if g.user %} - New - {% endif %} -{% endblock %} - -{% block content %} - {% for post in posts %} -
-
-
- {% if post['title'].__len__() > 80 %} -

{{ post['title'][:80] }}

- {% else %} -

{{ post['title'] }}

- {% endif %} -
by {{ post['username'] }} on {{ post['created'].strftime('%Y-%m-%d') }}
-
- {% if g.user['id'] == post['author_id'] %} - Edit - {% endif %} -
-

{{ post['body'] }}

-
- {% if not loop.last %} - {# Separate posts with a line #} -
- {% endif %} - {% endfor %} -{% endblock %} \ No newline at end of file diff --git a/flaskr/templates/blog/update.html b/flaskr/templates/blog/update.html deleted file mode 100644 index 7420f57..0000000 --- a/flaskr/templates/blog/update.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends 'base.html' %} - -{% block header %} -

{% block title %}Edit "{{ post['title'] }}"{% endblock %}

-{% endblock %} - -{% block content %} -
- - - - - -
-
-
- -
-{% endblock %} \ No newline at end of file -- cgit v1.2.3