made not garbage
This commit is contained in:
parent
a8b4c42e32
commit
ee41edd761
2
shop.py
2
shop.py
@ -88,4 +88,4 @@ def handle_data():
|
||||
|
||||
if __name__ == '__main__':
|
||||
doesDBExist(DBNAME)
|
||||
app.run()
|
||||
app.run(host="0.0.0.0")
|
||||
|
||||
@ -6,4 +6,4 @@ aside {
|
||||
box-shadow: inset 5px 0 5px -5px #000000;
|
||||
font-style: italic;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
<form action="/post" method="post">
|
||||
Name:<br>
|
||||
<input type="text" name="name" value=""><br>
|
||||
Item:<br>
|
||||
<input type="text" name="item" value=""><br><br>
|
||||
<input type="submit" name="addValue"value="Submit">
|
||||
</form>
|
||||
<div style="text-align: center">
|
||||
<form action="/post" method="post">
|
||||
<p style="display: inline">Name: </p>
|
||||
<input class="form-control" style="width: 50%; display: inline" type="text" name="name" value=""><br>
|
||||
<p style="display: inline">Item: </p>
|
||||
<input class="form-control" style="width: 50%; display: inline" type="text" name="item" value=""><br><br>
|
||||
<input class="btn btn-secondary" type="submit" name="addValue"value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
@ -5,7 +5,7 @@
|
||||
<div class="container">
|
||||
<form style="text-align: center" action="/post" method="POST">
|
||||
<input type="password" name="password"/>
|
||||
<input type="submit" name="loginform" value="Login" />
|
||||
<input class="btn btn-secondary" type="submit" name="loginform" value="Login" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@ -12,12 +12,12 @@
|
||||
<td>{{x[4]}}</td>
|
||||
|
||||
<td> {% if x[3] == 0 %}
|
||||
<form><button type="submit" formaction="/post" formmethod="POST" name="got" value="{{x[0]}}">No</button></form>
|
||||
<form><button class="btn btn-secondary" type="submit" formaction="/post" formmethod="POST" name="got" value="{{x[0]}}">No</button></form>
|
||||
{% else %}
|
||||
yes
|
||||
{% endif %}</td>
|
||||
<td><form>
|
||||
<button type="submit" formaction="/post" formmethod="POST" name="rem" value="{{x[0]}}">Remove</button>
|
||||
<button class="btn btn-secondary" type="submit" formaction="/post" formmethod="POST" name="rem" value="{{x[0]}}">Remove</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{% include "header.html" %}
|
||||
<body>
|
||||
<h1 class="container" style="text-align: center">{{ data["title"] }}</h1>
|
||||
<div class="" style=" text-align: center">
|
||||
<div class="" >
|
||||
{% include "addForm.html" %}
|
||||
</div>
|
||||
<div class="container" id="memes">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user