diff --git a/pom.xml b/pom.xml index 6477c90..39ea1ee 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.2.50 + 0.2.51 diff --git a/static/templates/archive.st b/static/templates/archive.st index 6cc382a..62dda62 100644 --- a/static/templates/archive.st +++ b/static/templates/archive.st @@ -1,13 +1,19 @@ «head()» - + «navigation()» «userinfo()» «messages()» -

Widerhall List Archive

+

«data.list»   List Archive

+ +
+ Subscription + subscribe + un-subscribe +
«if(data.month)» - +
@@ -18,7 +24,7 @@ loadArchive('«data.list»','«data.month»'); «else» -
Datum Absender
+
diff --git a/static/templates/css.st b/static/templates/css.st index 54af655..90cc8eb 100644 --- a/static/templates/css.st +++ b/static/templates/css.st @@ -132,6 +132,14 @@ td, th{ text-align: center; } +#archive fieldset{ + text-align: center; +} + +#archive fieldset a{ + display: initial; +} + #archive td, #archive th{ text-align: left; } @@ -141,7 +149,7 @@ pre { margin-left: 10px; } -#archive a{ +#archive table a{ background: none; border: none; text-decoration: underline; diff --git a/static/templates/js.st b/static/templates/js.st index 01f278e..be4b7b7 100644 --- a/static/templates/js.st +++ b/static/templates/js.st @@ -86,7 +86,7 @@ function showListArchive(data){ $(''); $('
Monat Zahl der Nachrichten').html(''+post.date+'').appendTo(row); $('').html(''+post.from_name+'').appendTo(row); $('').html(''+post.subject+'').appendTo(row); - row.appendTo($('#archive')); + row.appendTo($('#archive table')); } } @@ -98,7 +98,7 @@ function showListArchiveSummary(data){ let row = $('
').html(''+month+'').appendTo(row); $('').html(''+summary[month]+'').appendTo(row); - row.appendTo($('#archive')); + row.appendTo($('#archive table')); } }