From e08c31e7cfa9c1718c0edf207934b228d48cde98 Mon Sep 17 00:00:00 2001 From: Eddie Welker Date: Tue, 26 Jan 2016 20:04:03 -0500 Subject: [PATCH] intial attempt, separate templates, and add update script, just to keep it around. --- hf/templates/__base.html | 73 +++ hf/templates/includes/_bluebar.html | 712 +++++++++++++++++++++ hf/templates/includes/_footer.html | 92 +++ hf/templates/includes/_footer_dynamic.html | 12 + hf/templates/includes/_header.html | 37 ++ update_script.sh | 1 + 6 files changed, 927 insertions(+) create mode 100644 hf/templates/__base.html create mode 100644 hf/templates/includes/_bluebar.html create mode 100644 hf/templates/includes/_footer.html create mode 100644 hf/templates/includes/_footer_dynamic.html create mode 100644 hf/templates/includes/_header.html create mode 100755 update_script.sh diff --git a/hf/templates/__base.html b/hf/templates/__base.html new file mode 100644 index 0000000..f316780 --- /dev/null +++ b/hf/templates/__base.html @@ -0,0 +1,73 @@ + + + + + + {% block pagetitle %}{{ NCBI_APP_NAME }} - NCBI{% endblock pagetitle %} + + + {% load staticfiles %} + {% load compress %} + + {% compress css %} + + + + + + + + + + + {% endcompress %} + + {% block extra_head_content %}{% endblock %} + + + +
+
+ {% include "includes/_bluebar.html" only %} + {% include "includes/_header.html" %} + + {% block content %}{% endblock %} + + {% include "includes/_footer_dynamic.html" %} + {% include "includes/_footer.html" only %} + +
+
+ + + + {% compress css %} + + {% endcompress %} + + {% compress js %} + + + + {% endcompress %} + + {% block extra_foot_content %}{% endblock %} + + + diff --git a/hf/templates/includes/_bluebar.html b/hf/templates/includes/_bluebar.html new file mode 100644 index 0000000..3856443 --- /dev/null +++ b/hf/templates/includes/_bluebar.html @@ -0,0 +1,712 @@ +
+ + +
diff --git a/hf/templates/includes/_footer.html b/hf/templates/includes/_footer.html new file mode 100644 index 0000000..a87daf7 --- /dev/null +++ b/hf/templates/includes/_footer.html @@ -0,0 +1,92 @@ + diff --git a/hf/templates/includes/_footer_dynamic.html b/hf/templates/includes/_footer_dynamic.html new file mode 100644 index 0000000..8602173 --- /dev/null +++ b/hf/templates/includes/_footer_dynamic.html @@ -0,0 +1,12 @@ +
+ + Help Desk +
diff --git a/hf/templates/includes/_header.html b/hf/templates/includes/_header.html new file mode 100644 index 0000000..2f71198 --- /dev/null +++ b/hf/templates/includes/_header.html @@ -0,0 +1,37 @@ +
+ + + + +
diff --git a/update_script.sh b/update_script.sh new file mode 100755 index 0000000..48127a2 --- /dev/null +++ b/update_script.sh @@ -0,0 +1 @@ +git fetch --tags st; git push gh --follow-tags