Commit bc049b35 authored by Daniel W Bond's avatar Daniel W Bond

templates wrap at 89 characters-- mostly

parent 411412fa
Pipeline #1368 passed with stage
in 3 minutes and 26 seconds
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList | Flag {{ student.get_full_name_or_uname }} {% endblock %}
{% block title %}
SRCT Roomlist • Flag {{ student.get_full_name_or_uname }}
{% endblock %}
{% block message_queue %}
{% endblock %}
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList | Remove Flag {{ confirmation.student.get_full_name_or_uname }} {% endblock %}
{% block title %}
SRCT Roomlist • Remove Flag {{ confirmation.student.get_full_name_or_uname }}
{% endblock %}
{% block message_queue %}
{% endblock %}
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList • Delete My Account {% endblock %}
{% block title %}
SRCT Roomlist • Delete My Account
{% endblock %}
{% block message_queue %}
{% endblock %}
......@@ -40,16 +41,21 @@
<hr />
<ul class="text-center">
{% for error in form.non_field_errors %}
<li class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</li>
<li class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</li>
{% endfor %}
</ul>
<hr />
{% endif %}
<form class="form-horizontal" autocomplete="off" action="" method="post">{% csrf_token %}
<form class="form-horizontal" autocomplete="off" action="" method="post">
{% csrf_token %}
<fieldset>
{% if form.leaving.errors %}
{% for error in form.leaving.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -65,7 +71,9 @@
<hr/>
{% if form.feedback.errors %}
{% for error in form.feedback.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -88,13 +96,15 @@
<a href="{{ student.get_absolute_url }}" style="margin:10px">
<button type="button" class="btn btn-default">Cancel</button>
</a>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#deleteModal">
<button type="button" class="btn btn-danger"
data-toggle="modal" data-target="#deleteModal">
Delete Me
</button>
</div>
</div>
<div class="modal fade" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal fade" id="deleteModal" tabindex="-1"
role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
......
......@@ -12,7 +12,9 @@ SRCT Roomlist &bull; {{ student.user.first_name }} {{ student.user.last_name }}
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-2 col-md-offset-1 text-center">
<img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_full_name_or_uname }} profile picture">
<img class="img-circle img-responsive center center-block profile-image"
src="{{ student.profile_image_url }}"
alt="{{ student.get_full_name_or_uname }} profile picture">
</div>
<div class="col-md-6 text-center">
......@@ -89,7 +91,9 @@ SRCT Roomlist &bull; {{ student.user.first_name }} {{ student.user.last_name }}
</tr>
<tr>
<td><h4><strong>Email</strong>: <a href="mailto:{{ student.user.email }}">{{ student.user.email }}</a></h4></a></td>
<td><h4><strong>Email</strong>:
<a href="mailto:{{ student.user.email }}">{{ student.user.email }}</a></h4></a>
</td>
</tr>
{% if student.show_gender %}
<tr>
......
......@@ -4,12 +4,16 @@
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist Majors"/>
<meta property="og:description" content="Undergraduate majors on SRCT Roomlist. Log in with your Mason username and password to find your on-campus neighbors."/>
<meta property="og:description"
content="Undergraduate majors on SRCT Roomlist. Log in with your Mason username
and password to find your on-campus neighbors."/>
{% endblock %}
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist Majors" />
<meta name="twitter:description" content="Undergraduate majors on SRCT Roomlist. Log in with your Mason username and password to find your on-campus neighbors." />
<meta name="twitter:description"
content="Undergraduate majors on SRCT Roomlist. Log in with your Mason username
and password to find your on-campus neighbors." />
{% endblock tw_metadata %}
{% block content %}
......@@ -43,7 +47,9 @@
<div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12 col-md-offset-0 col-sm-10 col-sm-offset-1 col-xs-12 col-xs-offset-0">
{% for letter in majors_by_letter %}
<legend><a name="{{ letter.grouper }}" href="#{{ letter.grouper }}">{{ letter.grouper }}</a></legend>
<legend>
<a name="{{ letter.grouper }}" href="#{{ letter.grouper }}">{{ letter.grouper }}</a>
</legend>
<div class="major-row">
<div class="row">
{% for major in letter.list %}
......
......@@ -3,10 +3,14 @@
<div class="col-md-12">
{% if request.user.student.recent_changes <= 2 %}
<div class="alert alert-warning text-center" role="alert">
<strong>To safeguard everyone's privacy, the number of times you can change your room in a semester is limited.</strong>
<strong>To safeguard everyone's privacy, the number of times you can change
your room in a semester is limited.</strong>
{% else %}
<div class="alert alert-danger text-center" role="alert">
<strong>To safeguard everyone's privacy, the number of times you can change your room in a semester is limited. Email <a href="mailto:roomlist@lists.srct.gmu.edu?Subject=I%20Don%27t%20Know%20Where%20I%20Live%3A%20Halp%20Pls">roomlist@lists.srct.gmu.edu</a> to have your room changed.</strong>
<strong>To safeguard everyone's privacy, the number of times you can change
your room in a semester is limited. Email
<a href="mailto:roomlist@lists.srct.gmu.edu?Subject=I%20Don%27t%20Know%20Where%20I%20Live%3A%20Halp%20Pls">
roomlist@lists.srct.gmu.edu</a> to have your room changed.</strong>
{% endif %}
</div>
</div>
......
......@@ -17,9 +17,13 @@
<option value="">---</option>
{% for building in buildings %}
{% if user.student.get_building == building %}
<option value="{{ building.name }}" class="{{ building.neighbourhood }}" selected="selected">{{ building.name }}</option>
<option value="{{ building.name }}" class="{{ building.neighbourhood }}" selected="selected">
{{ building.name }}
</option>
{% else %}
<option value="{{ building.name }}" class="{{ building.neighbourhood }}">{{ building.name }}</option>
<option value="{{ building.name }}" class="{{ building.neighbourhood }}">
{{ building.name }}
</option>
{% endif %}
{% endfor %}
</select>
......@@ -31,7 +35,9 @@
{% load cache %}
{% cache 3600 floor_list %}
{% for floor in floors %}
<option value="{{ floor.pk }}" class="{{ floor.building.name }}">{{ floor.number|ordinal }}</option>
<option value="{{ floor.pk }}" class="{{ floor.building.name }}">
{{ floor.number|ordinal }}
</option>
{% endfor %}
{% endcache %}
</select>
......
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Roomlist &bull; Search Students
{% endblock %}
......@@ -16,7 +15,8 @@ SRCT Roomlist &bull; Search Students
<form class="form-horizontal" method="get" action=".">
<div class="form-group">
<label for="{{ form.q.id_for_label }}" class="col-lg-1 col-lg-offset-2 col-md-2 col-md-offset-1 col-sm-2 col-xs-12">
<label for="{{ form.q.id_for_label }}"
class="col-lg-1 col-lg-offset-2 col-md-2 col-md-offset-1 col-sm-2 col-xs-12">
<strong>Name</strong> or <strong>Username</strong>
</label>
<div class="col-lg-6 col-md-6 col-sm-9 col-xs-10">
......
......@@ -10,7 +10,9 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-12 text-center">
<h1><i class="fa fa-fw fa-2x fa-times"></i> <i class="fa fa-fw fa-2x fa-{{ application }}"></i></h1>
<h1>
<i class="fa fa-fw fa-2x fa-times"></i> <i class="fa fa-fw fa-2x fa-{{ application }}"></i>
</h1>
<p class="lead">Remove My {{ branding }} Account</p>
</div>
</div>
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT Roomlist &bull; My Settings {% endblock %}
{% block title %}
SRCT Roomlist &bull; My Settings
{% endblock %}
{% block css %}
<link href="/static/css/chosen.min.css" rel="stylesheet" media="screen">
......@@ -47,22 +48,29 @@
{% if form.non_field_errors %}
<ul class="text-center">
{% for error in form.non_field_errors %}
<li class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</li>
<li class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</li>
{% endfor %}
</ul>
<hr />
{% endif %}
{% spaceless %}
<form class="form-horizontal" autocomplete="off" action="" method="post">{% csrf_token %}
<form class="form-horizontal" autocomplete="off" action="" method="post">
{% csrf_token %}
<fieldset>
{% if form.first_name.errors %}
{% for error in form.first_name.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
{% if form.last_name.errors %}
{% for error in form.last_name.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -91,7 +99,9 @@
</div>
{% if form.gender.errors %}
{% for error in form.gender.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -110,7 +120,9 @@
</div>
{% if form.show_gender.errors %}
{% for error in form.show_gender.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -126,7 +138,9 @@
<hr />
{% if form.major.errors %}
{% for error in form.major.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -139,7 +153,9 @@
</div>
{% if form.graduating_year.errors %}
{% for error in form.graduating_year.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -154,7 +170,9 @@
<hr />
{% if form.on_campus.errors %}
{% for error in form.on_campus.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
{% if request.user.student.is_staff %}
......@@ -178,7 +196,9 @@
We'll let everyone know when we add them.</p>
{% if form.room.errors %}
{% for error in form.room.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -192,7 +212,9 @@
</p>
{% if form.privacy.errors %}
{% for error in form.privacy.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -209,7 +231,9 @@
</p>
{% if form.blocked_kids.errors %}
{% for error in form.blocked_kids.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -228,9 +252,9 @@
</div>
</div>
{% if not request.user.student.is_staff %}
<p>
<small><a href="{% url 'delete_student' request.user.username %}">Delete Account</a></small>
</p>
<p><small>
<a href="{% url 'delete_student' request.user.username %}">Delete Account</a>
</small></p>
{% endif %}
</div>
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT Roomlist &bull; {{ building.name }} {% endblock %}
{% block title %}
SRCT Roomlist &bull; {{ building.name }}
{% endblock %}
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist - {{ building.name }}"/>
<meta property="og:description" content="Do you live in {{ building.name }}? Log in with your Mason username and password to find your neighbors."/>
<meta property="og:description"
content="Do you live in {{ building.name }}?
Log in with your Mason username and password to find your neighbors."/>
{% endblock %}
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist - {{ building.name }}" />
<meta name="twitter:description" content="Do you live in {{ building.name }}? Log in with your Mason username and password to find your neighbors." />
<meta name="twitter:description"
content="Do you live in {{ building.name }}?
Log in with your Mason username and password to find your neighbors." />
{% endblock tw_metadata %}
{% block content %}
......@@ -35,7 +41,8 @@
<div class="row">
{% for floor in floors %}
<div class="col-sm-3 minor-padding text-center">
<a href="{{ floor.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">{{ floor.number|ordinal }} Floor</a>
<a href="{{ floor.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{{ floor.number|ordinal }} Floor</a>
</div>
{% if forloop.counter|divisibleby:4 %}
</div>
......
{% extends 'layouts/base.html' %}
{% load humanize %}
{% block title %} SRCT Roomlist &bull; {{ floor.building.name }} {{ floor.number|ordinal }}{% endblock title %}
{% block title %}
SRCT Roomlist &bull; {{ floor.building.name }} {{ floor.number|ordinal }}
{% endblock title %}
{% comment %}
No metadata tags because a link to this page would just show the cas login page
{% endcomment %}
{% block content %}
{% load cache %}
{% cache 15 floor_students request.user.username floor %}
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT Roomlist &bull; {{ room.floor.building.name }} {{ room.number }}{% endblock %}
{% block title %}
SRCT Roomlist &bull; {{ room.floor.building.name }} {{ room.number }}
{% endblock %}
{% block content %}
{% load cache %}
{% cache 15 room_students request.user.username room %}
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT Roomlist &bull; Neighborhoods {% endblock title %}
{% block title %}
SRCT Roomlist &bull; Neighborhoods
{% endblock title %}
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist Neighborhoods"/>
<meta property="og:description" content="Housing locations on SRCT Roomlist. Log in with your Mason username and password to find your on-campus neighbors."/>
<meta property="og:description"
content="Housing locations on SRCT Roomlist. Log in with your Mason username
and password to find your on-campus neighbors."/>
{% endblock og_metadata %}
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist Neighborhoods" />
<meta name="twitter:description" content="Housing locations on SRCT Roomlist. Log in with your Mason username and password to find your on-campus neighbors." />
<meta name="twitter:description"
content="Housing locations on SRCT Roomlist. Log in with your Mason username
and password to find your on-campus neighbors." />
{% endblock tw_metadata %}
{% block content %}
......@@ -41,7 +46,11 @@
</div>
{% for neighbourhood, buildings in buildings_by_neighbourhood.items %}
<legend><strong><a name="{{ neighbourhood }}" href="#{{ neighbourhood }}">{{ neighbourhood }}</a></strong></legend>
<legend>
<strong>
<a name="{{ neighbourhood }}" href="#{{ neighbourhood }}">{{ neighbourhood }}</a>
</strong>
</legend>
<div class="row">
{% for building in buildings %}
......
......@@ -4,12 +4,16 @@
{% block og_metadata %}
<meta property="og:title" content="About SRCT Roomlist"/>
<meta property="og:description" content="Roomlist is a Mason student housing directory, developed and hosted by Student-Run Computing and Tech, a registered student org."/>
<meta property="og:description"
content="Roomlist is a Mason student housing directory, developed and hosted
by Student-Run Computing and Tech, a registered student org."/>
{% endblock %}
{% block tw_metadata %}
<meta name="twitter:title" content="About SRCT Roomlist" />
<meta name="twitter:description" content="Roomlist is a Mason student housing directory, developed and hosted by Student-Run Computing and Tech, a registered student org." />
<meta name="twitter:description"
content="Roomlist is a Mason student housing directory, developed and hosted
by Student-Run Computing and Tech, a registered student org." />
{% endblock tw_metadata %}
{% block content %}
......@@ -23,7 +27,12 @@
<div class="jumbotron jumboabout">
<h1>About Roomlist</h1>
</div>
<a href="https://creativecommons.org/licenses/by-nc/2.0/" target="_blank"><img alt="Creative Commons License" style="border-width:0" src="https://licensebuttons.net/l/by-nc/2.0/80x15.png" title="'Campus Dorms East side of Campus' by Flickr user cgs_gmu2005 is licensed under a Creative Commons Attribution-NonCommerical 2.0 General License."></a>
<a href="https://creativecommons.org/licenses/by-nc/2.0/" target="_blank">
<img alt="Creative Commons License" style="border-width:0"
src="https://licensebuttons.net/l/by-nc/2.0/80x15.png"
title="'Campus Dorms East side of Campus' by Flickr user cgs_gmu2005
is licensed under a Creative Commons Attribution-NonCommerical
2.0 General License."/></a>
</div>
</div>
</div>
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT Roomlist &bull; Homepage {% endblock title %}
{% block title %}
SRCT Roomlist &bull; Homepage
{% endblock title %}
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist"/>
<meta property="og:description" content="Welcome to SRCT Roomlist! Log in with your Mason username and password to find your on-campus neighbors."/>
<meta property="og:description"
content="Welcome to SRCT Roomlist! Log in with your Mason username and password
to find your on-campus neighbors."/>
{% endblock %}
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist" />
<meta name="twitter:description" content="Welcome to SRCT Roomlist! Log in with your Mason username and password to find your on-campus neighbors." />
<meta name="twitter:description"
content="Welcome to SRCT Roomlist! Log in with your Mason username and password
to find your on-campus neighbors." />
{% endblock tw_metadata %}
......@@ -24,8 +30,12 @@
<h1 class="text-center"><strong>SRCT</strong>&#8203;ROOMLIST</h1>
<h3 class="text-center">Find your on-campus neighbors</h3>
</div>
<a href="https://creativecommons.org/licenses/by-nc/2.0/" target="_blank"><img alt="Creative Commons License" style="border-width:0" src="https://licensebuttons.net/l/by-nc/2.0/80x15.png" title="'North Section of President's Park Dorms' by Flickr user cgs_gmu2005 is licensed under a Creative Commons Attribution-NonCommercial 2.0 Generic License."
/>
<a href="https://creativecommons.org/licenses/by-nc/2.0/" target="_blank">
<img alt="Creative Commons License" style="border-width:0"
src="https://licensebuttons.net/l/by-nc/2.0/80x15.png"
title="'North Section of President's Park Dorms' by Flickr user
cgs_gmu2005 is licensed under a Creative Commons
Attribution-NonCommercial 2.0 Generic License."/>
</a>
</div>
</div>
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT Roomlist &bull; Homepage {% endblock title %}
{% block title %}
SRCT Roomlist &bull; Homepage
{% endblock title %}
{% block content %}
......
......@@ -18,7 +18,8 @@
<!-- Facebook -->
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist"/>
<meta property="og:description" content="Log in with your Mason username and password to find your on-campus neighbors."/>
<meta property="og:description"
content="Log in with your Mason username and password to find your on-campus neighbors."/>
{% endblock og_metadata %}
<meta property="og:type" content="website"/>
<meta property="og:image" content="https://srct.gmu.edu/static/media/SRCT_square_sm.png"/>
......@@ -29,7 +30,9 @@
<meta name="twitter:site" content="@MasonSRCT" />
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist" />
<meta name="twitter:description" content="Log in with your Mason username and password to find your on-campus neighbors." /> <!-- Maximum 200 characters. -->
<meta name="twitter:description"
content="Log in with your Mason username and password to find your on-campus neighbors." />
<!-- Maximum 200 characters. -->
{% endblock tw_metadata %}
<!-- Twitterbot now automatically crawls for the url: no url tag. -->
<meta name="twitter:image" content="https://srct.gmu.edu/static/media/SRCT_square_sm.png" />
......
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{% url 'homepage' %}"><img src="/static/img/SRCT_square.svg" height="25" width="25" alt="SRCT"> ROOMLIST</a>
<a class="navbar-brand" href="{% url 'homepage' %}">
<img src="/static/img/SRCT_square.svg" height="25" width="25" alt="SRCT">
ROOMLIST
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
......@@ -29,12 +34,15 @@
<!-- Puts profile picture in navbar next to username-->
<li>
<a href="{{ user.student.get_absolute_url }}">
<img src="{{ request.user.student.profile_image_url }}" height="35" width="35" alt="{{ student.profile_image_url }}" class="img-circle img-responsive hidden-xs navbar-profile">
<img src="{{ request.user.student.profile_image_url }}"
height="35" width="35" alt="{{ student.profile_image_url }}"
class="img-circle img-responsive hidden-xs navbar-profile">
{{ user.username }}
</a>
</li>
<li class="visible-lg visible-md visible-sm">
<a href="{% url 'update_student' request.user.username %}"><i class="fa fa-cog fa-fw fa-lg"></i></a>
<a href="{% url 'update_student' request.user.username %}">
<i class="fa fa-cog fa-fw fa-lg"></i></a>
</li>
<li class="visible-xs">
<a href="{% url 'update_student' request.user.username %}">Settings</a>
......
......@@ -2,8 +2,10 @@
{% for message in messages %}
<div class="row">
<div class="col-md-12">
<div class="alert alert-{{ message.tags }} alert-dismissable text-center" style='font-size:14px' role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
<div class="alert alert-{{ message.tags }} alert-dismissable text-center"
style='font-size:14px' role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close">
<span aria-hidden="true">&times;</span></button>
<strong>{{ message }}</strong>
</div>
</div>
......
......@@ -6,12 +6,16 @@ SRCT Roomlist &bull; Privacy Policy
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist Privacy Policy"/>
<meta property="og:description" content="Roomlist is available only to individuals with full Mason credentials. Control who sees your information on your settings page."/>
<meta property="og:description"
content="Roomlist is available only to individuals with full Mason credentials.
Control who sees your information on your settings page."/>
{% endblock %}
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist Privacy Policy" />
<meta name="twitter:description" content="Roomlist is available only to individuals with full Mason credentials. Control who sees your information on your settings page."/>
<meta name="twitter:description"
content="Roomlist is available only to individuals with full Mason credentials.
Control who sees your information on your settings page."/>
{% endblock tw_metadata %}
{% block content %}
......@@ -143,7 +147,8 @@ SRCT Roomlist &bull; Privacy Policy
</p>
<p>
Your information may be removed if it is in violation of Mason's
<a href="https://http://universitypolicy.gmu.edu/policies/responsible-use-of-computing/">responsible use of computing policy</a>,
<a href="https://http://universitypolicy.gmu.edu/policies/responsible-use-of-computing/">
responsible use of computing policy</a>,
<a href="https://srct.gmu.edu/documents/usage_policy/">SRCT terms of service</a>,
or other order, or upon graduation or other termination of relationship with the
university and the end of your full access GMU account.
......
{% extends 'layouts/base.html' %}
{% block title %} SRCT RoomList | Welcome | Step 3 of 4 {% endblock %}
{% block title %}
SRCT Roomlist &bull; Welcome &bull; Step 3 of 4
{% endblock %}
{% block css %}
<link href="/static/css/chosen.min.css" rel="stylesheet" media="screen">
......@@ -12,7 +13,8 @@
{% block content %}
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%;">
<div class="progress-bar" role="progressbar"
aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%;">
<span class="sr-only">75% complete</span>
</div>
</div>
......@@ -48,16 +50,21 @@
<hr />
<ul class="text-center">
{% for error in form.non_field_errors %}
<li class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</li>
<li class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</li>
{% endfor %}
</ul>
<hr />
{% endif %}
<form class="form-horizontal" autocomplete="off" action="" method="post">{% csrf_token %}
<form class="form-horizontal" autocomplete="off" action="" method="post">
{% csrf_token %}
<fieldset>
{% if form.major.errors %}
{% for error in form.major.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -70,7 +77,9 @@
</div>
{% if form.graduating_year.errors %}
{% for error in form.graduating_year.errors %}
<p class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</p>
<p class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</p>
{% endfor %}
{% endif %}
<div class="form-group">
......@@ -94,8 +103,11 @@
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center">
<div class="alert alert-danger" role="alert">
<p><i class="fa fa-exclamation-circle fa-fw fa-lg"></i> <strong>Changing your major here serves only to make it easier for others to find you on this site.</strong></p>
<p>Talk with your academic advisor and file all necessary paperwork to officially change your major with the registrar.</p>
<p><i class="fa fa-exclamation-circle fa-fw fa-lg"></i>
<strong>Changing your major here serves only to make it easier for others
to find you on this site.</strong></p>
<p>Talk with your academic advisor and file all necessary paperwork to officially
change your major with the registrar.</p>
</div>
</div>
</div>
......
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Roomlist &bull; Welcome &bull; Step 1 of 4
{% endblock %}
{% block title %} SRCT RoomList | Welcome | Step 1 of 4 {% endblock %}
{% comment %}
Do not display messages.
{% endcomment %}
{% block message_queue %}
{% endblock %}
......@@ -10,7 +14,8 @@
{% load accounts_extras %}
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%;">
<div class="progress-bar" role="progressbar"
aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%;">
<span class="sr-only">25% complete</span>
</div>
</div>
......@@ -40,21 +45,28 @@
{% if error in form.non_field_errors %}
<ul class="text-center">
{% for error in form.non_field_errors %}
<li class="text-danger"><i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}</li>
<li class="text-danger">
<i class="fa fa-exclamation-triangle fa-fw"></i> {{ error }}
</li>
{% endfor %}
</ul>