studentSettings.html 2.32 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
<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>
39 40 41 42
</div>

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

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

{% endblock %}