Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Commit 2613a64

Browse files
authored
Merge pull request #8 from codefordus/frontend
Frontend
2 parents 48e011d + 06fae9d commit 2613a64

File tree

3 files changed

+89
-27
lines changed

3 files changed

+89
-27
lines changed

.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

www/css/style.css

Lines changed: 69 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,97 @@
11
/* Empty. Add your own CSS if you like */
22

3+
ion-content.scroll-content {
4+
background-color: #DCDCDC;
35
}
46

57

8+
button.ng-binding.disable-user-behavior {
9+
width: 40%;
10+
font-size: 25px;
11+
border-style: inherit;
12+
border-radius: 10%;
13+
margin-left: 30%;
14+
margin-top: 3%;
15+
color: #FFFACD;
16+
background-color: #DAA520;
17+
18+
}
19+
20+
div.col1.ng-binding{
21+
background:#DCECFC;
22+
border-radius: 5%;
23+
padding: inherit;
24+
font-size: 35px;
25+
margin: 1%;
26+
}
27+
28+
i.fa.fa-clock-o{
29+
font-size: 25px;
30+
}
31+
32+
div.col2.ng-binding {
33+
background:#85C1E9;
34+
padding: inherit;
35+
border-radius: 5%;
36+
font-size: 35px;
37+
margin: 1%;
38+
}
39+
40+
i.fa.fa-road{
41+
font-size: 25px;
42+
}
43+
44+
div.col3.ng-binding {
45+
background: #ECFCDC;
46+
padding: inherit;
47+
border-radius: 5%;
48+
font-size: 35px;
49+
margin: 1%;
50+
}
51+
52+
i.fa.fa-bicycle{
53+
font-size: 25px;
54+
}
55+
56+
57+
div.col4.ng-binding {
58+
background:#82E0AA;
59+
padding: inherit;
60+
border-radius: 5%;
61+
font-size: 35px;
62+
margin:1%;
63+
}
64+
65+
i.fa.fa-globe{
66+
font-size: 25px;
67+
}
68+
669
img {
770
width: 100%;
871
height: auto;
9-
72+
1073

1174
}
1275

1376
div.ng-binding {
1477
display: block;
1578
width: 100%;
16-
height: 57%;
79+
height: 40%;
1780
text-align: center;
18-
font-size: 31px;
19-
position: relative;
20-
top: 25mm;
21-
background-color: #ffffff;
22-
23-
81+
font-size: 35px;
82+
top: 20%;
83+
padding-top: 30px;
2484
}
2585

2686
img.disable-user-behavior {
27-
position: relative;
2887
top: 10%;
2988
right: 3%;
3089
}
3190

32-
ion-header-bar.bar.bar-header.bar-assertive {
33-
background: #ca232c;
34-
}
35-
3691
map {
3792
display: block;
3893
width: 100%;
39-
height: 60%;
94+
height: 85%;
4095

4196
}
4297

www/index.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<link href="css/style.css" rel="stylesheet">
1010
<link href="css/leaflet.css" rel="stylesheet">
1111
<link href="lib/ion-floating-menu/dist/ion-floating-menu.css" rel="stylesheet" type="text/css">
12+
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
13+
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
14+
1215

1316
<!-- <! IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
1417
<link href="css/ionic.app.css" rel="stylesheet">
@@ -34,19 +37,26 @@
3437
</head>
3538

3639
<body ng-app="starter" ng-controller="MapCtrl">
37-
<ion-header-bar class="bar bar-header bar-assertive">
38-
<h1 class="title">CycleDorf</h1>
39-
</ion-header-bar>
4040
<ion-content scroll="false">
4141
<map on-create="mapCreated(map)"></map>
42-
<div>
43-
{{ timer }}<br>
44-
{{ current_track_distance }}<br>
45-
{{ firedb_tracks }}<br>
46-
{{ firedb_time }}<br>
47-
{{ firedb_driven }}<br>
48-
<img ng-click="start()" src="./img/Button.png">{{ status }}
42+
<div class = "row">
43+
<div class = "col1">{{timer}}
44+
<i class="fa fa-clock-o"></i>
45+
</div>
46+
<div class = "col2">{{current_track_distance}}
47+
<i class="fa fa-road"></i>
48+
</div>
49+
</div>
50+
<div class = "row">
51+
<div class = "col3">{{firedb_tracks}}
52+
<i class="fa fa-bicycle"></i>
53+
</div>
54+
<div class = "col4">{{firedb_time}}
55+
<i class="fa fa-globe"></i>
56+
</div>
4957
</div>
58+
<button ng-click="start()">{{ status }}
59+
</button>
5060
</ion-content>
5161
</body>
5262
</html>

0 commit comments

Comments
 (0)