Skin spring cleaning: unified and restructured skin parts and removed obsolete markup
This commit is contained in:
parent
39ed0cb016
commit
5ec14e5c06
28 changed files with 423 additions and 381 deletions
|
@ -14,14 +14,18 @@ document.writeln('<' + 'scr' + 'ipt type="text/javascript"' +
|
|||
</tr>
|
||||
|
||||
<% #create %>
|
||||
<% gettext "To create a new site you need to fill out the form below." %>
|
||||
<p><% gettext 'The name will be part of the URL of your site. E.g. if you
|
||||
enter “{0}” as the name, your site will be reachable via the url {1}'
|
||||
<% example.name %> <% example.href prefix=<code> suffix=</code> %> %></p>
|
||||
<p><% gettext "Please note that you cannot change the name after the site was
|
||||
created." %></p>
|
||||
<p><% gettext "The title will appear in the header of every page of your site.
|
||||
You can change it anytime you want." %></p>
|
||||
<p class="storyTitle"><% response.title %></p>
|
||||
<div>
|
||||
<% gettext "To create a new site you need to fill out the form below." %>
|
||||
</div>
|
||||
<div class="small">
|
||||
<p><% gettext 'The name will be part of the URL of your site. E.g. if you
|
||||
enter “{0}” as the name your site will be reachable via this url: {1}'
|
||||
<% example.name %> <% example.href prefix="<br /><code>" suffix=</code> %> %></p>
|
||||
<p><% gettext "Please note that you cannot change the name after the site was
|
||||
created." %> <% gettext "The title will appear in the header of every page
|
||||
of your site. You can change it anytime you want." %></p>
|
||||
</div>
|
||||
<p>
|
||||
<form method="post" action="<% response.action %>">
|
||||
<table border="0" cellspacing="0" cellpadding="3">
|
||||
|
@ -64,6 +68,8 @@ REGEDIT4
|
|||
"contexts"=hex:31
|
||||
|
||||
<% #referrers %>
|
||||
<p class="storyTitle"><% response.title %></p>
|
||||
<br />
|
||||
<form action="<% response.action %>" method="get">
|
||||
<input type="text" name="filter" value="<% request.filter encoding="form" %>"
|
||||
size="30" />
|
||||
|
@ -73,7 +79,7 @@ size="30" />
|
|||
<div class="small">
|
||||
<input type="checkbox" id="includeSpam" name="includeSpam" value="checked"
|
||||
<% request.includeSpam prefix='checked="' suffix='"' encoding="form" %> />
|
||||
<label for="includeSpam">include referrer spam</label>
|
||||
<label for="includeSpam">Include Referrer Spam</label>
|
||||
</div>
|
||||
<br />
|
||||
<table border="0" cellspacing="0" cellpadding="2">
|
||||
|
@ -146,6 +152,10 @@ using client-side JavaScript code. Thus, you should enable the option to
|
|||
execute JavaScript code in your browser. Otherwise you will only see this
|
||||
information." %>
|
||||
|
||||
<% #deleted %>
|
||||
<% gettext "This site is going to be deleted completely and irreversibly on {0}"
|
||||
<% site.deleted %> %>.
|
||||
|
||||
<% #export %>
|
||||
<p class="title">Export Site Data</p><br />
|
||||
<% param.fileUrl prefix='<p><a href="' suffix=<% param.fileDate
|
||||
|
@ -156,11 +166,13 @@ information." %>
|
|||
</form>
|
||||
|
||||
<% #edit %>
|
||||
<p class="storyTitle"><% response.title %></p>
|
||||
<form id="prefs" method="post" action="<% response.action %>">
|
||||
<table border="0" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<strong><a name="general"><% gettext General %></a></strong>
|
||||
<a id="general" name="general"></a>
|
||||
<strong><% gettext General %></strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -195,15 +207,15 @@ information." %>
|
|||
<td><% site.select locale %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small"><% gettext "Time zone" suffix=: %></td>
|
||||
<td class="small"><% gettext "Time Zone" suffix=: %></td>
|
||||
<td><% site.select timeZone %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small"><% gettext "Long date format" suffix=: %></td>
|
||||
<td class="small"><% gettext "Long Date Format" suffix=: %></td>
|
||||
<td><% site.select longDateFormat %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small"><% gettext "Short date format" suffix=: %></td>
|
||||
<td class="small"><% gettext "Short Date Format" suffix=: %></td>
|
||||
<td><% site.select shortDateFormat %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -212,19 +224,21 @@ information." %>
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small" valign="top"><% gettext "Web hook" suffix=: %></td>
|
||||
<td class="small" valign="top"><% gettext "Web Hook" suffix=: %></td>
|
||||
<td><% site.input callbackUrl %><br />
|
||||
<% site.checkbox callbackMode %>
|
||||
<label for="callbackMode"><% gettext enabled %><label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><div class="listSeparator"> </div>
|
||||
<strong><a name="spamfilter">Referrer spam filter</a></strong></td>
|
||||
<td colspan="2"><div class="listSeparator"> </div>
|
||||
<a id="spamfilter" name="spamfilter"></a>
|
||||
<strong><% gettext "Referrer Spam Filter" %></strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small" valign="top">Enter one
|
||||
<a href="http://en.wikipedia.org/wiki/Regular_expression">filter pattern</a>
|
||||
per line to be applied on every URL in the referrer and backlink lists.</td>
|
||||
<td class="small" valign="top"><% gettext "Enter one filter {0}pattern{1} per
|
||||
line to be applied on every URL in the referrer and backlink lists."
|
||||
'<a href="http://en.wikipedia.org/wiki/Regular_expression">' </a> %></td>
|
||||
<td valign="top"><% site.textarea spamfilter cols="30" rows="7" %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -17,7 +17,7 @@ prefix="Last update: " default="None so far" %>)</span></li>
|
|||
<div><% site.galleries.link prefix="... " %></div>
|
||||
</div>
|
||||
<p class="navigation">
|
||||
<div><% site.stories.link create <% gettext "Add story" %> prefix="... " %></div>
|
||||
<div><% site.stories.link create <% gettext "Add Story" %> prefix="... " %></div>
|
||||
<div><% site.stories.link prefix="... " %></div>
|
||||
<div><% site.images.link prefix="... " %></div>
|
||||
<div><% site.files.link prefix="... " %></div>
|
||||
|
@ -26,21 +26,20 @@ prefix="Last update: " default="None so far" %>)</span></li>
|
|||
</p>
|
||||
<p class="navigation">
|
||||
<div><% site.link edit <% gettext Preferences %> prefix="... " %></div>
|
||||
<div><% layout.link . <% gettext Layout %> prefix="... " %></div>
|
||||
<div><% layout.skins.link prefix="... " %></div>
|
||||
<div><% site.layout.link . <% gettext Layout %> prefix="... " %></div>
|
||||
<div><% site.link referrers prefix="... " %></div>
|
||||
<div><% site.stories.link top <% gettext "Top stories" %> prefix="... " %></div>
|
||||
<div><% site.stories.link top <% gettext "Top Stories" %> prefix="... " %></div>
|
||||
</p>
|
||||
<p class="navigation">
|
||||
<div><% root.title prefix="... " | root.link %></div>
|
||||
</p>
|
||||
|
||||
<% #search %>
|
||||
<form method="post" action="<% site.href search %>">
|
||||
<input type="text" name="q" class="searchbox"
|
||||
<form class="nowrap" method="post" action="<% site.href search %>">
|
||||
<input type="text" size="15" name="q" class="searchbox"
|
||||
value="<% request.q encoding="form" %>" />
|
||||
<button type="submit" name="search" value="1"
|
||||
class="searchbox">search</button>
|
||||
class="searchbox">Search</button>
|
||||
</form>
|
||||
|
||||
<% #robots %>
|
||||
|
@ -64,14 +63,14 @@ Disallow: /stories/top
|
|||
<link rel="alternate" type="application/rss+xml" title="Stories of <% site.title %>" href="<% site.href stories.xml %>" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Comments of <% site.title %>" href="<% site.href comments.xml %>" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Site updates of <% root.title %>" href="<% root.href updates.xml %>" />
|
||||
<!-- link rel="search" type="application/opensearchdescription+xml" href="<% site.href search.xml %>" title="Antville Search" -->
|
||||
<% // link rel="search" type="application/opensearchdescription+xml" href="<% site.href search.xml %>" title="Antville Search" %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table class="main" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<% site.title | site.link title=<% site.tagline %> %>
|
||||
<div><% site.title | site.link title=<% site.tagline %> %></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -104,7 +103,7 @@ Disallow: /stories/top
|
|||
<% site.calendar prefix=<% gettext Calendar prefix='<div class="boxheader">'
|
||||
suffix='</div><div class="box">' %> suffix="</div>" %>
|
||||
|
||||
<div class="boxheader"><% gettext "Recent updates" %></div>
|
||||
<div class="boxheader"><% gettext "Updates" %></div>
|
||||
<div class="box"><% list postings skin=Story#history %></div>
|
||||
|
||||
<div class="boxline"></div><br />
|
||||
|
@ -154,13 +153,29 @@ function openPopup(img, width, height) {
|
|||
<% value "small font color" #959595 %>
|
||||
|
||||
<% #stylesheet %>
|
||||
body {
|
||||
background-color: <% value "background color" %>;
|
||||
font-family: <% value "base font" %>;
|
||||
font-size: <% value "base font size" %>;
|
||||
color: <% value "base font color" %>;
|
||||
}
|
||||
|
||||
table.main {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: <% value "base font size" %>;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
td.header {
|
||||
max-width: 700px;
|
||||
height: 53px;
|
||||
padding-left: 40px;
|
||||
background-image: url(<% image /webloghead.gif url %>);
|
||||
background-repeat: no-repeat;
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
@ -177,24 +192,6 @@ td.right {
|
|||
border-left: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: <% value "background color" %>;
|
||||
font-family: <% value "base font" %>;
|
||||
font-size: <% value "base font size" %>;
|
||||
color: <% value "base font color" %>;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: <% value "base font size" %>;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
td.header {
|
||||
background-image: url(<% image /webloghead.gif url %>);
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.boxheader {
|
||||
color: <% value "small font color" %>;
|
||||
overflow: hidden;
|
||||
|
@ -443,6 +440,10 @@ ul.skinmgrTree li div {
|
|||
color:<% value "base font color" %>;
|
||||
}
|
||||
|
||||
.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.membergroup {
|
||||
font-weight:bold;
|
||||
font-size:<% value "big font size" %>;
|
||||
|
@ -455,6 +456,7 @@ ul.skinmgrTree li div {
|
|||
}
|
||||
|
||||
.calendar {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: <% value "small font color" %>;
|
||||
font-family: <% value "small font" %>;
|
||||
|
@ -511,6 +513,11 @@ ul.skinmgrTree li div {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.deleted {
|
||||
color: #cc0000;
|
||||
background-color: #ffcc00;
|
||||
}
|
||||
|
||||
.blocked {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue