Merge branch 'issue-56' into 'dev'

Issue 56

See merge request framasoft/framadate/funky-framadate-front!22
This commit is contained in:
Le Libre Au Quotidien 2019-12-30 14:47:40 +01:00
commit 32cbecf0f4
7 changed files with 406 additions and 310 deletions

583
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -30,20 +30,20 @@
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.21",
"@angular/cli": "~8.2.1",
"@angular/compiler-cli": "~8.2.0",
"@angular/language-service": "~8.2.0",
"@angular/cli": "~8.3.21",
"@angular/compiler-cli": "^8.2.14",
"@angular/language-service": "^8.2.14",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/jasminewd2": "^2.0.8",
"@types/node": "~8.9.4",
"codelyzer": "^5.0.0",
"codelyzer": "^5.2.1",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"karma-jasmine-html-reporter": "^1.5.1",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",

View File

@ -12,6 +12,7 @@ import {HomeComponent} from "../pages/home/home.component";
import {PollGraphicComponent} from '../poll-graphic/poll-graphic.component';
import {VoteChoiceComponent} from "../vote-choice/vote-choice.component";
import {VotingComponent} from "../pages/voting/voting.component";
import {PasswordComponent} from "../pages/password/password.component";
/**
* each step in the form is a component
*/
@ -33,5 +34,6 @@ export const Routes =
{path: 'graphic/:poll', component: PollGraphicComponent},
{path: 'votechoice', component: VoteChoiceComponent},
{path: 'voting', component: VotingComponent},
{path: 'step/password', component: PasswordComponent},
]
;

View File

@ -1 +1,12 @@
<p>password works!</p>
<h1 class="margin-btm-x3">Nom du sondage</h1>
<p class="margin-btm-x6">Ce sondage est protégé par un mot de passe</p>
<form>
<label for="password">Mot de passe :</label>
<section class="row">
<input class="margin-btm-x5" type="password" name="password">
<input type="submit" name="view" value="Voir" class="btn btn--small btn--purple">
</section>
<input type="submit" name="go" value="Accéder au sondage" class="btn btn--primary btn--full btn--semi-bold">
</form>

View File

@ -0,0 +1,12 @@
form{
display:flex;
flex-direction: column;
}
label{
font-weight: 600;
font-size: 18px;
}
h1{
display:flex;
align-self: center;
}

View File

@ -31,6 +31,9 @@
&--primary {
@include btnTheme($primary_color);
}
&--semi-bold {
font-weight: 600;
}
&--black-text {
color:black;
}

View File

@ -108,6 +108,9 @@
.margin-top-x8{
margin-top:80px;
}
.margin-right-x2{
margin-bottom:20px;
}
.text-14{
font-size: 14px;
}