Skip to content

Commit

Permalink
Update header style
Browse files Browse the repository at this point in the history
  • Loading branch information
jlubken committed Apr 30, 2020
1 parent 29a9fe7 commit 0b4ba7a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
14 changes: 9 additions & 5 deletions src/penn_chime/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@ en:
presentation-header: |+
<link rel="stylesheet" href="https://www1.pennmedicine.org/styles/shared/penn-medicine-header.css">
<div class="penn-medicine-header__content">
<a href="https://www.pennmedicine.org" class="penn-medicine-header__logo"
title="Go to the Penn Medicine home page">Penn Medicine</a>
<a id="title" class="penn-medicine-header__title">COVID-19 Hospital Impact Model for Epidemics (CHIME)</a>
<h3>
<a href="https://www.pennmedicine.org" class="penn-medicine-header__logo"
title="Go to the Penn Medicine home page">Penn Medicine</a>
<a id="title" class="penn-medicine-header__title">COVID-19 Hospital Impact Model for Epidemics (CHIME)</a>
</h3>
</div>
<br />
presentation-notice: |+
**Notice**: **CHIME is a modified [SIR](https://mathworld.wolfram.com/SIRModel.html) model of outbreak progression that is limited to short term forecasting
**Notice**: CHIME is a modified [SIR](https://mathworld.wolfram.com/SIRModel.html) model of outbreak progression that is limited to short term forecasting
It is only applicable during the period prior to a region’s peak infections, and it accounts only for a single significant social distancing policy.
Penn Medicine is actively developing [BayesCHIME](https://github.com/pennsignals/chime_sims/blob/master/README.md) to make use of more data and provide probabilistic forecasts beyond peak infections.**
Penn Medicine is actively developing [BayesCHIME](https://github.com/pennsignals/chime_sims/blob/master/README.md) to make use of more data and provide probabilistic forecasts beyond peak infections.
presentation-developed-by: |+
This tool was developed by [Predictive Healthcare](http://predictivehealthcare.pennmedicine.org/) at
Penn Medicine to assist hospitals and public health officials with hospital capacity planning.
Expand Down
9 changes: 3 additions & 6 deletions src/penn_chime/view/st_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,9 @@ def display_header(st, m, p):
i18n.t("presentation-header"),
unsafe_allow_html=True,
)
st.markdown(
i18n.t("presentation-notice")
)
st.markdown(
i18n.t("presentation-developed-by").format(docs_url=DOCS_URL))

st.markdown(i18n.t("presentation-notice"))
st.markdown(i18n.t("presentation-developed-by").format(
docs_url=DOCS_URL))
st.markdown(
i18n.t("presentation-estimated-number-of-infection")
.format(
Expand Down

0 comments on commit 0b4ba7a

Please sign in to comment.