[microdecision] Clean migration screen a bit

This commit is contained in:
Alexandre Aubin 2019-05-30 19:00:24 +02:00
parent fc34a743d9
commit b4ed005665

View file

@ -22,12 +22,9 @@
<div class="list-group"> <div class="list-group">
{{#pending_migrations}} {{#pending_migrations}}
<div class="list-group-item clearfix"> <div class="list-group-item clearfix">
<h3 class="list-group-item-heading" style="text-transform: capitalize;"> <h3 class="list-group-item-heading">
{{ number }}. {{ name }} {{ number }}. {{ description }}
</h3> </h3>
<p id="description-migration-{{number}}" class="list-group-item-text">
{{ description }}
</p>
{{#if disclaimer }} {{#if disclaimer }}
<hr> <hr>
<p id="disclaimer-migration-{{number}}" class="list-group-item-text"> <p id="disclaimer-migration-{{number}}" class="list-group-item-text">
@ -51,22 +48,20 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h2 class="panel-title"><span class="fa-fw fa-cogs"></span> {{t 'migrations_done'}} <h2 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#done_migrations" aria-expanded="true" aria-controls="done_migrations">
<span class="fa-fw fa-cogs"></span> {{t 'migrations_done'}}
</a>
</h2> </h2>
</div> </div>
{{#if done_migrations}} {{#if done_migrations}}
<div class="list-group"> <div id="done_migrations" class="list-group panel-collapse collapse" role="tabpanel" aria-labelledby="heading-{{key}}">
{{#done_migrations}} {{#done_migrations}}
<div class="list-group-item clearfix"> <div class="list-group-item clearfix">
<h3 class="list-group-item-heading" style="text-transform: capitalize;"> <h3 class="list-group-item-heading">
<a data-toggle="collapse" href="#description-migration-{{number}}"> {{ number }}. {{ description }}
{{ number }}. {{ name }}
</a>
</h3> </h3>
<p id="description-migration-{{number}}" class="list-group-item-text collapse">
{{ description }}
</p>
</div> </div>
{{/done_migrations}} {{/done_migrations}}
</div> </div>