-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.py
More file actions
33 lines (29 loc) · 791 Bytes
/
header.py
File metadata and controls
33 lines (29 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- coding: utf-8 -*-
import base64
import datetime
import io
import dash
import dash_core_components as dcc
import dash_html_components as html
from mylayouts import *
texts = {
'title': 'Gluettery',
}
colors = {
'background': '#FFFFFF',
'text': '#000000'
}
def Header():
return html.Div(
children = [
html.Div(
children=[TitleLeftHTML(texts['title'],'#FFFFFF','100')],
style={ 'width': '100%', 'height': '100%',
'backgroundColor': colors['background'],
'backgroundImage': 'url(https://www.everynation.org/wp-content/uploads/2018/02/Monthly-Website-Header-background.jpg)'},
)
],
style = {
'width': '100%', 'height': '100%',
}
)