summaryrefslogtreecommitdiff
path: root/static/website/templates/view_profile.html
diff options
context:
space:
mode:
authorPrashant S2019-08-27 12:32:16 +0530
committerGitHub2019-08-27 12:32:16 +0530
commit46c8dee1d41462c4a00989b91d555faf6e422632 (patch)
treea9089f56541854b48ddbda733832a153c6d53927 /static/website/templates/view_profile.html
parent23507115caa3d4de0dbf4909376e35df4352d3d9 (diff)
parentb9c709823e26f5b20d3732e1788b871cdd961a03 (diff)
downloadSciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.tar.gz
SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.tar.bz2
SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.zip
Merge pull request #1 from prashantsinalkar/master
updated project code
Diffstat (limited to 'static/website/templates/view_profile.html')
-rw-r--r--static/website/templates/view_profile.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/static/website/templates/view_profile.html b/static/website/templates/view_profile.html
new file mode 100644
index 0000000..11b3b86
--- /dev/null
+++ b/static/website/templates/view_profile.html
@@ -0,0 +1,45 @@
+{% extends "base.html" %}
+{% load static %}
+{% load widget_tweaks %}
+
+{% csrf_token %}
+{% block content %}
+ <div class="container">
+ <table class="table table-bordered">
+ <tr>
+ <th><label for="id_first_name"><h5>First name:</h5></label></th>
+ <th><label for="id_first_name"><h5>{{ user.first_name }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_last_name"><h5>Last name:</h5></label></th>
+ <th><label for="id_last_name"><h5>{{ user.last_name }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_email"><h5>Email:</h5></label></th>
+ <th><label for="id_email"><h5>{{ user.email }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_institute"><h5>Institute:</h5></label></th>
+ <th><label for="id_institute"><h5>{{ user.profile.institute }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_phone_number"><h5>Phone Number:</h5></label></th>
+ <th><label for="id_phone_number"><h5>{{ user.profile.phone_number }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_department"><h5>Department:</h5></label></th>
+ <th><label for="id_department"><h5>{{ user.profile.department }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_location"><h5>Location:</h5></label></th>
+ <th><label for="id_location"><h5>{{ user.profile.location }}</h5></label></th>
+ </tr>
+ <tr>
+ <th><label for="id_position"><h5>Position:</h5></label></th>
+ <th><label for="id_position"><h5>{{ user.profile.position }}</h5></label></th>
+ </tr>
+ </table>
+ <br>
+ <a class="btn btn-primary pull-right" href="{{ URL_ROOT }}/edit_profile/">Edit Profile</a>
+ </div>
+{% endblock %}