Use Bootstrap panel markup

This commit is contained in:
Oliver Davies 2015-09-12 20:42:18 +01:00
parent 6afcc3dfc6
commit b81c4f6ff4
2 changed files with 5 additions and 9 deletions

View file

@ -65,19 +65,15 @@
{% block sidebar_wrapper %}
<div class="col-md-3">
{% block sidebar %}
<section class="block block--da_member">
<h2 class="sr-only">Drupal Association</h2>
<div class="panel">
<a href="https://assoc.drupal.org/membership" title="Become a Drupal Association member">
<img src="{{ site.url }}/assets/images/da-individual-member.png" alt="Drupal Association Individual Member" width="150">
</a>
</section>
<section class="block block--drupalcon">
<h2 class="sr-only">DrupalCon Barcelona</h2>
<a href="https://events.drupal.org/barcelona2015">
<img src="{{ site.url }}/assets/images/drupalcon-barcelona.png" alt="Im attending DrupalCon Barcelona." width="150">
</a>
</section>
</div>
{% include 'availability' %}
{% endblock sidebar %}

View file

@ -1,7 +1,7 @@
<div class="availability">
<h2>Availability</h2>
<div class="panel panel-default">
<div class="panel-heading">Availability</div>
<div class="content">
<div class="panel-body">
{% set now = "now"|date('U') %}
{% for type, data in site.availability.status %}