Change button colors

This commit is contained in:
clerie 2020-04-08 18:10:01 +02:00
parent b3c5a0bec2
commit de5ea2fc6b
3 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>