mirror of
https://github.com/FAUSheppy/oh-my-nemesis
synced 2025-12-10 00:28:32 +01:00
Initial (reset)
This commit is contained in:
20
templates/special/team_calendar.html
Normal file
20
templates/special/team_calendar.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!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="Select the roles you can play for the team">
|
||||
<title>Champ Selection</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
{% include 'default-includes.html' %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include 'navbar.html' %}
|
||||
<main role="main">
|
||||
<!-- Selector für Teammitglieder wenn Teamcpt -->
|
||||
<!-- TODO when team has time -->
|
||||
</main>
|
||||
</body>
|
||||
59
templates/special/team_champselect.html
Normal file
59
templates/special/team_champselect.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<!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="Select the roles you can play for the team">
|
||||
<title>Champ Selection</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
{% include 'default-includes.html' %}
|
||||
|
||||
<script src="/static/team_champselect.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include 'navbar.html' %}
|
||||
<main role="main" class="m-5">
|
||||
<!-- Selector für Teammitglieder wenn Teamcpt -->
|
||||
<!-- SELECTION -->
|
||||
<div style="margin-top: 100px !important;"></div>
|
||||
<div class="row" id="selection-row">
|
||||
{% for key in roles.keys() %}
|
||||
<div class="col-sm {% if loop.index % 2 == 0 %} bg-light {% else %} bg-secondary {% endif %}" id="{{ key }}-selection">
|
||||
<div class="text-sm-left role-info m1">{{ key }}</div></br>
|
||||
<select id="{{ key }}-affinity-selector" class="selectpicker" data-live-search="true">
|
||||
{% for x in range(0,6) %}
|
||||
<option>{{ x }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<select id="{{ key }}-selector" class="selectpicker" data-live-search="true">
|
||||
{% for champ in allChampions %}
|
||||
<option>{{ champ["name"] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button id="{{ key }}-selector-button" type="button" onClick="addChamp('{{ key }}-selector', '{{ key }}')" class="btn btn-primary add-btn">Add</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<!-- SLECTED CHAMPIONS -->
|
||||
<div class="row" id="selection-row" style="min-height: 400px;">
|
||||
{% for key in roles.keys() %}
|
||||
<div class="col-sm {% if loop.index % 2 == 0 %} bg-light {% else %} bg-secondary {% endif %}" id="{{ key }}-champs">
|
||||
{% for champ in roles[key].champions %}
|
||||
<div class="mt-3 mb-3" style="background-color: green; width: 100%; clear: both;">
|
||||
<div class="mr-2" style="float: left;">AF_PLACEHDR</div>
|
||||
<div style="float: left;">{{ champ }}</div>
|
||||
<button style="float: right;" type="button" onClick="removeChamp('{{ champ }}', '{{ key }}')" class="ml-3 btn btn-primary">Remove</button>
|
||||
</div></br>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</select>
|
||||
</main>
|
||||
</body>
|
||||
50
templates/special/team_composition.html
Normal file
50
templates/special/team_composition.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<!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="Select the roles you can play for the team">
|
||||
<title>Champ Selection</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
{% include 'default-includes.html' %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include 'navbar.html' %}
|
||||
|
||||
{% for x in range(1, 10) %}
|
||||
<main role="main" class="m-5">
|
||||
<!-- Selector für Teammitglieder wenn Teamcpt -->
|
||||
<!-- SELECTION -->
|
||||
<div style="margin-top: 100px !important;"></div>
|
||||
<div class="row" id="selection-row">
|
||||
{% for key in roles.keys() %}
|
||||
<div class="col-sm {% if loop.index % 2 == 0 %} bg-light {% else %} bg-secondary {% endif %}" id="{{ key }}-selection">
|
||||
<select id="{{ key }}-selector" class="selectpicker" data-live-search="true">
|
||||
{% for champ in teamChamps %}
|
||||
<option>{{ champ["name"] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button id="{{ key }}-selector-button" type="button" class="btn btn-primary">Add</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<!-- SLECTED CHAMPIONS -->
|
||||
<div class="row" id="selection-row" style="min-height: 400px;">
|
||||
{% for key in roles.keys() %}
|
||||
<div class="col-sm {% if loop.index % 2 == 0 %} bg-light {% else %} bg-secondary {% endif %}" id="{{ key }}-champs">
|
||||
{% for champ in roles[key].champions %}
|
||||
<p>{{ champ }}</p> <button type="button" class="btn">Remove</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</select>
|
||||
</main>
|
||||
{% endfor %}
|
||||
</body>
|
||||
43
templates/special/team_composition_overview.html
Normal file
43
templates/special/team_composition_overview.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!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 'default-includes.html' %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{% include 'navbar.html' %}
|
||||
<main role="main">
|
||||
|
||||
<!-- Services -->
|
||||
<div class="container pt-5 my-5">
|
||||
<div class="row">
|
||||
{% for comp in teamComps %}
|
||||
<div class="col-md-4">
|
||||
<div class="card mb-4 box-shadow">
|
||||
<div class="card-body">
|
||||
<h2>{{ comp["name"] }}</h2>
|
||||
<p>{{ comp["Description"] }}</p>
|
||||
<p><a class="btn btn-secondary" href="/team_composition_single?id={{ comp['config-id'] }}" role="button">Open »</a></p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include 'footer.html' %}
|
||||
<button type="button" onClick="createNewTeam()" class="ml-3 btn btn-primary">Create New Team</button>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
52
templates/special/team_composition_single.html
Normal file
52
templates/special/team_composition_single.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<!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="Select the roles you can play for the team">
|
||||
<title>Champ Selection</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
{% include 'default-includes.html' %}
|
||||
|
||||
|
||||
<script src="/static/team_champselect.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include 'navbar.html' %}
|
||||
|
||||
<main role="main" class="m-5">
|
||||
<!-- Selector für Teammitglieder wenn Teamcpt -->
|
||||
<!-- SELECTION -->
|
||||
<div style="margin-top: 100px !important;"></div>
|
||||
<div class="row" id="selection-row">
|
||||
{% for key in roles.keys() %}
|
||||
<div class="col-sm {% if loop.index % 2 == 0 %} bg-light {% else %} bg-secondary {% endif %}" id="{{ key }}-selection">
|
||||
<div class="text-sm-left role-info m1">{{ key }}</div></br>
|
||||
<select id="{{ key }}-selector" class="selectpicker" data-live-search="true">
|
||||
{% for champ in teamChamps %}
|
||||
<option>{{ champ["name"] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button id="{{ key }}-selector-button" type="button" onClick="addChamp('{{ key }}-selector', '{{ key }}')" class="btn btn-primary">Add</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<!-- SLECTED CHAMPIONS -->
|
||||
<div class="row" id="selection-row" style="min-height: 400px;">
|
||||
{% for key in roles.keys() %}
|
||||
<div class="col-sm {% if loop.index % 2 == 0 %} bg-light {% else %} bg-secondary {% endif %}" id="{{ key }}-champs">
|
||||
{% for champ in roles[key].champions %}
|
||||
<p>{{ champ }}</p> <button type="button" onClick="removeChamp('{{ champ }}', '{{ key }}')" class="btn">Remove</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</select>
|
||||
</main>
|
||||
</body>
|
||||
21
templates/special/team_matchhistory.html
Normal file
21
templates/special/team_matchhistory.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!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="Select the roles you can play for the team">
|
||||
<title>Champ Selection</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
{% include 'default-includes.html' %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include 'navbar.html' %}
|
||||
<main role="main">
|
||||
<!-- day | Game Nr | Role | played | against | side | result
|
||||
| day time | duoque? | kda | notes -->
|
||||
|
||||
</main>
|
||||
</body>
|
||||
Reference in New Issue
Block a user