Commit 82edcc61 authored by Daniel W Bond's avatar Daniel W Bond

two students fit comfortably on each row on a mobile viewport, rather than only one

parent b644833b
......@@ -26,7 +26,7 @@
<div class="col-md-12">
<div class="row">
{% for student in graduating_year.list %}
<div class="col-sm-3 text-center">
<div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
{% if student.get_flag_count > 4 %}
......
......@@ -26,7 +26,7 @@
<div class="row">
{% for student in students %}
<div class="col-sm-3 text-center">
<div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
<h5><em>{% include 'double_major.html' %}</em></h5>
......
......@@ -27,7 +27,7 @@
<div class="row">
{% for student in students %}
<div class="col-sm-3 text-center">
<div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
<h5><em>{% include 'double_major.html' %}</em></h5>
......
......@@ -32,7 +32,7 @@ Back
{% endif %}
<div class="row">
{% for student in roomies %}
<div class="col-md-3 text-center">
<div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture"></img>
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
<h5><em>{% include 'double_major.html' %}</em></h5>
......@@ -55,7 +55,7 @@ Back
<hr/>
<div class="row">
{% for student in floories %}
<div class="col-md-3 text-center">
<div class="col-md-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
<h5><em>{% include 'double_major.html' %}</em></h5>
......@@ -87,7 +87,7 @@ Back
<hr />
<div class="row">
{% for student in students %}
<div class="col-md-3 text-center">
<div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
<h5>{{ student.graduating_year|bc }}</h5>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment