123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- {% extends "bootstrapheader.html" %}
-
- {% block body %}
- <body>
- <div class="container">
- <h2>Profile</h2>
- <form class="form-horizontal" role="form" action="/profile" method="post">
- <div class="form-group">
- <label class="control-label col-sm-2" for="email">Email:</label>
- <div class="col-sm-10">
- <input type="email" name="email" class="form-control" id="email" placeholder="Enter email" value={{email}} required>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="name">Name:</label>
- <div class="col-sm-10">
- <input type="text" name="name" class="form-control" id="name" placeholder="Enter Name" value={{name}} required>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="last">Last:</label>
- <div class="col-sm-10">
- <input type="text" name="last" class="form-control" id="last" placeholder="Enter Last" value={{last}} required>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button type="submit" class="btn btn-primary">Submit</button>
- </div>
- </div>
- </form>
- </div>
-
- {% for m in msg %}
- <div class="alert alert-{{m["type"]}}">
- <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
- {{m["msg"]}}
- </div>
- {% endfor %}
-
- <hr>
-
- <div class=container>
- <h2>Change Password</h2>
- <form class="form-horizontal" role="form" action="/profile" method="post">
- <div class="form-group">
- <label class="control-label col-sm-2" for="pwd">Password:</label>
- <div class="col-sm-10">
- <input type="password" name="pwd" class="form-control" id="pwd" placeholder="Enter password" required>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-sm-2" for="pwd2">Password:</label>
- <div class="col-sm-10">
- <input type="password" name="pwd2" class="form-control" id="pwd2" placeholder="Confirm password" required>
- </div>
- </div>
-
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button type="submit" class="btn btn-primary">Submit</button>
- </div>
- </div>
- </form>
- </div>
-
- {% for m in pmsg %}
- <div class="alert alert-{{m["type"]}}">
- <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
- {{m["msg"]}}
- </div>
- {% endfor %}
-
- </body>
-
- {% endblock %}
-
|