Add more colors
This commit is contained in:
parent
92c185cb0a
commit
4f59a53af5
3 changed files with 3 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ def bootstrap_trace_endpoints(app: FastAPI) -> None:
|
|||
tags=["traces"],
|
||||
)
|
||||
|
||||
@router.post("/", status_code=status.HTTP_200_OK, response_model=List[Trace])
|
||||
@router.post("", status_code=status.HTTP_200_OK, response_model=List[Trace])
|
||||
def query_traces(
|
||||
query: Query,
|
||||
skip: int = 0,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
:root {
|
||||
--important-color: #a30808;
|
||||
--background-color: #edf5f6;
|
||||
--small-padding: 10px;
|
||||
--medium-padding: 20px;
|
||||
|
|
@ -84,7 +83,6 @@ main {
|
|||
}
|
||||
|
||||
.environment {
|
||||
background-color: var(--important-color);
|
||||
color: white;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
|
|
@ -152,7 +150,6 @@ main > header .placeholder {
|
|||
}
|
||||
|
||||
.configuration-item {
|
||||
border-left: 2px solid var(--important-color);
|
||||
padding-left: var(--small-padding);
|
||||
margin: var(--medium-padding);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ def create_dash_app(function_name: str, function_docs: str) -> Flask:
|
|||
html.Div(
|
||||
html.P("PRODUCTION" if get_context().is_production else "DEVELOPMENT"),
|
||||
className="environment",
|
||||
style={"background": accent_color},
|
||||
),
|
||||
html.Header(
|
||||
[
|
||||
|
|
@ -97,6 +98,7 @@ def create_dash_app(function_name: str, function_docs: str) -> Flask:
|
|||
html.P(str(value)),
|
||||
],
|
||||
className="configuration-item",
|
||||
style={"border-left": f"2px solid {accent_color}"},
|
||||
)
|
||||
for key, value in config.items()
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue