Skip to content

Commit

Permalink
⤴️ update to 1.2.1
Browse files Browse the repository at this point in the history
remove unnecessary text
  • Loading branch information
taruma committed Jun 13, 2022
1 parent 3f695bf commit b47df91
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 21 deletions.
3 changes: 0 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
pylayout.HTML_TITLE,
pylayout.HTML_SUBTITLE,
pylayout.HTML_ALERT_README,
pylayout.HTML_ALERT_SPONSOR,
pylayout.HTML_ROW_BUTTON_UPLOAD,
pylayout.HTML_ROW_TABLE,
pylayout.HTML_ROW_BUTTON_VIZ,
Expand All @@ -51,9 +50,7 @@
pylayout.HTML_ROW_GRAPH_ANALYSIS,
pylayout.HTML_ROW_GRAPH_CUMSUM,
pylayout.HTML_ROW_GRAPH_CONSISTENCY,
pylayout.HTML_ALERT_CONTRIBUTION,
pylayout.HTML_MADEBY,
pylayout.HTML_OTHER_PROJECTS,
pylayout.HTML_FOOTER,
],
fluid=True,
Expand Down
6 changes: 3 additions & 3 deletions app_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ TEMPLATE:
SHOW_LEGEND_INSIDE: False
SHOW_RANGESELECTOR: False

VERSION: v1.2.0
GITHUB_LINK: https://github.com/taruma/dash-hidrokit-rainfall
GITHUB_REPO: taruma/dash-hidrokit-rainfall
VERSION: v1.2.1
GITHUB_LINK: https://github.com/fiakoenjiniring/rainfall
GITHUB_REPO: fiakoenjiniring/rainfall
2 changes: 1 addition & 1 deletion pyfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _generate_dict_watermark(n: int = 1, source=appConfig.TEMPLATE.WATERMARK_SOU
yanchor="middle",
name="watermark-hidrokit",
layer="below",
opacity=0.2,
opacity=0.1,
)


Expand Down
33 changes: 20 additions & 13 deletions pylayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
className="text-center",
)

HTML_SUBTITLE = html.P(
HTML_SUBTITLE = html.Div(
[
"created by ",
html.A("taruma", href="https://github.com/taruma"),
Expand All @@ -32,6 +32,14 @@
className="text-center fs-5",
)

HTML_SPONSORED = html.Div(
[
"sponsored by ",
html.A("FIAKO Engineering", href="https://fiako.engineering"),
],
className="text-center fs-5 mb-3",
)

ALERT_CONTRIBUTION = dbc.Alert(
[
"Tertarik untuk berkontribusi? Ingin terlibat proyek hidrokit seperti ini? hubungi saya di ",
Expand All @@ -54,6 +62,7 @@
".",
],
color="warning",
className="m-4",
)

HTML_ALERT_README = pylayoutfunc.create_HTML_alert(ALERT_README, className=None)
Expand Down Expand Up @@ -414,21 +423,19 @@
"Taruma Sakti Megariansyah",
href="https://github.com/taruma",
),
". MIT License. Visit on 👉 ",
dbc.Badge(
". Sponsored by ",
html.A(
"FIAKO Engineering",
href="https://fiako.engineering",
target="_blank"
),
". MIT License. Visit on ",
html.A(
"Github",
href=appConfig.GITHUB_LINK,
color="secondary",
class_name="text-uppercase fs-6",
id="tooltip-github",
target="_blank",
style={"letter-spacing": "3px", "text-decoration": "none"},
),
dbc.Tooltip(
"👇 click me 👇", target="tooltip-github", placement="top", autohide=False
),
" 👈.",
".",
],
className="text-center",
className="text-center my-2",
),
)
2 changes: 1 addition & 1 deletion pytemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
yanchor="middle",
name="watermark-hidrokit",
layer="below",
opacity=0.2,
opacity=0.1,
),
]

Expand Down

0 comments on commit b47df91

Please sign in to comment.