Support all time resolutions on all counter views
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import streamlit as st
|
||||
import sql
|
||||
|
||||
import queries
|
||||
from queries import crud
|
||||
|
||||
def _load_css(filepath):
|
||||
with open(filepath) as file:
|
||||
@@ -8,7 +8,7 @@ def _load_css(filepath):
|
||||
|
||||
|
||||
def _load_color_selector_styles():
|
||||
colors = sql.get_colors(1) #FIXME Change to use user profile color palette
|
||||
colors = crud.get_colors(1) #FIXME Change to use user profile color palette
|
||||
for idx, c in enumerate(colors.keys()):
|
||||
css_color = '#' + colors[c][0]
|
||||
st.html(f"""
|
||||
|
||||
Reference in New Issue
Block a user