remove greensimple template and fix page_history in quitesimple template

这个提交包含在:
Albert S. 2018-11-04 20:06:37 +01:00
父节点 f3bb881b63
当前提交 78ee5360a0
共有 25 个文件被更改,包括 1 次插入425 次删除

查看文件

@ -1 +0,0 @@
<li><a href="%s">%s</a></li>

查看文件

@ -1,15 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Login</h2>
Register a new user
<form action="{wikiqs:var:adminregisterurl}" method="POST">
Username: <input type="text" name="user"></input><br>
Password: <input type="password" name="password"></input><br>
Repeat password: <input type="password" name="password2"></input><br>
<button type="submit" name="do" value="submit">Submit</button>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"></input>
</form>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,6 +0,0 @@
{wikiqs:include:general_header}
<div id="content" style="margin-top: 10px;">
<h2>All categories</h2>
{wikiqs:var:categorylist}
</div>
{wikiqs:include:general_footer}

查看文件

@ -1,6 +0,0 @@
{wikiqs:include:general_header}
<div id="content" style="margin-top: 10px;">
<h2>All pages</h2>
{wikiqs:var:pagelist}
</div>
{wikiqs:include:general_footer}

查看文件

@ -1,6 +0,0 @@
{wikiqs:include:general_header}
<div id="content" style="margin-top: 10px;">
<h2>{wikiqs:var:errortitle}</h2>
{wikiqs:var:errormessage}
</div>
{wikiqs:include:general_footer}

查看文件

@ -1,18 +0,0 @@
<footer>
<ul id="footer">
<li><span style="padding-left: 10px"><a href="{wikiqs:config:linklogin}">{wikiqs:var:loginstatus}</a></span></li>
<li style="font-size: 10pt">Powered by wikiQS</li>
</ul>
</footer>
<script>
function refreshSession()
{
var req = new XMLHttpRequest();
req.open("GET", "{wikiqs:config:refreshsessionurl}");
req.send();
setTimeout(refreshSession, 60*2*1000);
}
setTimeout(refreshSession, 60*2*1000);
</script>
</body>
</html>

查看文件

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="{wikiqs:config:csspath}">
<title>{wikiqs:var:title}</title>
<body>
<nav>
<ul>
<li><a href="{wikiqs:config:linkindex}"><h2>{wikiqs:config:wikiname}</h2></a></li>
</ul>
<ul id="nav">
<li><a href="{wikiqs:config:linkrecent}">Recent changes</a></li>
<li><a href="{wikiqs:config:linkallpages}">All pages</a></li>
<li><a href="{wikiqs:config:linkallcats}">All categories</a></li>
</ul>
<ul id="right" class="search">
<li><div><form action="{wikiqs:config:wikipath}" method="GET"><input type="hidden" name="action" value="search"/><input type="text" name="q"value="search here" onfocus="this.value=''"></form></div></li>
</ul>
</nav>

查看文件

@ -1,11 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Login</h2>
<form action="{wikiqs:var:loginurl}" method="POST">
Username: <input type="text" name="user" style="width: 25%;"></input><br>
Password: <input type="password" name="password" style="width: 25%;"></input><br>
<button type="submit" name="do" value="submit">Submit</button>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"></input>
</form>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,7 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Login</h2>
You are already logged in as <b>{wikiqs:var:username}</b><br>
<a href="{wikiqs:config:linklogout}">Logout</a>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,14 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
<form action="{wikiqs:var:actionurl}" method="POST">
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
<textarea name="content" style="width: 100%;" rows=70>{wikiqs:var:content}</textarea>
<br><b>Comment:</b><br>
<input type="text" name="comment" size=50><br>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"></input>
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
</form>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,17 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
This is a preview of your changes:<br>
{wikiqs:var:preview_content}
<hr>
<form action="{wikiqs:var:actionurl}" method="POST">
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
<textarea name="content" style="width: 100%;" rows=70>{wikiqs:var:content}</textarea>
<br><b>Comment:</b><br>
<input type="text" name="comment" size=50><br>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"></input>
<button type="submit" name="do" value="submit">Submit</button>
<button type="submit" name="do" value="preview">Preview</button>
</form>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,10 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
<h3>Page deletion</h3>
Do you really want to delete page <b>{wikiqs:var:page}</b>
<form action="{wikiqs:var:deletionurl}" method=POST>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"/>
<button type="submit" name="do" value="submit">Yes, delete page</button>
</form>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,20 +0,0 @@
<footer>
<ul id="footer">
<li><span style="padding-left: 10px"><a href="{wikiqs:config:linklogin}">{wikiqs:var:loginstatus}</a></span></li>
<li><a href="{wikiqs:var:historyurl}">Last edited by {wikiqs:var:editedby} on {wikiqs:var:editedon}</a></li>
<li style="font-size: 10pt">Powered by wikiQS</li>
</ul>
</footer>
<script>
function refreshSession()
{
var req = new XMLHttpRequest();
req.open("GET", "{wikiqs:config:refreshsessionurl}");
req.send();
setTimeout(refreshSession, 60*2*1000);
}
setTimeout(refreshSession, 60*2*1000);
</script>
</body>
</html>

查看文件

@ -1,24 +0,0 @@
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="{wikiqs:config:csspath}">
<title>{wikiqs:var:title}</title>
<body>
<nav>
<ul>
<li><a href="{wikiqs:config:linkindex}"><h2>{wikiqs:config:wikiname}</h2></a></li>
</ul>
<ul id="nav">
<li><a href="{wikiqs:config:linkrecent}">Recent changes</a></li>
<li><a href="{wikiqs:config:linkallpages}">All pages</a></li>
<li><a href="{wikiqs:config:linkallcats}">All categories</a></li>
</ul>
<ul>
{wikiqs:var:headerlinks}
</ul>
<ul id="right" class="search">
<li><div><form action="{wikiqs:config:wikipath}" method="GET"><input type="hidden" name="action" value="search"/><input type="text" value="search here" onfocus="this.value=''" name="q"/></form></div></li>
</ul>
</nav>

