diff options
author | Kyle McFarland <tfkyle@gmail.com> | 2018-01-31 00:51:07 -0600 |
---|---|---|
committer | Kyle McFarland <tfkyle@gmail.com> | 2018-01-31 00:51:07 -0600 |
commit | 61d1aa04d8d44b17bfe6dace90088669fc6c3df8 (patch) | |
tree | 7ede15c880e4c41a18cded46fe6d03fb2dc4543b /tmpl/profile.tmpl | |
download | mcoop-master.zip mcoop-master.tar.gz mcoop-master.tar.bz2 |
* Registration system's almost done
* Just part way through implementing tasks
So not much done yet, but it's a start.
Diffstat (limited to 'tmpl/profile.tmpl')
-rw-r--r-- | tmpl/profile.tmpl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tmpl/profile.tmpl b/tmpl/profile.tmpl new file mode 100644 index 0000000..92bb780 --- /dev/null +++ b/tmpl/profile.tmpl @@ -0,0 +1,24 @@ +{% extends "base.tmpl" %} + +{% block title %}Profile{% endblock %} + +{% block page_contents %} + <div class="row"> + <div class="col-12"><h2>Edit Profile</h2></div> + <div class="col-12"><hr style="border: 1px solid rgba(0, 0, 0, 1)"/></div> + </div> + <form action="profile.php" method="post"> + <div class="row"> + <div class="col-12 col-sm-4 col-md-3 col-lg-2">Username</div> + <div class="col-12 col-sm-8 col-md-9 col-lg-10">{{ sess_info.login_member.username }}</div> + <div class="col-12 col-sm-4 col-md-3 col-lg-2">Email</div> + <div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="email" name="email" value="{{ sess_info.login_member.email | escape('html_attr') }}" /></div> + <div class="col-12 col-sm-4 col-md-3 col-lg-2">Full name</div> + <div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="text" name="fullname" value="{{ sess_info.login_member.full_name | escape('html_attr') }}" /></div> + <div class="col-12 col-sm-4 col-md-3 col-lg-2">Old Password</div> + <div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="password" name="old_passwd" /></div> + <div class="col-12 col-sm-4 col-md-3 col-lg-2">New Password</div> + <div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="password" name="new_passwd" /></div> + <div class="col-12"><button class="btn btn-success" type="submit">Update</button></div> + </div> +{% endblock %} |