From 33492754881a27c88f6a1ed38e463bba15ecf837 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 21 Mar 2018 18:53:43 -0700 Subject: merge front and back --- webface/static/robots.txt | 1 - webface/templates/base.html | 70 ------------- webface/templates/home.html | 32 ------ webface/templates/work_add.html | 215 --------------------------------------- webface/templates/work_view.html | 37 ------- webface/webface.py | 87 ---------------- 6 files changed, 442 deletions(-) delete mode 100644 webface/static/robots.txt delete mode 100644 webface/templates/base.html delete mode 100644 webface/templates/home.html delete mode 100644 webface/templates/work_add.html delete mode 100644 webface/templates/work_view.html delete mode 100755 webface/webface.py (limited to 'webface') diff --git a/webface/static/robots.txt b/webface/static/robots.txt deleted file mode 100644 index a168f11b..00000000 --- a/webface/static/robots.txt +++ /dev/null @@ -1 +0,0 @@ -# Hello friends! diff --git a/webface/templates/base.html b/webface/templates/base.html deleted file mode 100644 index 4e9dcd4b..00000000 --- a/webface/templates/base.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - {% block title %}fatcat!{% endblock %} - - - - - - - - - - -
-{% block body %}Nothing to see here.{% endblock %} -
- - - - -{% block postscript %}{% endblock %} - - - diff --git a/webface/templates/home.html b/webface/templates/home.html deleted file mode 100644 index d9cc34a2..00000000 --- a/webface/templates/home.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "base.html" %} -{% block body %} - -

Salutations!

- -Just mockups for now... - - - -{% endblock %} diff --git a/webface/templates/work_add.html b/webface/templates/work_add.html deleted file mode 100644 index ac8a8169..00000000 --- a/webface/templates/work_add.html +++ /dev/null @@ -1,215 +0,0 @@ -{% extends "base.html" %} -{% block body %} -
-

Adding a New Thing

- -
- -

The Basics

- -
- - -
- -
- - -
- - - - - -
- -
- - -
-
- - -
- - -
- - -
- - -
- - -

Primary Release / Edition

- - - - - - - - - - - - - -

Anything Else?

- - - - -
Create Work
-
- -
-{% endblock %} - -{% block postscript %} - -{% endblock %} diff --git a/webface/templates/work_view.html b/webface/templates/work_view.html deleted file mode 100644 index 8c5e955d..00000000 --- a/webface/templates/work_view.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "base.html" %} -{% block body %} - -

{{ work.title }}

- -

Work type: {{ work.type }} -

History -

Contributors: -{% for c in work.contributors %} {{ c.name }}; {% endfor %} - -{% if primary %} -

Primary Release/Edition

-

Title: {{ primary.title }} -

Date: {{ primary.date }} - -{% if primary.container %} -

Container: {{ primary.container.title }} -{% endif %} - -{% if primary.doi %} -

DOI: {{ primary.doi }} -{% endif %} - -{% else %} -

No primary release -{% endif %} - -{% if releases %} -