Skip to content

Commit

Permalink
compile in material-icons for offline compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Schmid committed Oct 7, 2018
1 parent 970eca7 commit e7e6595
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
4 changes: 2 additions & 2 deletions featureMigration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Here's the current feature migration overview:
| Offline support||||
| Toggling between map providers & layers||||
| Rotate sign / text||||
| GeoAdmin support|||with registered clients and quota available only|
| GeoAdmin extra layers (e.g. satellite)||| with registered clients and quota available only|
| GeoAdmin support|||with registered clients and quota available only - currently not supporting openlayers 5.2.0|
| GeoAdmin extra layers (e.g. satellite)||| with registered clients and quota available only - currently not supporting openlayers 5.2.0|
| Filter by category||||
| Take screenshot||||
| Layout "beautification"|||Improvements in style - alignment of symbols, etc.|
6 changes: 4 additions & 2 deletions zskarte2/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"src/assets"
],
"styles": [
"src/styles.css"
"src/styles.css",
"node_modules/material-design-icons/iconfont/material-icons.css"
],
"scripts": []
},
Expand Down Expand Up @@ -72,7 +73,8 @@
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.css"
"src/styles.css",
"node_modules/material-design-icons/iconfont/material-icons.css"
],
"scripts": [],
"assets": [
Expand Down
5 changes: 5 additions & 0 deletions zskarte2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions zskarte2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@angular/router": "^6.1.0",
"core-js": "^2.5.4",
"hammerjs": "^2.0.8",
"material-design-icons": "^3.0.1",
"ol": "^5.2.0",
"rxjs": "~6.2.0",
"zone.js": "~0.8.26"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
.buttonPanel{
margin-top:0.5em;
text-align: center;
}

.label{
text-align:center;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<mat-card class="selection" *ngIf="selectedSignature!=null">
<mat-card-content>
<div class="imgwrapper" *ngIf="selectedSignature.src!=null"><img [src]="getImageUrl(selectedSignature.src)"/></div>
<div *ngIf="selectedSignature.de!=null">{{selectedSignature.de}}</div>
<div *ngIf="selectedSignature.text!=null">{{selectedSignature.text}}</div>
<div *ngIf="selectedSignature.de!=null" class="label">{{selectedSignature.de}}</div>
<div *ngIf="selectedSignature.text!=null" class="label">{{selectedSignature.text}}</div>
<div class="buttonPanel">
Rotieren:
<mat-slider
Expand Down
2 changes: 0 additions & 2 deletions zskarte2/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<script>document.write('<base href="' + document.location + '" />');</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.1.3/css/ol.css" type="text/css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>html, body { margin: 0; }</style>
</head>
<body>
Expand Down

0 comments on commit e7e6595

Please sign in to comment.