about summary refs log tree commit diff
path: root/tmpl/addstars.html
diff options
context:
space:
mode:
authorhanemile <hanemile@protonmail.com>2019-01-12 23:26:41 +0100
committerhanemile <hanemile@protonmail.com>2019-01-12 23:26:41 +0100
commit70228ac252fcc4560a63548f27d40c85e89bd0bf (patch)
tree0e579fc2777ea554b18e31b23ac7d2b7b431826e /tmpl/addstars.html
parentda40f50361a117d762a432cf275ab6b11858034f (diff)
something seems broken...
Diffstat (limited to 'tmpl/addstars.html')
-rw-r--r--tmpl/addstars.html84
1 files changed, 0 insertions, 84 deletions
diff --git a/tmpl/addstars.html b/tmpl/addstars.html
deleted file mode 100644
index cffc31e..0000000
--- a/tmpl/addstars.html
+++ /dev/null
@@ -1,84 +0,0 @@
-{{define "addstars"}}
-    <head>
-        {{template "header"}}
-        <style>
-            .jumbotron{
-                margin: 10px;
-            }
-        </style>
-    </head>
-    <body>
-    {{template "nav"}}
-
-    <div class="container">
-        <div class="tab-content" id="nav-tabContent">
-            <div class="tab-pane fade" id="nav-overview" role="tabpanel" aria-labelledby="nav-overview-tab">There will be an overview here!</div>
-            <div class="tab-pane fade" id="nav-new-tree" role="tabpanel" aria-labelledby="nav-new-tree-tab">add tree</div>
-            <div class="tab-pane fade" id="nav-add-stars" role="tabpanel" aria-labelledby="nav-add-stars-tab">Add some stars!</div>
-            <div class="tab-pane fade" id="nav-draw-tree" role="tabpanel" aria-labelledby="nav-draw-tree-tab">Draw one of the galaxies!</div>
-        </div>
-    </div>
-
-    <div class="container">
-        <div class="jumbotron">
-            <h1 class="display-4">Add Stars</h1>
-            <p class="lead">This is the "Add your star to a tree" page! Fill out the form below for adding one of your stars into one of the trees!</p>
-            <form action="/addstars" method="post">
-
-                <hr class="my-4">
-                <div class="form-group">
-                    <input type="text" class="form-control" id="dbip" placeholder="db-ip" name="dbip">
-                </div>
-                <div class="form-group">
-                    <input type="text" class="form-control" id="tree" placeholder="tree index" name="tree">
-                </div>
-                <hr class="my-4">
-
-                <div class="form-group">
-                    <input type="text" class="form-control" id="x" placeholder="x" name="x">
-                </div>
-                <div class="form-group">
-                    <input type="text" class="form-control" id="y" placeholder="y" name="y">
-                </div>
-                <div class="form-group">
-                    <input type="text" class="form-control" id="vx" placeholder="vx" name="vx">
-                </div>
-                <div class="form-group">
-                    <input type="text" class="form-control" id="vy" placeholder="vy" name="vy">
-                </div>
-                <div class="form-group">
-                    <input type="text" class="form-control" id="m" placeholder="mass" name="mass">
-                </div>
-                <button type="submit" class="btn btn-primary">Submit</button>
-            </form>
-        </div>
-    </div>
-
-    <div class="container">
-        <div class="jumbotron">
-            <p class="lead">Optionally: select a .csv:</p>
-            <div class="input-group">
-                <div class="input-group-prepend">
-                    <span class="input-group-text" id="inputGroupFileAddon01">Upload</span>
-                </div>
-                <div class="custom-file">
-                    <input type="file" class="custom-file-input" id="inputGroupFile01" aria-describedby="inputGroupFileAddon01">
-                    <label class="custom-file-label" for="inputGroupFile01">Choose file</label>
-                </div>
-            </div>
-        </div>
-    </div>
-
-    <div class="container">
-        <div class="jumbotron">
-            <form enctype="multipart/form-data" action="http://127.0.0.1:9090/upload" method="post">
-                <input type="file" name="uploadfile" />
-                <input type="hidden" name="token" value="{{.}}"/>
-                <input type="submit" value="upload" />
-            </form>
-        </div>
-    </div>
-
-    {{template "javascript"}}
-    </body>
-{{end}}