2012-11-02 14:16:15 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Settings manager</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
|
|
|
<link rel="stylesheet" href="../static/css/admin.css">
|
|
|
|
<script src="../static/js/jquery.js"></script>
|
|
|
|
<script src="../socket.io/socket.io.js"></script>
|
2012-11-02 16:05:47 +01:00
|
|
|
<script src="../static/js/admin/minify.json.js"></script>
|
2012-11-02 14:16:15 +01:00
|
|
|
<script src="../static/js/admin/settings.js"></script>
|
2012-11-02 16:05:47 +01:00
|
|
|
|
2012-11-02 14:16:15 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="wrapper">
|
|
|
|
|
|
|
|
<% if (errors.length) { %>
|
|
|
|
<div class="errors">
|
|
|
|
<% errors.forEach(function (item) { %>
|
|
|
|
<div class="error"><%= item.toString() %></div>
|
|
|
|
<% }) %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
|
|
|
|
<h1>Etherpad Lite Settings</h1>
|
2012-11-05 14:16:07 +01:00
|
|
|
<a href='https://github.com/Pita/etherpad-lite/wiki/Example-Production-Settings.JSON'>Example production settings template</a>
|
|
|
|
<a href='https://github.com/Pita/etherpad-lite/wiki/Example-Development-Settings.JSON'>Example development settings template</a>
|
2012-11-02 15:31:52 +01:00
|
|
|
<textarea class="settings"></textarea>
|
|
|
|
<input type="button" class="settingsButton" id="saveSettings" value="Save Settings">
|
|
|
|
<input type="button" class="settingsButton" id="restartEtherpad" value="Restart Etherpad">
|
2012-11-02 16:15:13 +01:00
|
|
|
<div id="response"></div>
|
2012-11-02 14:16:15 +01:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|