Use Bootstrap panel markup
This commit is contained in:
parent
6afcc3dfc6
commit
b81c4f6ff4
|
@ -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="I’m attending DrupalCon Barcelona." width="150">
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{% include 'availability' %}
|
||||
{% endblock sidebar %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Reference in a new issue