mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Merge branch 'develop' into timeslider_authors
This commit is contained in:
commit
151f1a0d71
3 changed files with 59 additions and 54 deletions
|
@ -88,7 +88,12 @@ async.waterfall([
|
||||||
//let the server listen
|
//let the server listen
|
||||||
app.listen(settings.port, settings.ip);
|
app.listen(settings.port, settings.ip);
|
||||||
console.log("Server is listening at " + settings.ip + ":" + settings.port);
|
console.log("Server is listening at " + settings.ip + ":" + settings.port);
|
||||||
|
if(settings.adminHttpAuth){
|
||||||
|
console.log("Plugin admin page listening at " + settings.ip + ":" + settings.port + "/admin/plugins");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
console.log("Admin username and password not set in settings.json. To access admin please uncomment and edit adminHttpAuth in settings.json");
|
||||||
|
}
|
||||||
callback(null);
|
callback(null);
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
49
src/static/css/admin.css
Normal file
49
src/static/css/admin.css
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
td, th {
|
||||||
|
border: 1px solid black;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
padding-top: 2px;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
}
|
||||||
|
.template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.dialog {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
width: 700px;
|
||||||
|
height: 500px;
|
||||||
|
margin-left: -350px;
|
||||||
|
margin-top: -250px;
|
||||||
|
border: 3px solid #999999;
|
||||||
|
background: #eeeeee;
|
||||||
|
}
|
||||||
|
.dialog .title {
|
||||||
|
margin: 0;
|
||||||
|
padding: 2px;
|
||||||
|
border-bottom: 3px solid #999999;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 24px;
|
||||||
|
height: 24px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.dialog .title .close {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.dialog .history {
|
||||||
|
background: #222222;
|
||||||
|
color: #eeeeee;
|
||||||
|
position: absolute;
|
||||||
|
top: 41px;
|
||||||
|
bottom: 10px;
|
||||||
|
left: 10px;
|
||||||
|
right: 10px;
|
||||||
|
padding: 2px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
|
@ -1,56 +1,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Plugin manager</title>
|
<title>Plugin manager</title>
|
||||||
<style>
|
<link href="../../static/css/admin.css" rel="stylesheet" type="text/css" />
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
td, th {
|
|
||||||
border: 1px solid black;
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
padding-top: 2px;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
}
|
|
||||||
.template {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.dialog {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
width: 700px;
|
|
||||||
height: 500px;
|
|
||||||
margin-left: -350px;
|
|
||||||
margin-top: -250px;
|
|
||||||
border: 3px solid #999999;
|
|
||||||
background: #eeeeee;
|
|
||||||
}
|
|
||||||
.dialog .title {
|
|
||||||
margin: 0;
|
|
||||||
padding: 2px;
|
|
||||||
border-bottom: 3px solid #999999;
|
|
||||||
font-size: 24px;
|
|
||||||
line-height: 24px;
|
|
||||||
height: 24px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.dialog .title .close {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.dialog .history {
|
|
||||||
background: #222222;
|
|
||||||
color: #eeeeee;
|
|
||||||
position: absolute;
|
|
||||||
top: 41px;
|
|
||||||
bottom: 10px;
|
|
||||||
left: 10px;
|
|
||||||
right: 10px;
|
|
||||||
padding: 2px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<script src="../../static/js/jquery.js"></script>
|
<script src="../../static/js/jquery.js"></script>
|
||||||
<script src="../../socket.io/socket.io.js"></script>
|
<script src="../../socket.io/socket.io.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
@ -167,7 +118,7 @@
|
||||||
<td class="name"></td>
|
<td class="name"></td>
|
||||||
<td class="description"></td>
|
<td class="description"></td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
<input type="button" value="I" class="do-uninstall">
|
<input type="button" value="Uninstall" class="do-uninstall">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -180,7 +131,7 @@
|
||||||
<h1>Search for plugins to install</h1>
|
<h1>Search for plugins to install</h1>
|
||||||
<form>
|
<form>
|
||||||
<input type="text" name="search" value="" id="search-query">
|
<input type="text" name="search" value="" id="search-query">
|
||||||
<input type="button" value="S" id="do-search">
|
<input type="button" value="Search" id="do-search">
|
||||||
</form>
|
</form>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -195,7 +146,7 @@
|
||||||
<td class="name"></td>
|
<td class="name"></td>
|
||||||
<td class="description"></td>
|
<td class="description"></td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
<input type="button" value="I" class="do-install">
|
<input type="button" value="Install" class="do-install">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue