diff --git a/app/main/__init__.py b/app/main/__init__.py index 072ba73..2d333e1 100644 --- a/app/main/__init__.py +++ b/app/main/__init__.py @@ -1,6 +1,8 @@ from flask import Blueprint bp = Blueprint('main', __name__, - template_folder='templates') + template_folder='templates', + static_folder='static', + static_url_path='/main/static') from . import routes diff --git a/app/main/static/css/charges.css b/app/main/static/css/charges.css new file mode 100644 index 0000000..005b68f --- /dev/null +++ b/app/main/static/css/charges.css @@ -0,0 +1,41 @@ +#charge_table, +#charge_table th, +#charge_table td { + margin-top: 5em; + margin-bottom: 5em; + border: solid 1px lightsteelblue; +} + +#charge_table td { + padding: 0.8em; +} + +#charge_div { + background-color: #fAfAfA; + border: 1pt solid black; + display: inline-block; +} + +rect.bar:hover { + fill: dimgrey; +} + +rect.bar { + fill: rgb(127, 127, 159); +} + +.tooltip { + position: absolute; + opacity: 1.0; + z-index: 1000; + text-align: left; + border-radius: 4px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + padding: 10px; + border: 1px solid; + background-color: white; + color: black; + /*font: 12px sans-serif;*/ + max-width: 300px; +} diff --git a/app/main/templates/agent.html b/app/main/templates/agent.html index 8604073..d904cf5 100644 --- a/app/main/templates/agent.html +++ b/app/main/templates/agent.html @@ -1,48 +1,7 @@ {% extends "base_page.html" %} {% block more_heads %} - + {% endblock %} {% block content %} -- libgit2 0.21.2