From 27af84da65e2d0660f8afd75778906a94211566e Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Sun, 10 Mar 2019 11:05:57 +0000 Subject: [PATCH] Remove the news section as it never gets updated Fix logbook entry so the edit link works Tidy the control panel page --- templates/controlPanel.html | 52 +++++++++++++++++++++++++------------ templates/frontpage.html | 11 -------- templates/logbookentry.html | 2 +- 3 files changed, 37 insertions(+), 28 deletions(-) diff --git a/templates/controlPanel.html b/templates/controlPanel.html index 327af13..41c9409 100644 --- a/templates/controlPanel.html +++ b/templates/controlPanel.html @@ -23,25 +23,45 @@
-

Wipe:

- - - -
Wipe entire database and recreate tables:
+

Wipe:

+ + + + + + +
Wipe entire database and recreate tables: + +

Import (non-destructive):

- - - - - - - - -
people from folk.csv using parsers\people.py
caves from cavetab2.csv using parsers\cavetab.py
logbook entries using parsers\logbooks.py
QMs using parsers\QMs.py
survey scans using parsers\surveys.py
survex data using parsers\survex.py
- - + + + + + + + + + + + + + + + + + + + + + + + + + +
people from folk.csv using parsers\people.py
caves from cavetab2.csv using parsers\cavetab.py
logbook entries using parsers\logbooks.py
QMs using parsers\QMs.py
survey scans using parsers\surveys.py
survex data using parsers\survex.py

diff --git a/templates/frontpage.html b/templates/frontpage.html index f07722a..28206b6 100644 --- a/templates/frontpage.html +++ b/templates/frontpage.html @@ -49,17 +49,6 @@ Here you will find information about the {{expedition.objects.count}} expedition If you are an expedition member, please sign up using the link to the top right and begin editing.

-

News

- -

-Everyone is gearing up for the 2009 expedition; please see the link below for the main expedition website. -

- -

Troggle development

-

-Troggle is still under development. Check out the development page on google code, where you can file bug reports, make suggestions, and help develop the code. There is also an old todo list at here. -

- {% endblock content %} {% block margins %} diff --git a/templates/logbookentry.html b/templates/logbookentry.html index 93ce32b..2b60996 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -2,7 +2,7 @@ {% load wiki_markup %} {% block title %}Logbook {{logbookentry.id}}{% endblock %} -{% block editLink %}Edit logbook entry {{logbookentry|wiki_to_html_short}}{% endblock %} +{% block editLink %}Edit logbook entry {{logbookentry|wiki_to_html_short}}{% endblock %} {% block content %} {% block related %}{% endblock %}