From 662a8a111721df714e9c95f94db91d2d03d7b19d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Sun, 14 Mar 2010 18:22:35 +0100 Subject: [PATCH] * Improved history view (still not there). * Added debug toolbar, to apps. * Fewer queries for toolbar (which should be cached). * Store "last visited" in user's session. Closes #354. --- .../templates/compress/.tmp_css.html.32854~ | 1 - .../templates/compress/.tmp_js.html.60841~ | 1 - apps/toolbar/templates/toolbar/button.html | 2 +- apps/toolbar/templatetags/toolbar_tags.py | 2 +- apps/wiki/nice_diff.py | 26 +++++ apps/wiki/templates/wiki/diff_table.html | 20 ++++ apps/wiki/templates/wiki/document_list.html | 31 +++--- apps/wiki/views.py | 39 ++++---- platforma/settings.py | 12 ++- platforma/static/css/filelist.css | 38 +++++--- platforma/static/css/master.css | 95 +++++++++++++------ platforma/static/js/main.js | 6 +- platforma/templates/base.html | 2 + requirements.txt | 2 + scripts/nice_diff.py | 57 ----------- 15 files changed, 196 insertions(+), 138 deletions(-) delete mode 100644 apps/compress/templates/compress/.tmp_css.html.32854~ delete mode 100644 apps/compress/templates/compress/.tmp_js.html.60841~ create mode 100755 apps/wiki/nice_diff.py create mode 100644 apps/wiki/templates/wiki/diff_table.html delete mode 100644 scripts/nice_diff.py diff --git a/apps/compress/templates/compress/.tmp_css.html.32854~ b/apps/compress/templates/compress/.tmp_css.html.32854~ deleted file mode 100644 index 3751a4a0..00000000 --- a/apps/compress/templates/compress/.tmp_css.html.32854~ +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/compress/templates/compress/.tmp_js.html.60841~ b/apps/compress/templates/compress/.tmp_js.html.60841~ deleted file mode 100644 index 8419c20a..00000000 --- a/apps/compress/templates/compress/.tmp_js.html.60841~ +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/toolbar/templates/toolbar/button.html b/apps/toolbar/templates/toolbar/button.html index 25a7c429..8335918a 100644 --- a/apps/toolbar/templates/toolbar/button.html +++ b/apps/toolbar/templates/toolbar/button.html @@ -2,7 +2,7 @@ {% endif %}