查看文件

@ -1,8 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
<table style="width: 100%"><tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Comment</b></td><td><b><a href="{wikiqs:var:linkhistorysort}">Date</a></b></td></tr>
{wikiqs:var:revisionlist}
</table>
{wikiqs:var:prevpage} {wikiqs:var:nextpage}
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,16 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
<h2>Page settings: {wikiqs:var:page}</h2>
<form action="{wikiqs:var:settingsurl}" method="POST">
<h3>Categories:</h3>
<textarea cols=50 rows=20 name=categories>{wikiqs:var:categories}</textarea><br>
<h3>Rename:</h3>
<input type="text" name="renameto"></input><br>
<input type="checkbox" name="createredir" value="1" checked="checked" />Redirect old page
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"/><br>
<hr>
<input type="checkbox" name="showpage" value="1" {wikiqs:var:checked}/> Show page in lists etc.
<br>
<button type="submit" name="do" value="submit">Submit</button>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,5 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
{wikiqs:var:content}
</main>
{wikiqs:include:page_footer}

查看文件

@ -1,6 +0,0 @@
{wikiqs:include:page_header}
<main id="content">
<b>Showing revision: {wikiqs:var:revision}</b><hr>
{wikiqs:var:content}
</main>
{wikiqs:include:page_footer}

查看文件

@ -1,8 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<table style="width: 100%"><tr><td><b>Page</b></td><td><b>Revision</b></td><td><b>Author</b></td><td><b>Comment</b></td><td><b><a href="{wikiqs:var:linkrecentsort}">Date</a></b></td></tr>
{wikiqs:var:revisionlist}
</table>
{wikiqs:var:prevpage} {wikiqs:var:nextpage}
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,7 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Search for: {wikiqs:var:searchterm} </h2>
{wikiqs:var:pagelist}
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,6 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Category: {wikiqs:var:categoryname}</h2>
{wikiqs:var:pagelist}
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,6 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Links to: {wikiqs:var:pagename}</h2>
{wikiqs:var:pagelist}
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,172 +0,0 @@
body
{
padding: 0;
margin: 0;
font-family: Verdana;
background-color: white;
display: flex;
min-height: 100vh;
flex-direction: column;
}
header
{
margin: 0;
paddin: 0;
}
h1
{
margin: 0;
padding: 0;
}
h2
{
margin: 0;
padding: 0;
}
nav
{
//width: 100%;
padding: 0px;
margin: 0px;
display: flex;
background-color: #229638;
justify-content: space-between;
flex-wrap: wrap;
}
nav ul
{
background-color: #229638;
color: white;
margin: 0;
padding: 0;
list-style-type: none;
display: flex;
align-items: center;
flex-wrap: wrap;
}
nav li
{
margin: 0;
padding: 0;
}
nav a, nav a:visited
{
padding: 10px;
text-decoration: none;
color: white;
display: block;
font-weight: bold;
text-align: center;
line-height: 100%;
}
nav a:hover, nav a:focus
{
padding: 10px;
text-decoration: none;
background-color: white;
color: #229638;
display: block;
font-weight: bold;
}
a, a:visited
{
color: #229638;;
}
a:hover
{
background-color: #229638;
color: white;
}
#content
{
padding: 15px;
font-family: monospace;
font-size: 14pt;
flex: 1;
}
#content a, a:visited
{
color: #229638;
}
#content a:hover
{
background-color: #229638;
color: white;
}
footer
{
width: 100%;
display: block;
color: white;
background-color: #229638;
font-weight: bold;
}
footer ul
{
background-color: #229638;
margin: 0px;
padding: 0px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
footer li
{
margin: 0;
padding: 0;
display: inline-block;
line-height: 45px;
color: white;
font-weight: bold;
//flex: 1 1 0;
text-align: center;
}
footer a, a:visited
{
text-decoration: none;
color: white;
display: inline-block;
}
footer a:hover, ul#nav a:focus
{
text-decoration: none;
color: #229638;
background-color: white;
display: inline-block;
}
#cats
{
background-color: #229638;
}
.letter_search_result
{
text-decoration: underline;
font-weight: bold;
}

查看文件

@ -1,15 +0,0 @@
{wikiqs:include:general_header}
<main id="content">
<h2>Login</h2>
Change your current password
<form action="{wikiqs:var:userchangepwurl}" method="POST">
Current password: <input type="text" name="password" style="width: 25%;"></input><br>
New Password: <input type="password" name="newpassword" style="width: 25%;"></input><br>
Repeat password: <input type="password" name="newpassword2" style="width: 25%;"></input><br>
<button type="submit" name="do" value="submit">Submit</button>
<input type="hidden" name="csrf_token" value="{wikiqs:var:csrf_token}"></input>
</form>
</main>
{wikiqs:include:general_footer}

查看文件

@ -1,6 +1,6 @@
{wikiqs:include:page_header}
<main id="content">
<table style="width: 100%"><tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Comment</b></td><td><b><a href="{wikiqs:var:linkhistorysort}">Date</a></b></td></tr>
<table style="width: 100%"><tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Comment</b></td><td><b><a href="{wikiqs:var:linkrecentsort}">Date</a></b></td></tr>
{wikiqs:var:revisionlist}
</table>
{wikiqs:var:prevpage} {wikiqs:var:nextpage}