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

3
{% block title %} SRCT Roomlist | {{ student.user.first_name }} {{ student.user.last_name }} {% endblock %}
4 5 6 7 8 9 10

{% 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
<legend>Account Settings</legend>

<div class="row">
26
  {{ student }} text text text {{ request.user }}
Daniel W Bond's avatar
Daniel W Bond committed
27
  <a href="{% url 'updateStudent' 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 34 35 36 37 38
  <a href="{% url 'updateStudentMajor' request.user.student.slug %}">
    <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 %}