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