Use Bootstrap panel markup
This commit is contained in:
parent
6afcc3dfc6
commit
b81c4f6ff4
|
@ -65,19 +65,15 @@
|
||||||
{% block sidebar_wrapper %}
|
{% block sidebar_wrapper %}
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
{% block sidebar %}
|
{% block sidebar %}
|
||||||
<section class="block block--da_member">
|
<div class="panel">
|
||||||
<h2 class="sr-only">Drupal Association</h2>
|
|
||||||
<a href="https://assoc.drupal.org/membership" title="Become a Drupal Association member">
|
<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">
|
<img src="{{ site.url }}/assets/images/da-individual-member.png" alt="Drupal Association Individual Member" width="150">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="block block--drupalcon">
|
|
||||||
<h2 class="sr-only">DrupalCon Barcelona</h2>
|
|
||||||
<a href="https://events.drupal.org/barcelona2015">
|
<a href="https://events.drupal.org/barcelona2015">
|
||||||
<img src="{{ site.url }}/assets/images/drupalcon-barcelona.png" alt="I’m attending DrupalCon Barcelona." width="150">
|
<img src="{{ site.url }}/assets/images/drupalcon-barcelona.png" alt="I’m attending DrupalCon Barcelona." width="150">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
{% include 'availability' %}
|
{% include 'availability' %}
|
||||||
{% endblock sidebar %}
|
{% endblock sidebar %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="availability">
|
<div class="panel panel-default">
|
||||||
<h2>Availability</h2>
|
<div class="panel-heading">Availability</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="panel-body">
|
||||||
{% set now = "now"|date('U') %}
|
{% set now = "now"|date('U') %}
|
||||||
|
|
||||||
{% for type, data in site.availability.status %}
|
{% for type, data in site.availability.status %}
|
||||||
|
|
Loading…
Reference in a new issue