🎨 Ajout d'un titre à la section 'Vos réponses'
parent
75354efdc5
commit
b9f9c6391a
|
@ -98,16 +98,20 @@
|
|||
opacity: .95;
|
||||
}
|
||||
|
||||
#reinitialise {
|
||||
|
||||
#foldedSteps .header {
|
||||
margin-bottom: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
#reinitialise button {
|
||||
#foldedSteps .header h3 {
|
||||
display: inline;
|
||||
}
|
||||
#foldedSteps .header button {
|
||||
font-size: 80%;
|
||||
color: #4A89DC;
|
||||
border: none;
|
||||
}
|
||||
#reinitialise button i {
|
||||
#foldedSteps .header button i {
|
||||
margin-right: .3em;
|
||||
vertical-align: top
|
||||
}
|
||||
|
|
|
@ -108,7 +108,8 @@ export default class extends React.Component {
|
|||
<div id="questions-answers">
|
||||
{ !R.isEmpty(foldedSteps) &&
|
||||
<div id="foldedSteps">
|
||||
<div id="reinitialise" >
|
||||
<div className="header" >
|
||||
<h3>Vos réponses</h3>
|
||||
<button onClick={reinitalise}>
|
||||
<i className="fa fa-trash" aria-hidden="true"></i>
|
||||
Tout effacer
|
||||
|
|
|
@ -82,7 +82,6 @@ let buildNextSteps = analysedSituation => {
|
|||
analysedSituation
|
||||
)
|
||||
|
||||
console.log('missingVariables', missingVariables)
|
||||
|
||||
/*
|
||||
Parmi les variables manquantes, certaines sont citées dans une règle de type 'une possibilité'.
|
||||
|
|
|
@ -401,7 +401,6 @@ let treat = (situationGate, rule) => rawNode => {
|
|||
|
||||
if (k === 'taux') {
|
||||
let reg = /^(\d+(\.\d+)?)\%$/
|
||||
console.log('taux, v', v)
|
||||
if (R.test(reg)(v))
|
||||
return {
|
||||
category: 'percentage',
|
||||
|
|
Loading…
Reference in New Issue