Skip to content

Commit

Permalink
fix(img): fix img paht
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaSkywalker committed Feb 22, 2016
1 parent 6470875 commit bbd02cd
Show file tree
Hide file tree
Showing 48 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/app/pages/maps/leaflet/LeafletPageCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/** @ngInject */
function LeafletPageCtrl($timeout) {
function initialize() {
L.Icon.Default.imagePath = 'assets/img/theme/vendor/leaflet/';
var map = L.map(document.getElementById('leaflet-map')).setView([51.505, -0.09], 13);
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
Expand Down
4 changes: 2 additions & 2 deletions src/app/theme/theme.constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
images: {
root: IMAGES_ROOT,
profile: IMAGES_ROOT + 'app/profile/',
amMap: 'bower_components/ammap/dist/ammap/images/',
amChart: 'bower_components/amcharts/dist/amcharts/images/'
amMap: 'assets/img/theme/vendor/ammap/',
amChart: 'assets/img/theme/vendor/amchart/'
}
});

Expand Down
Binary file added src/assets/img/theme/vendor/amchart/dragIcon.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/theme/vendor/amchart/dragIconH.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/theme/vendor/amchart/export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/theme/vendor/amchart/exportWhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/theme/vendor/amchart/lens.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/theme/vendor/amchart/lensWhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/theme/vendor/amchart/lens_old.png
Binary file added src/assets/img/theme/vendor/ammap/arrowDown.gif
Binary file added src/assets/img/theme/vendor/ammap/arrowUp.gif
Binary file added src/assets/img/theme/vendor/ammap/export.png
Binary file added src/assets/img/theme/vendor/ammap/homeIcon.gif
Binary file added src/assets/img/theme/vendor/ammap/homeIconWhite.gif
Binary file added src/assets/img/theme/vendor/ammap/minus.gif
Binary file added src/assets/img/theme/vendor/ammap/panDown.gif
Binary file added src/assets/img/theme/vendor/ammap/panLeft.gif
Binary file added src/assets/img/theme/vendor/ammap/panRight.gif
Binary file added src/assets/img/theme/vendor/ammap/panUp.gif
Binary file added src/assets/img/theme/vendor/ammap/plus.gif
Binary file added src/assets/img/theme/vendor/ammap/xIcon.gif
Binary file added src/assets/img/theme/vendor/ammap/xIconH.gif
Binary file added src/assets/img/theme/vendor/leaflet/layers-2x.png
Binary file added src/assets/img/theme/vendor/leaflet/layers.png
11 changes: 7 additions & 4 deletions src/sass/app/maps/_leaflet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,13 @@

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
font: bold 18px 'Lucida Console', Monaco, monospace;
text-indent: 1px;
.leaflet-bar .leaflet-control-zoom-in,
.leaflet-bar .leaflet-control-zoom-out {
line-height: 18px;
&:hover{
width: 20px;
height: 20px;
}
}

.leaflet-control-zoom-out {
Expand Down
2 changes: 1 addition & 1 deletion src/sass/theme/dashboard/_todo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ body.badmin-transparent {
position: absolute;
content: '';
background-size: contain;
background: url("../../../assets/img/app/todo/check-icon.png") no-repeat;
background: url("/assets/img/app/todo/check-icon.png") no-repeat;
}
}
}
Expand Down

0 comments on commit bbd02cd

Please sign in to comment.