This commit is contained in:
Joachim Lusiardi 2024-05-22 08:35:26 +02:00
parent 8867f3c7d2
commit eec13b7962
5 changed files with 0 additions and 21 deletions

View File

@ -3,5 +3,4 @@ from .admin import *
from .misc import * from .misc import *
from .pitstop import * from .pitstop import *
from .service import * from .service import *
from .filling_stations import *
from .regular_cost import * from .regular_cost import *

View File

@ -13,13 +13,9 @@ from .. import app, db, user_datastore
@app.route("/account", methods=["GET"]) @app.route("/account", methods=["GET"])
@login_required @login_required
def get_account_page(): def get_account_page():
stations = [x.as_dict() for x in current_user.favourite_filling_stations]
for station in stations:
station["state"] = "favourite"
return render_template( return render_template(
"account.html", "account.html",
map_pos=(current_user.home_lat, current_user.home_long, current_user.home_zoom), map_pos=(current_user.home_lat, current_user.home_long, current_user.home_zoom),
fs=json.dumps(stations),
) )

View File

@ -20,7 +20,6 @@ from ..tools import (
db_log_add, db_log_add,
pitstop_service_key, pitstop_service_key,
get_event_line_for_vehicle, get_event_line_for_vehicle,
update_filling_station_prices,
RegularCostInstance, RegularCostInstance,
calculate_regular_cost_instances, calculate_regular_cost_instances,
get_users_active_vehicle, get_users_active_vehicle,

View File

@ -18,7 +18,6 @@ from ..tools import (
db_log_add, db_log_add,
pitstop_service_key, pitstop_service_key,
get_event_line_for_vehicle, get_event_line_for_vehicle,
update_filling_station_prices,
get_users_active_vehicle, get_users_active_vehicle,
) )
from .. import app, db from .. import app, db

View File

@ -94,16 +94,6 @@ and (max-device-width : 568px) {
} }
} }
.filling_station_info {
margin: 5px;
border: 1px solid;
}
.filling_station_info img{
margin-top: 6px;
height:48px;
}
/* /*
* styling for sortable tables * styling for sortable tables
*/ */
@ -120,7 +110,3 @@ th.headerSortUp {
th.headerSortDown { th.headerSortDown {
background-image: url(../img/up.gif); background-image: url(../img/up.gif);
} }
.filling_station_closed {
text-decoration: line-through;
}