app/views/wiki/edit_web.rhtml in Pimki-1.5.092 vs app/views/wiki/edit_web.rhtml in Pimki-1.6.092
- old
+ new
@@ -1,6 +1,9 @@
-<% @title = "Edit Web" %>
+<% @title = "Edit Web"
+ @hide_menu = true
+ @style_additions = "#Container { width: 600px; margin-left: 180px;}"
+%>
<%= sub_template "top" %>
<%= "<p style='font-size: 15px; font-variant: italic; color: red;'>#{@message}</span>" if @message %>
<form action="../update_web" id="setup" method="post" onSubmit="cleanAddress(); return validateSetup()">
@@ -179,10 +182,23 @@
</p>
</form>
<p style='font-size: 10px;'>...or forget all your changes and <a href="/new_web/">create a new web</a>.</p>
-
+<h2>Stop Pimki</h2>
+<p style="color:red">Please note that stopping the server will stop all pimki webs running on this server! It is a also a forced exit, so any changes currently being made by other users will be lost!</p>
+<form action="../stop" id="stop" method="post">
+ <p style="font-size: 10px;">
+ Enter system password
+ <input type="password" id="system_password" name="system_password">
+ and
+ <input type="submit" name='stop' value="Stop Pimki">
+ in
+ <input type="text" name='seconds' value='3' size='5' align='right'>
+ seconds.
+ </p>
+</form>
+
<script>
function proposeAddress() {
document.getElementById('address').value =
document.getElementById('name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
}
\ No newline at end of file