fix files url in leaflet.css (??) why does it still not work ..
This commit is contained in:
parent
b726fc2256
commit
a7ab7213f2
3 changed files with 3 additions and 14 deletions
|
|
@ -348,12 +348,12 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
border-radius: 5px;
|
||||
}
|
||||
.leaflet-control-layers-toggle {
|
||||
background-image: url(images/layers.png);
|
||||
background-image: url(/assets/img/layers.png);
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
.leaflet-retina .leaflet-control-layers-toggle {
|
||||
background-image: url(images/layers-2x.png);
|
||||
background-image: url(/assets/img/layers-2x.png);
|
||||
background-size: 26px 26px;
|
||||
}
|
||||
.leaflet-touch .leaflet-control-layers-toggle {
|
||||
|
|
@ -394,7 +394,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
|
||||
/* Default icon URLs */
|
||||
.leaflet-default-icon-path {
|
||||
background-image: url(images/marker-icon.png);
|
||||
background-image: url(/assets/img/marker-icon.png);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
10
src/dune
10
src/dune
|
|
@ -75,13 +75,3 @@
|
|||
(with-stdout-to
|
||||
%{null}
|
||||
(run ocaml-crunch -m plain content -o %{target}))))
|
||||
|
||||
(install
|
||||
(section share)
|
||||
(files
|
||||
./content/assets/css/leaflet.css
|
||||
(./content/assets/img/layers-2x.png as images/layers-2x.png)
|
||||
(./content/assets/img/layers.png as images/layers.png)
|
||||
(./content/assets/img/marker-icon-2x.png as images/marker-icon-2x.png)
|
||||
(./content/assets/img/marker-icon.png as images/marker-icon.png)
|
||||
(./content/assets/img/marker-shadow.png as images/marker-shadow.png)))
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ let render_unsafe ~title ~content request =
|
|||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/css/leaflet.css" rel="stylesheet">
|
||||
<link href="/assets/css/style.css" rel="stylesheet">
|
||||
<link href="/assets/img/marker-icon.png" rel="marker-icon">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue