Browse Source

Change button colors

dependabot/npm_and_yarn/jquery-3.5.0
clerie 2 years ago
parent
commit
de5ea2fc6b
  1. 2
      wetter/templates/index.html
  2. 6
      wetter/templates/station.html
  3. 2
      wetter/templates/stations.html

2
wetter/templates/index.html

@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
mymap.setView([stations[0]["lat"], stations[0]["lon"]], 6);
}
stations.forEach((station, i, j) => {
L.marker([station["lat"], station["lon"]]).addTo(mymap).bindPopup("<h3>" + station["name"] + "</h3><p>" + station["state"] + "</p><a href=\"/station/" + station["dwd_id"] + "/export/\" class=\"btn btn-secondary\">Export</a> <a href=\"/station/" + station["dwd_id"] + "/\" class=\"btn btn-primary\">Info</a>");
L.marker([station["lat"], station["lon"]]).addTo(mymap).bindPopup("<h3>" + station["name"] + "</h3><p>" + station["state"] + "</p><a href=\"/station/" + station["dwd_id"] + "/export/\" class=\"btn btn-outline-primary\">Export</a> <a href=\"/station/" + station["dwd_id"] + "/\" class=\"btn btn-primary\">Info</a>");
})
});
</script>

6
wetter/templates/station.html

@ -51,9 +51,9 @@ @@ -51,9 +51,9 @@
</div>
</div>
</div>
<div class="list-group list-group-horizontal-md text-center">
<a href="/station/{{ station.dwd_id }}/export/" class="list-group-item flex-fill active">Exportieren</a>
</div>
<a href="/station/{{ station.dwd_id }}/export/" class="btn btn-lg btn-block btn-outline-primary">Exportieren</a>
<div class="card">
<div class="card-body">
<h5 class="card-title">Meta</h5>

2
wetter/templates/stations.html

@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
<tr>
<td>{{ station.name }}</td>
<td>{{ station.state }}</td>
<td><a href="/station/{{ station.dwd_id }}/export/" class="btn btn-secondary">Export</a> <a href="/station/{{ station.dwd_id }}/" class="btn btn-primary">Info</a></td>
<td><div class="float-right"><a href="/station/{{ station.dwd_id }}/export/" class="btn btn-outline-primary">Export</a> <a href="/station/{{ station.dwd_id }}/" class="btn btn-primary">Info</a></div></td>
</tr>
{% endfor %}
</tbody>

Loading…
Cancel
Save