studentSettings.html 2.34 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
{% extends 'layouts/base.html' %}

{% block title %} SRCT RoomList | {{ student.user.first_name }} {{ student.user.last_name }} {% endblock %}

{% block reminder %}
{% 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
      <img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.user.first_name }} Gravatar picture">
16
17
18
19
20
      <h1>{{ student.user.first_name }} {{ student.user.last_name }}, {{ student.user.username }}</h1>
    </div>
  </div>
</div>

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

23
24
25
26
27
28
29
30
31
32
33
<legend>Account Settings</legend>

<div class="row">
  {% comment %}
  <a href="/accounts/email/">
    <div class="col-md-4 col-md-offset-2 text-center">
      <h4><i class="fa fa-envelope fa-5x"></i></h4>
      <h4>Add Additional Email Addresses</h4>
    </div>
  </a>
  {% endcomment %}
Daniel W Bond's avatar
Daniel W Bond committed
34
35
  {{ object.user }} text text text {{ request.user }}
  <a href="{% url 'updateStudent' request.user.student.slug %}">
36
37
38
39
40
41
42
43
44
    <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>
</div>

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

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

{% endblock %}