mirror of
https://github.com/FAUSheppy/oh-my-nemesis
synced 2025-12-10 00:28:32 +01:00
78 lines
2.4 KiB
HTML
78 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="description" content="Leauge of Legends Coaching">
|
|
<title>Nemesis Coaching</title>
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
{% include 'partials/header.html' %}
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% include 'partials/navbar.html' %}
|
|
<main role="main">
|
|
|
|
<!-- Services -->
|
|
<div class="container pt-1 my-5">
|
|
{% if currentUser.single %}
|
|
<div class="row p-2 border border-secondary">
|
|
<div id="myaccounts" class="w-50">
|
|
<h3>Accounts:</h3>
|
|
{% for acc in currentUser.accounts %}
|
|
{{ acc }}<br>
|
|
{% endfor %}
|
|
</div>
|
|
<div id=mychamps class="w-50 float-left">
|
|
<h3>Champions:</h3>
|
|
{% for c in currentUser.selectedChampions %}
|
|
<div id="championName">{{ c }}</div>
|
|
{% endfor %}
|
|
<div id="championSelector"></div>
|
|
<div id="roleSelector"></div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-3 p-2 border border-secondary">
|
|
<div class="col-sm">
|
|
<button class="btn-primary" id="addAccount">Add Account</button>
|
|
</div>
|
|
<div class="col-sm">
|
|
<button class="btn-primary" id="addChampion">Add Champion</button>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="row">
|
|
{% for table in currentUser.allowedFeatures() %}
|
|
<div class="col-md-4">
|
|
<div class="card mb-4 box-shadow">
|
|
<img class="card-img-top {% if table['disabled'] %}pic-disabled{% endif %}
|
|
" src="static/pictures/{{ table["picture"] }}">
|
|
<div class="card-body">
|
|
<h2>{{ table["title"] }}</h2>
|
|
<p>{{ table["description"] }}</p>
|
|
{% if table.get("href") %}
|
|
<p><a class="btn btn-secondary" href="{{ table["href"] }}" role="button">Open »</a></p>
|
|
{% else %}
|
|
<p><a class="btn btn-secondary {% if table['disabled'] %}disabled{% endif %}"
|
|
href="/table?table={{ table['config-identifier'] }}"
|
|
role="button">Open »</a></p>
|
|
{% endif %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
<hr>
|
|
</div>
|
|
</div>
|
|
|
|
{% include 'partials/footer.html' %}
|
|
</main>
|
|
</body>
|
|
|
|
</html>
|