User page collapse accessibility fixes.

This commit is contained in:
Alexey Skobkin 2015-06-02 08:59:42 +03:00
parent 9b6b286d2d
commit 933cd222db

View file

@ -12,14 +12,14 @@
{% if subscribers|length > 0 %} {% if subscribers|length > 0 %}
<div class="panel-group" id="accordion-subscribers"> <div class="panel-group" id="accordion-subscribers">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"id="headingOne"> <div class="panel-heading" id="heading-subscribers">
<h4 class="panel-title"> <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion-subscribers" aria-expanded="false" href="#collapse-subscribers"> <a data-toggle="collapse" data-parent="#accordion-subscribers" aria-expanded="false" href="#collapse-subscribers">
<span class="glyphicon glyphicon-collapse-down"></span> {{ 'Subscribers'|trans }} <span class="glyphicon glyphicon-collapse-down"></span> {{ 'Subscribers'|trans }}
</a> </a>
</h4> </h4>
</div> </div>
<div id="collapse-subscribers" class="panel-collapse collapse"> <div id="collapse-subscribers" class="panel-collapse collapse" aria-labelledby="heading-subscribers">
<div class="panel-body"> <div class="panel-body">
<ul class="users mosaic"> <ul class="users mosaic">
{% for user in subscribers %} {% for user in subscribers %}
@ -39,14 +39,14 @@
{% if log|length > 0 %} {% if log|length > 0 %}
<div class="panel-group" id="accordion-log"> <div class="panel-group" id="accordion-log">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading" id="headingOne"> <div class="panel-heading" id="heading-subscriptions-log">
<h4 class="panel-title"> <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion-log" aria-expanded="true" href="#collapse-log"> <a data-toggle="collapse" data-parent="#accordion-log" aria-expanded="true" href="#collapse-log">
<span class="glyphicon glyphicon-collapse-down"></span> {{ 'Subscriptions log'|trans }} <span class="glyphicon glyphicon-collapse-down"></span> {{ 'Subscriptions log'|trans }}
</a> </a>
</h4> </h4>
</div> </div>
<div id="collapse-log" class="panel-collapse collapse in"> <div id="collapse-log" class="panel-collapse collapse in" aria-labelledby="heading-subscriptions-log">
<div class="panel-body"> <div class="panel-body">
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>