Skip to content
Snippets Groups Projects
Commit 000becee authored by thomaswoehlke's avatar thomaswoehlke
Browse files

working on 0.0.29 Release: Fixed #201 UML: blueprint user

parent 26ad3704
No related branches found
No related tags found
No related merge requests found
Showing
with 26 additions and 13 deletions
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownAdmin" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Admin
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdownAdmin">
<a class="dropdown-item" href="{{ url_for( 'app_admin.url_admin_tasks') }}">
Admin
</a>
......
from database import app
#TODO: deprecated
class ApplicationService:
def __init__(self, database):
......
......@@ -8,6 +8,7 @@ from covid19.blueprints.rki.rki_bundeslaender.rki_bundeslaender_service import R
from covid19.blueprints.rki.rki_landkreise.rki_landkreise_service import RkiLandkreiseService
from covid19.blueprints.rki.rki_vaccination.rki_vaccination_service import RkiVaccinationService
from covid19.blueprints.who.who_service import WhoService
from covid19.blueprints.user.user_service import UserService
############################################################################################
......@@ -15,7 +16,6 @@ from covid19.blueprints.who.who_service import WhoService
# Services
#
admin_service = AdminService(db)
#TODO: deprecated
application_service = ApplicationService(db)
ecdc_service = EcdcService(db)
owid_service = OwidService(db)
......@@ -23,4 +23,5 @@ rki_service_bundeslaender = RkiBundeslaenderService(db)
rki_service_landkreise = RkiLandkreiseService(db)
rki_vaccination_service = RkiVaccinationService(db)
who_service = WhoService(db)
user_service = UserService(db)
db.create_all()
......@@ -19,6 +19,7 @@ from covid19.blueprints.rki.rki_landkreise.rki_landkreise_views import app_rki_l
from covid19.blueprints.rki.rki_vaccination.rki_vaccination_views import app_rki_vaccination
from covid19.blueprints.who.who_views import app_who
from covid19.blueprints.owid.owid_views import app_owid
from covid19.blueprints.user.user_views import app_user
app_application = Blueprint('application', __name__, template_folder='templates', url_prefix='/')
......@@ -30,6 +31,8 @@ app.register_blueprint(app_rki_landkreise, url_prefix='/rki/landkreise')
app.register_blueprint(app_rki_vaccination, url_prefix='/rki/vaccination')
app.register_blueprint(app_who, url_prefix='/who')
app.register_blueprint(app_owid, url_prefix='/owid')
app.register_blueprint(app_user, url_prefix='/user')
############################################################################################
#
......
......@@ -28,6 +28,8 @@
{% include 'admin/navigation/admin_navbar_dropdown.html' %}
{% include 'user/navigation/user_navbar_dropdown.html' %}
</ul>
</div>
</span>
......
......@@ -48,5 +48,11 @@
Admin
</a>
</li>
<li class="nav-item">
<a class="nav-link"
href="{{ url_for( 'user.url_user_info') }}">
User
</a>
</li>
</ul>
</nav>
\ No newline at end of file
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown"
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownEcdc"
role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
ECDC
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdownEcdc">
<a class="dropdown-item"
href="{{ url_for( 'ecdc.url_ecdc_date_reported_all') }}">ECDC</a>
<div class="dropdown-divider"></div>
......
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown"
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownOwid"
role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
OWID
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdownOwid">
<a class="dropdown-item"
href="{{ url_for( 'owid.url_owid_date_reported_all') }}">
OWID Date Reported
......
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownRkiBundeslaender" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
RKI Bundeslaender
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdownRkiBundeslaender">
<a class="dropdown-item"
href="{{ url_for('rki_bundeslaender.url_rki_bundeslaender_info') }}">
RKI Bundeslaender Info
......
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownRkiLandkreise" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
RKI Landkreise
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdownRkiLandkreise">
<a class="dropdown-item"
href="{{ url_for( 'rki_landkreise.url_rki_landkreise_info') }}">
RKI Landkreise
......
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownRkiVaccination" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
RKI Vaccination
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdownRkiVaccination">
<a class="dropdown-item"
href="{{ url_for( 'rki_vaccination.url_vaccination_info') }}">
RKI Vaccination
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment