Fixes in layout
This commit is contained in:
parent
192e8b4b0b
commit
79533aca47
2 changed files with 51 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ def home_admin(request: Request, paramecio_session: Annotated[str | None, Cookie
|
|||
|
||||
return RedirectResponse(app.url_path_for('login_admin'))
|
||||
|
||||
return "Hello world!"
|
||||
i18n=I18n('admin', I18n.session_lang(request.session))
|
||||
|
||||
return t.load_template('layout.phtml', title=i18n.tlang('Admin'), tlang=i18n.tlang, url_for=app.url_path_for)
|
||||
|
||||
|
||||
@admin_app.get('/login', response_class=HTMLResponse)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,51 @@
|
|||
|
||||
body {
|
||||
|
||||
background: #121c27;
|
||||
min-height: 100vh;
|
||||
min-height: -webkit-fill-available;
|
||||
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
height: 100vh;
|
||||
height: -webkit-fill-available;
|
||||
max-height: 100vh;
|
||||
overflow-x: auto;
|
||||
/*overflow-y: hidden;*/
|
||||
}
|
||||
|
||||
|
||||
html {
|
||||
height: -webkit-fill-available;
|
||||
}
|
||||
|
||||
|
||||
#header_dashboard {
|
||||
|
||||
background: #1d2939;
|
||||
-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
|
||||
-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
|
||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
|
||||
z-index:99999;
|
||||
|
||||
}
|
||||
|
||||
.bi {
|
||||
vertical-align: -.125em;
|
||||
pointer-events: none;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.hands {
|
||||
|
||||
vertical-align: -.140em !important;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Loader page */
|
||||
|
||||
.loader-div {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue