diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2024-04-07 13:25:49 +0200 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2024-04-07 13:25:49 +0200 |
commit | 9cb56dabb676391a9382731347e8d2b07b9437a5 (patch) | |
tree | 95302f041497679202722d9896ec1386bed2d86c /tpl | |
parent | 0a37a1cc5909e11098963267edc9654b85e7ce16 (diff) |
big cleanup
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/_debug.tpl | 29 | ||||
-rw-r--r-- | tpl/_users/login.tpl | 18 |
2 files changed, 0 insertions, 47 deletions
diff --git a/tpl/_debug.tpl b/tpl/_debug.tpl deleted file mode 100644 index 4d650ea..0000000 --- a/tpl/_debug.tpl +++ /dev/null @@ -1,29 +0,0 @@ -% if(! ~ $#debug_shell 0) { -<form method="POST" name="prompt"> -<input size="80" type="text" name="command" value="%($"post_arg_command%)"> -<input type="submit" Value="Run"> -</form> -<script language="javascript"><!-- -document.prompt.command.focus() -//--></script> - -%{ -fn evl { - # Buffering is probably messing this up: - #rc -c 'flag x +;{'^$post_arg_command'} |[2] awk ''{print ">> "$0}''' - rc -c 'flag s +; flag x +;'^$post_arg_command -} - if(! ~ $#post_arg_command 0 && ! ~ $#post_arg_command '') { - echo '<hr><pre>' - evl | escape_html |[2] awk '{print "<b>"$0"</b>"}' - echo '</pre>' - } -%} -% } - -<hr><pre> -% env | escape_html -</pre><hr> - -% umask - diff --git a/tpl/_users/login.tpl b/tpl/_users/login.tpl deleted file mode 100644 index 5857188..0000000 --- a/tpl/_users/login.tpl +++ /dev/null @@ -1,18 +0,0 @@ -<h1>User login</h1> -<br /> -% if(check_user) { - You are logged in as: <b>%($logged_user%)</b> -% } -% if not { -% if (~ $REQUEST_METHOD POST) -% echo '<div class="notify_errors">Login failed!</div>' -<form method="POST" action="" style="text-align: right; float: left;"> -<fieldset> - <label>User name: <input type="text" name="user_name" value="%($"post_arg_user_name%)"/></label><br> - <label>User password: <input type="password" name="user_password"></label><br> - <input name="s" type="submit" value="Login"> -</fieldset> -</form> -% } - -<br style="clear:left"> |