Skip to content

Commit 3c08ab0

Browse files
committed
css login
1 parent 39c80a0 commit 3c08ab0

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

app/login/loginTemplate.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<p>Good luck!</p>
1313
</div>
1414
<form name="loginForm" novalidate>
15+
<div style="width: 224px;">
1516
<div>
1617
<label for="age">Age:</label>
1718
<input id="age" ng-type="number" ng-model="user.age"/>
@@ -26,6 +27,7 @@
2627
<option value="female">Female</option>
2728
</select>
2829
</div>
30+
</div>
2931
<h3>How did you learn to program:</h3>
3032
<div><label for="selfTaught">self taught<input type="checkbox" id="selfTaught" ng-model="user.degree.selfTaught"></label></div>
3133
<table>
@@ -70,26 +72,27 @@ <h3>How did you learn to program:</h3>
7072
</tr>
7173
</table>
7274

73-
<h3>With which programming languages do you have a good familiarity:</h3><div>
75+
<div class="question" style="margin-top: 23px;">
76+
<div>With which programming languages do you have a good familiarity:</div>
7477
<label ng-repeat="programmingLanguage in programmingLanguagesOptions">
7578
<input type="checkbox" checklist-model="user.programmingLanguages" checklist-value="programmingLanguage"> {{programmingLanguage}}
7679
</label>
7780
</div>
7881

79-
<div>
82+
<div class="question">
8083
<label for="yearsOfExperience">How many years work experience do you have in programming?</label>
8184
<select ng-model="user.yearsOfExperience" ng-options="n for n in {{[] | range:0:20}}"></select>
8285
</div>
8386

84-
<div>
87+
<div class="question">
8588
<label for="assessProgrammingSkills">How do you assess your programming skills?</label>
8689

8790
<label ng-repeat="n in ['0 (novice)',1,2,3,4,'5 (expert)']">
8891
<input type="radio" name="assessProgrammingSkills" ng-model="user.assessProgrammingSkills" ng-value="n" /> {{n}}
8992
</label>
9093
</div>
91-
</br>
92-
<div>
94+
95+
<div class="question">
9396
<label for="notFirstTime">I was already part in this experiment before
9497
<input id="notFirstTime" type="checkbox" ng-model="user.notFirstTime">
9598
</label>

app/main.css

+4
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@
142142
src: url(font/digital-7.ttf);
143143
}
144144

145+
.login .question{
146+
margin-bottom: 9px;
147+
}
148+
145149
.login button{
146150
box-shadow: rgb(151, 196, 254) 0px 1px 0px 0px inset;
147151
border-radius: 6px;

app/require-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ require.config({
3434
require([
3535
'angular',
3636
'main'
37-
], function(angular, main) {
37+
], function() {
3838
var $html = angular.element(document.getElementsByTagName('html')[0]);
3939
angular.element().ready(function() {
4040
// bootstrap the app manually

0 commit comments

Comments
 (0)