Skip to content

Commit

Permalink
fixed: register form, trackpreview styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MojioMS committed Sep 11, 2017
1 parent cfed054 commit be5113b
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# envirocar-www-ng
This is the Angular Webapp for enviroCar platform. (www.envirocar.org).
The Webapp is built with [AngularJS 1.58](https://angularjs.org/).
The Webapp is built with [AngularJS 1.6.6](https://angularjs.org/).
The UI components are built with [Angular Material](https://material.angularjs.org/).

## Installation
Expand Down
6 changes: 2 additions & 4 deletions app/components/apiservices/api.services.users.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,9 @@
'Content-Type': 'application/JSON'
},
data: userdata
}).success(function (res) {
}).then(function (res) {
console.log(res);
return res;
}).error(function (error) {
console.log("ResponseError @POST: " + ecBaseUrl + "/users/" + username);
return error;
});
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<md-content >
<p class="placeholder-p">.</p>

<img src="{{event.url}}" style="width:290px;height:184px;"></img>
<img src="{{event.url}}" style="width:290px;height:184px;"/>

</md-content>
</md-tooltip>
Expand Down
2 changes: 1 addition & 1 deletion app/components/login/login.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
},
function (error) {
console.log(error);
if (error.status === 409) {
if (error.status === 409) { // name or email alrdy in use
$scope.error_name_in_use = true;
$scope.name_in_use_alrdy = $scope.username_register;
}
Expand Down
21 changes: 13 additions & 8 deletions app/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,12 @@ md-toolbar {
display: block !important;
height: auto; }

md-tooltip {
font-size: 26px;
z-index: 3600; }
.leaflet-right {
z-index: 15 !important; }

.md-tooltip {
font-size: 16px;
z-index: 10000 !important; }

.white-bg {
text-align: center;
Expand Down Expand Up @@ -498,20 +501,22 @@ md-content {
align: center; }

.trackpreview {
width: 300px;
height: 190px; }
z-index: 5000 !important;
width: 290px;
height: 180px; }
.trackpreview .md-content {
width: 290px;
height: 180px;
padding: 4px;
background-color: grey;
border-bottom: 4px solid grey; }
border-bottom: 4px solid grey;
border-top: 4px solid grey; }
.trackpreview .img {
vertical-align: central;
position: absolute;
top: 2em;
left: 0em;
left: 2em;
background-color: grey;
border-top: 4px solid grey;
border-bottom: 4px solid grey; }
.trackpreview .placeholder-p {
color: transparent;
Expand Down
26 changes: 16 additions & 10 deletions app/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,13 @@ md-toolbar {
}
}

md-tooltip {
font-size: 26px;
z-index: 3600;
.leaflet-right {
z-index: 15 !important;
}

.md-tooltip {
font-size: 16px;
z-index: 10000 !important;
}

.white-bg {
Expand Down Expand Up @@ -604,24 +608,26 @@ md-content {
}

.trackpreview {

width:300px;
height:190px;

z-index: 5000 !important;
width:290px;
height:180px;

.md-content {
width:290px;
height:180px;
padding: 4px;
background-color: grey;
border-bottom: 4px solid grey
border-bottom: 4px solid grey;
border-top: 4px solid grey;
}
.img{
vertical-align: central;
position: absolute;
top:2em;
left:0em;
left:2em;
background-color: grey;
border-bottom: 4px solid grey
border-top: 4px solid grey;
border-bottom: 4px solid grey;
}

.placeholder-p {
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"ui-leaflet": "1.0.3",
"leaflet.heat": "Leaflet.heat#*",
"angular-material": "^1.1.1",
"angular-ui-router": "^0.2.18",
"angular-ui-router": "0.4.2",
"angular-translate": "^2.11.0",
"angular-cookies": "1.6.6",
"d3": "^3.5.3",
Expand All @@ -35,7 +35,7 @@
"resolutions": {
"angular-material": "^1.1.1",
"leaflet": "1.0.3",
"ui-leaflet": "^2.0.0",
"ui-leaflet": "1.0.3",
"angular": "1.6.6",
"angular-cookies": "1.6.6"
}
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/distance/filter_distance_card.directive.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/duration/filter_duration_card.controller.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/duration/filter_duration_card.directive.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/vehicle/filter_vehicle_card.controller.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/vehicle/filter_vehicle_card.directive.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/spatial/filter_spatial_card.controller.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/spatial/filter_spatial_card.directive.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/vehicle/filter_vehicle_card.controller.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_cards/vehicle/filter_vehicle_card.directive.js"></script>
<script src="app/components/tracks/all_tracks_pagination_tab/filter_dialogs/spatial/spatial_filter_dialog.controller.js"></script>
<!-- endinject -->

Expand Down

0 comments on commit be5113b

Please sign in to comment.