Skip to content

Commit a4be96d

Browse files
committed
added files
2 parents 289a2f6 + c2cf318 commit a4be96d

6 files changed

Lines changed: 417 additions & 9 deletions

File tree

npm-debug.log

Lines changed: 388 additions & 0 deletions
Large diffs are not rendered by default.

src/assets/scss/styles.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ $blue-color: #6795DE;
2222

2323

2424
body {
25-
background-color: $main-background;
25+
display: flex;
26+
}
27+
28+
main {
29+
background-color: $main-background;
30+
width: calc(100vw - 55px);
2631
}
2732

2833
.font16-reg {

src/components/directive.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
angular.module('app').directive('animateDir', function () {
2+
return {
3+
scope: {
4+
settings: "="
5+
},
6+
restrict: 'EA',
7+
link: function (scope, elems, attrs) {
8+
$(document).ready(function () {})
9+
}
10+
}
11+
});

src/components/training/training.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
width: 40vw;
44
}
55

6+
67
.training-body {
78
background-color: red;
9+
height: 50vh;
10+
width: 50vw;
811
}

src/components/training/trainingCtrl.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
angular.module('app').controller('trainingCtrl', function($scope, $state, mainService) {
44

55
$scope.sendSolution = function(input) {
6-
mainService.getTest(input).then((response) => console.log(response));
6+
// mainService.getTest(input).then((response) => console.log(response));
7+
input = JSON.stringify(input);
8+
input = input.replace("\n", " ");
9+
console.log(input);
710
}
811

9-
12+
1013

1114
});

src/index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
<li>Docs</li>
1515
</ul>
1616
</div>
17-
<div class="top-menu">
18-
</div>
19-
<div>
20-
21-
<div>
2217

18+
<main>
19+
<div class="top-menu">
20+
</div>
2321
<ui-view></ui-view>
24-
</div>
22+
</main>
2523
</body>
2624
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
2725
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.15/angular-ui-router.js"></script>

0 commit comments

Comments
 (0)