Skip to content

Commit

Permalink
Added settings template
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Mar 5, 2017
1 parent 64ecdc9 commit e017db7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<li><a href="/about">{{ lang.about.title }}</a></li>
<li><a href="/tasks">{{ lang.tasks.title }}</a></li>
<li><a href="/scoreboard">{{ lang.scoreboard.title }}</a></li>
<li><a href="/settings">{{ lang.settings.title }}</a></li>
</ul>
<form class="white navbar-form navbar-right">
{{ lang.frame.logged_in }} {{ user.username }} | <a href="/logout">{{ lang.frame.logout}}</a>
Expand Down
23 changes: 23 additions & 0 deletions templates/settings.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<div class="landing-page container">
<div class="row">
<div class="task-box col-md-6 col-md-offset-3" >
<h1>{{ lang.settings.title }} </h1>
<form method="POST" enctype="multipart/form-data">
<input name="category" type="hidden" value="{{ cat_id }}" />

<label>{{ lang.settings.old_pw }}</label>
<input name="old_pw" type="text" required="required" class="form-control" />

<label>{{ lang.settings.new_pw }}</label>
<input name="new_pw" type="text" class="form-control" />

<label>{{ lang.settings.email }}</label>
<input name="email" type="text" class="form-control" />

<input type="submit" class="form-control btn-primary" />
</form>
</div>

</div>
</div>
</div>

0 comments on commit e017db7

Please sign in to comment.