reponsive previsionnel

This commit is contained in:
Baptiste Lemoine 2018-08-27 16:37:27 +02:00
parent 4800703ad1
commit b64b437d17

View File

@ -9,8 +9,8 @@
ng-controller="previsionnelCtrl as pCtrl" ng-controller="previsionnelCtrl as pCtrl"
> >
<div class="row"> <div class="row">
<div class="col-6"></div> <div class="col-xs-12 col-md-6"></div>
<div class="col-6"> <div class="col-xs-12 col-md-6">
<div ng-if="config.initialLoadingDone && config.loading"> <div ng-if="config.initialLoadingDone && config.loading">
Chargement ... Chargement ...
@ -22,7 +22,7 @@
</div> </div>
<h1>Prévisionnel</h1> <h1>Prévisionnel</h1>
<div class="row"> <div class="row">
<div class="col-7 col-xs-12 col-sm-7"> <div class="col-xs-12">
<div class="config well"> <div class="config well">
<h2> <h2>
Configuration Configuration
@ -59,7 +59,8 @@
Crédit mensuel réalisable (33% des gains moyens par mois): {{ config.averageMonthlyEarnings * 0.33 |number }} Crédit mensuel réalisable (33% des gains moyens par mois): {{ config.averageMonthlyEarnings * 0.33 |number }}
</p> </p>
</div> </div>
<div class="postes"> </div>
<div class="col-xs-12 col-sm-7 postes">
<h2> <h2>
{{expenses.length}} Postes de dépenses mensuelles {{expenses.length}} Postes de dépenses mensuelles
<button ng-click="addExpense()">+</button> <button ng-click="addExpense()">+</button>
@ -162,7 +163,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-5 col-xs-12 col-sm-5"> <div class="col-sm-12 col-lg-5">
<h2>Simulation sur {{config.lines}} mois</h2> <h2>Simulation sur {{config.lines}} mois</h2>
<div class="well" ng-if="config.monthsBeforeNoMoney < config.lines"> <div class="well" ng-if="config.monthsBeforeNoMoney < config.lines">