tbasic version of webadmin - coffin - secure lan file storage on a device
 (HTM) git clone git://parazyd.org/coffin.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e746942231cbee4e5426e220a5cdf86b816876ea
 (DIR) parent 8987dce7dea1e2ccdc50427cfa5a37aaef6cf7b7
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Fri,  5 Feb 2016 16:58:53 +0100
       
       basic version of webadmin
       
       Diffstat:
         A web/index.php                       |      49 +++++++++++++++++++++++++++++++
       
       1 file changed, 49 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/web/index.php b/web/index.php
       t@@ -0,0 +1,49 @@
       +<!DOCTYPE html>
       +<html lang="en">
       +<head>
       +    <meta charset="utf-8">
       +    <title>tombox administration</title>
       +</head>
       +<body>
       +    <h1>tombox administration</h1>
       +    <hr>
       +    
       +   
       +    <h3>Create new tomb and key</h3>
       +    <form action="tombcreate.php" method="post">
       +    Username: <input type="text" name="undertaker"> 
       +    <select name="device">
       +        <option selected>Choose device to store key</option>
       +        <?php
       +            $devs = file("devs", FILE_IGNORE_NEW_LINES);
       +            $sizes = file("sizes", FILE_IGNORE_NEW_LINES);
       +            foreach ($devs as $line_num => $line) {
       +                echo '<option value="' . $line . '">' . $line . '</option>' . "\n        ";
       +            }
       +        ?>
       +    </select>
       +    <input type="submit">
       +    </form>
       +
       +    <hr>
       +    
       +    <h3>Change tomb's key</h3>
       +    <form action="newkey.php" method="post">
       +    <select name="device">
       +        <option selected>Choose device to store key</option>
       +        <?php
       +            $devs = file("devs", FILE_IGNORE_NEW_LINES);
       +            $sizes = file("sizes", FILE_IGNORE_NEW_LINES);
       +            foreach ($devs as $line_num => $line) {
       +                echo '<option value="' . $line . '">' . $line . '</option>' . "\n        ";
       +            }
       +        ?>
       +    </select>
       +    <input type="submit">
       +    </form>
       +
       +
       +    <hr>
       +
       +</body>
       +</html>