Fixed formatting on html pages
This commit is contained in:
1 parent
b1db5e4a17
commit
2b98e9db55
4 files changed
+93
-95
No files matched your search
+19
-18
@@ -1,27 +1,28 @@
|
||||
{% include "header.html" %}
|
||||
|
||||
<body>
|
||||
<h1 class="container" style="text-align: center">{{ data["title"] }}, {{data["session"]["username"].title()}}
|
||||
<h1 class="container" style="text-align: center">{{ data["title"] }}, {{data["session"]["username"].title()}}
|
||||
<div class="dropdown">
|
||||
<form action="/post" method="post" id="test">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{% set id = session["list_ids"] %}
|
||||
{% set actid = session["active_id"] %}
|
||||
{% if actid == "0" %}
|
||||
ALL
|
||||
{% else %}
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{% set id = session["list_ids"] %}
|
||||
{% set actid = session["active_id"] %}
|
||||
{% if actid == "0" %}
|
||||
ALL
|
||||
{% else %}
|
||||
{{ id[actid] }}
|
||||
{% endif %}
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenu2">
|
||||
<button class="dropdown-item" type="submit" value="0" id="" name="list">All</button>
|
||||
{% for listid in data["list_ids"] %}
|
||||
<button class="dropdown-item" type="submit" value="{{listid}}" name="list">{{id[listid]}}</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</h1>
|
||||
{% endif %}
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenu2">
|
||||
<button class="dropdown-item" type="submit" value="0" id="" name="list">All</button>
|
||||
{% for listid in data["list_ids"] %}
|
||||
<button class="dropdown-item" type="submit" value="{{listid}}" name="list">{{id[listid]}}</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</h1>
|
||||
<!-- <aside> -->
|
||||
<div id="addForm">
|
||||
{% include "addForm.html" %}
|
||||
|
||||
Reference in new issue
Block a user