Commit c977a7e8 authored by okhin's avatar okhin 🚴

Merge branch '32-nouveau-front' into 'preprod'

Resolve "Nouveau front"

Closes #32

See merge request !26
parents 332cfea1 5c16a826
Pipeline #2090 passed with stages
in 1 minute and 21 seconds
...@@ -7,17 +7,15 @@ ...@@ -7,17 +7,15 @@
<div class="col-md-4"><!-- Form infos du compte --> <div class="col-md-4"><!-- Form infos du compte -->
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingInfos"> <div class="panel-heading" role="tab" id="headingInfos">
<div class="panel-title col-xs text-left"> <div class="panel-title col-xs text-left">
<a role="button" data-toggle="collapse" href="#collapseInfos" aria-expanded="flase" aria-controls="collapseInfos">
{{ _("Compte")}} {{ _("Compte")}}
</a>
<div class="panel-title col-xs-2 text-right"> <div class="panel-title col-xs-2 text-right">
<a role="button" data-toggle="collapse" href="#collapseInfos" aria-expanded="true" aria-controls="collapseInfos">
<span class="caret"></span>
</a>
</div> </div>
</div> </div>
</div> </div>
<span class="caret"></span>
<input id="compte" type="checkbox">
<div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos"> <div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
<div class="panel-body text-left"> <div class="panel-body text-left">
<form method="POST" action="{{ 'infos' | alias }}"> <form method="POST" action="{{ 'infos' | alias }}">
...@@ -286,8 +284,8 @@ ...@@ -286,8 +284,8 @@
</label> </label>
<form class="text-left"> <form class="text-left">
<div class="form-group text-left"> <div class="form-group text-left">
<label class="form-control" for="taille">{{ _("Taille") }}</label> <label for="taille">{{ _("Taille") }}</label>
<select name="taille"> <select class="form-control" name="taille">
<repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}"> <repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
<option value="{{ @key }}">{{ @value }}</option> <option value="{{ @key }}">{{ @value }}</option>
</repeat> </repeat>
......
...@@ -178,6 +178,12 @@ padding: 0 15px; ...@@ -178,6 +178,12 @@ padding: 0 15px;
display:block; display:block;
margin:auto; margin:auto;
} }
#collapseInfos {
display:none;
}
#compte:checked + #collapseInfos {
display:block
}
/* Problèmes de css à répercuter plus tard */ /* Problèmes de css à répercuter plus tard */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment