studentSettings.html 2.35 KB
Newer Older
1 2
{% extends 'layouts/base.html' %}

3
{% block title %} SRCT Roomlist | {{ student.get_full_name_or_uname }} {% endblock %}
4

Daniel W Bond's avatar
Daniel W Bond committed
5
{% block messsage_queue %}
6 7 8 9 10
{% endblock %}

{% block content %}

{% load socialaccount %} {% load gravatar %}
11 12 13 14

<div class="page-header" id="banner">
  <div class="row">
    <div class="col-md-8 col-md-offset-2 text-center">
15 16
      <img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} Gravatar picture">
      <h1>{{ student.get_full_name_or_uname }} , {{ student.user.username }}</h1>
17 18 19 20
    </div>
  </div>
</div>

21
{% load socialaccount %} {% providers_media_js %}
22

23 24 25
<legend>Account Settings</legend>

<div class="row">
26
  {{ student }} text text text {{ request.user }}
27
  <a href="{% url 'update_student' request.user.student.slug %}">
28 29 30 31 32
    <div class="col-md-3 text-center">
      <h4><i class="fa fa-lock fa-5x"></i></h4>
    <h4>Set Your Room and Privacy</h4>
    </div>
  </a>
33
  <a href="{% url 'update_student_major' request.user.student.slug %}">
34 35 36 37 38
    <div class="col-md-3 text-center">
      <h4><i class="fa fa-graduation-cap fa-5x"></i></h4>
      <h4>Set Your Major</h4>
    </div>
  </a>
Daniel W Bond's avatar
Daniel W Bond committed
39
  {% comment %} email was here; a good idea {% endcomment %}
40 41 42 43
</div>

<legend style="margin-top: 50px">Social Media Settings</legend>

44
<div class="row" style="margin-top: 50px">
45 46 47
  <a href="{% provider_login_url 'facebook' method='js_sdk' process='connect' next='/accounts/student/' %}">
    <div class="col-md-3 text-center">
      <h4><i class="fa fa-facebook fa-5x"></i></h4>
Daniel W Bond's avatar
Daniel W Bond committed
48
      <h4>Link to your Facebook</h4>
49 50 51 52 53
    </div>
  </a>
  <a href="{% provider_login_url 'google' process='connect' next='/accounts/student/' %}">
    <div class="col-md-3 text-center">
      <h4><i class="fa fa-google fa-5x"></i></h4>
54
      <h4>Link to your Google</h4>
55 56 57 58 59
    </div>
  </a>
  <a href="{% provider_login_url 'twitter' process='connect' next='/accounts/student/' %}">
    <div class="col-md-3 text-center">
      <h4><i class="fa fa-twitter fa-5x"></i></h4>
60
      <h4>Link to your Twitter</h4>
61 62
    </div>
  </a>
63
  <div class="col-md-3 text-center">
Jason D Yeomans's avatar
Jason D Yeomans committed
64
    <!--<a href="{% provider_login_url 'instagram' process='connect' next='/accounts/student/' %}"><i class="fa fa-instagram fa-5x"></i></a>-->
65
    <h4><i class="fa fa-instagram fa-5x"></i></h4>
66
    <h4>Link to your Instagram (Soon!)</h4>
67 68
  </div>
</div>
69 70

{% endblock %}