css improvements
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
«head()»
|
||||
<body>
|
||||
<body id="archive">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
«messages()»
|
||||
<h1>Widerhall List Archive</h1>
|
||||
<h1>«data.list» List Archive</h1>
|
||||
|
||||
<fieldset>
|
||||
<legend>Subscription</legend>
|
||||
<a href="subscribe?list=«data.list»">subscribe</a>
|
||||
<a href="unsubscribe?list=«data.list»">un-subscribe</a>
|
||||
</fieldset>
|
||||
«if(data.month)»
|
||||
<table id="archive">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>From</th>
|
||||
@@ -18,7 +24,7 @@
|
||||
loadArchive('«data.list»','«data.month»');
|
||||
</script>
|
||||
«else»
|
||||
<table id="archive">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Month</th>
|
||||
<th>Number of messages</th>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -86,7 +86,7 @@ function showListArchive(data){
|
||||
$('<td/>').html('<a href="'+url+'">'+post.date+'</a>').appendTo(row);
|
||||
$('<td/>').html('<a href="'+url+'">'+post.from_name+'</a>').appendTo(row);
|
||||
$('<td/>').html('<a href="'+url+'">'+post.subject+'</a>').appendTo(row);
|
||||
row.appendTo($('#archive'));
|
||||
row.appendTo($('#archive table'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ function showListArchiveSummary(data){
|
||||
let row = $('<tr/>');
|
||||
$('<td/>').html('<a href="'+url+'">'+month+'</a>').appendTo(row);
|
||||
$('<td/>').html('<a href="'+url+'">'+summary[month]+'</a>').appendTo(row);
|
||||
row.appendTo($('#archive'));
|
||||
row.appendTo($('#archive table'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user