dropdown menu, and fixes

This commit is contained in:
ville rantanen
2016-07-04 13:20:20 +03:00
parent c7abca9659
commit 7423f672d7
7 changed files with 77 additions and 7 deletions

View File

@@ -13,10 +13,15 @@
<body>
<div class=page>
<div class=metanav>
<a href="{{ url_for('list_shops') }}">List shops</a>
<a href="#" onclick="reload();">Reload page</a>
<a href="{{ url_for('profile') }}">Profile</a>
<a href="{{ url_for('logout') }}">Logout</a>
<a href="{{ url_for('list_shops') }}">Shops</a>
<div class="dropdown">
<p onclick="dropDown()" class="dropbtn">&sube;&supe;</p>
<div id="Dropdown" class="dropdown-content">
<a href="#" onclick="reload();">Reload page</a>
<a href="{{ url_for('profile') }}">Profile</a>
<a href="{{ url_for('logout') }}">Logout</a>
</div>
</div>
</div>
{% for message in get_flashed_messages() %}
<div class=flash>{{ message }}</div>

View File

@@ -5,7 +5,7 @@
<form action="{{ url_for('profile') }}" method=post>
<dl>
<dt>Username:
<dd>
<dd>{{ user }}
<dt>Password:
<dd><input type=password name=password>
<dd><input type=submit value=Update>