Skip to content

Commit

Permalink
Replace col-xs with col- to follow change in Bootstrap 4 (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-kelp authored Jun 26, 2024
1 parent 21e0912 commit ee67535
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion OpenOversight/app/templates/auth/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>
<small>{{ user.email }}</small>
</h1>
</div>
<div class="col-md-6 col-xs-12">
<div class="col-md-6 col-12">
<form class="form" method="post" role="form">
{{ wtf.render_form(form, button_map={
"submit": "primary",
Expand Down
4 changes: 2 additions & 2 deletions OpenOversight/app/templates/complaint.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 class="page-header">
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6 col-lg-8">
<div class="col-12 col-sm-6 col-lg-8">
<p>
Now that you've found the offending officer, it's time to submit a complaint
to the relevant oversight body. For complaints regarding Chicago Police Department
Expand All @@ -27,7 +27,7 @@ <h3>
class="btn btn-info btn-lrg">File Complaint Online</a>
</div>
</div>
<div class="col-xs-6 col-lg-4">
<div class="col-6 col-lg-4">
<center>
<img class="img-responsive" src="{{ officer_image }}" alt="Officer face">
</center>
Expand Down
2 changes: 1 addition & 1 deletion OpenOversight/app/templates/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>
</div>
{% block page_header %}
{% endblock page_header %}
<div class="col-md-6 col-xs-12">
<div class="col-md-6 col-12">
{% block form %}
{{ wtf.render_form(form, action=post_url, method='post', button_map={'submit':'primary'}) }}
<br>
Expand Down
8 changes: 4 additions & 4 deletions OpenOversight/app/templates/list_officer.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,19 +265,19 @@ <h3 class="panel-title accordion-toggle">Photo</h3>
{% for officer in officers.items %}
<li class="list-group-item">
<div class="row">
<div class="col-md-6 col-xs-12">
<div class="col-md-6 col-12">
<a href="{{ url_for('main.officer_profile', officer_id=officer.id) }}">
<img class="officer-face img-responsive thumbnail" src="{{ officer.image | default("/static/images/placeholder.png") }}" alt="{{ officer.full_name() }}">
</a>
</div>
<div class="col-md-6 col-xs-12">
<div class="col-md-6 col-12">
<h2>
<a href="{{ url_for('main.officer_profile', officer_id=officer.id) }}"
id="officer-profile-{{ loop.index }}">{{ officer.full_name() }}</a>
<small>{{ officer.badge_number() | default('') }}</small>
</h2>
<div class="row">
<div class="col-md-6 col-xs-6">
<div class="col-md-6 col-6">
<dl>
<dt>Rank</dt>
<dd>
Expand All @@ -297,7 +297,7 @@ <h2>
</dd>
</dl>
</div>
<div class="col-md-6 col-xs-6">
<div class="col-md-6 col-6">
<dl>
<dt>Race</dt>
<dd>
Expand Down

0 comments on commit ee67535

Please sign in to comment.