mirror of
https://github.com/uw935/vatsimfox.git
synced 2026-09-17 07:08:53 +00:00
add: notification in viewer when error appears && api requests exception && new map-style (preparing for new update) && buttons color change
This commit is contained in:
@@ -18,7 +18,19 @@
|
||||
{% block header_css %}{% endblock %}
|
||||
</head>
|
||||
<style>
|
||||
.btn-outline-primary:hover, .btn-outline-primary:active {
|
||||
color: white !important;
|
||||
background-color: var(--main-rgb) !important;
|
||||
border-color: var(--main-rgb) !important;
|
||||
}
|
||||
|
||||
.btn-outline-primary {
|
||||
border-color: var(--main-rgb);
|
||||
color: var(--main-rgb);
|
||||
}
|
||||
|
||||
:root {
|
||||
--main-rgb: #FA8232;
|
||||
--bs-primary-rgb: 250, 130, 50
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<p class="col-md-8 fs-4">See your detailed profile statistic</p>
|
||||
<div class="d-flex" role="search">
|
||||
<input class="fox_input form-control me-2" type="number" placeholder="100000" aria-label="CID">
|
||||
<button class="fox_submit btn btn-outline-success" type="submit">Search</button>
|
||||
<button class="fox_submit btn btn-outline-primary" type="submit">Search</button>
|
||||
</div>
|
||||
<p class="fox_message text-primary col-md-8 fs-4"></p>
|
||||
</div>
|
||||
|
||||
@@ -6,6 +6,13 @@
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="mb-5">
|
||||
<div id="notification_wrapper">
|
||||
<div class="mb-4 alert alert-warning" role="alert">
|
||||
<h4 id="notification_title"></h4>
|
||||
<span id="notification_message"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="text-center text-primary mb-4">{{user["id"]}}</h2>
|
||||
<p class="fs-4 text-secondary">Date of registration: <span class="date_registration"></span></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user