From 79cb9f921d1fdb063bc3388e3e83c075fe7fcc3f Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 27 Aug 2009 19:18:06 +0200 Subject: [PATCH] Various design fixes and improvements. --- kronolith/js/kronolith.js | 6 ++--- kronolith/templates/index/agenda.inc | 4 ++-- kronolith/templates/index/day.inc | 6 +++++ kronolith/templates/index/edit.inc | 43 +++++++++++++++++------------------- kronolith/templates/index/index.inc | 18 +++++---------- kronolith/templates/index/tasks.inc | 2 +- kronolith/templates/index/year.inc | 4 ++-- kronolith/themes/screen.css | 22 ++++++++++++------ 8 files changed, 54 insertions(+), 51 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 230d78dd7..5c5e7086c 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -397,9 +397,9 @@ KronolithCore = { break; case 'year': - var viewBody = $('kronolithViewYear'), month; + var month; - viewBody.down('caption span').innerHTML = this.setTitle(date.toString('yyyy')); + $('kronolithYearDate').innerHTML = this.setTitle(date.toString('yyyy')); // Build new calendar view. for (month = 0; month < 12; month++) { @@ -415,7 +415,7 @@ KronolithCore = { if (view == 'agenda') { var dates = this.viewDates(date, view), day = dates[0].clone(); - $('kronolithViewAgenda').down('caption span').innerHTML = this.setTitle(Kronolith.text.agenda + ' ' + dates[0].toString('d') + ' - ' + dates[1].toString('d')); + $('kronolithAgendaDate').innerHTML = this.setTitle(Kronolith.text.agenda + ' ' + dates[0].toString('d') + ' - ' + dates[1].toString('d')); } else { $('kronolithViewAgenda').down('caption span').update(this.setTitle(Kronolith.text.searching.interpolate({ 'term': data }))); } diff --git a/kronolith/templates/index/agenda.inc b/kronolith/templates/index/agenda.inc index 36db85b03..0d3ef3f67 100644 --- a/kronolith/templates/index/agenda.inc +++ b/kronolith/templates/index/agenda.inc @@ -1,8 +1,8 @@ @@ -13,17 +13,9 @@
- -
-
format('l, j') ?>
+
"> +
format('l, j F Y') ?>
-
-
format('F') ?>
-
-
-
format('Y') ?>
-
-
@@ -98,7 +90,7 @@
diff --git a/kronolith/templates/index/tasks.inc b/kronolith/templates/index/tasks.inc index 975b9f942..715ccb237 100644 --- a/kronolith/templates/index/tasks.inc +++ b/kronolith/templates/index/tasks.inc @@ -1,7 +1,7 @@