1st
This commit is contained in:
60
templates/aliases.html
Executable file
60
templates/aliases.html
Executable file
@@ -0,0 +1,60 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Алиасы</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
<script src="/static/moment.js"></script>
|
||||
<script src="/static/omg.js"></script>
|
||||
<script src="/static/formobj.js"></script>
|
||||
<script src="/static/aliases.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<template id="listItem">
|
||||
<div class="model-item"><input data-id="id"> <span data-id="select"><span data-prop="name"></span></span></div>
|
||||
</template>
|
||||
|
||||
<div id="main">
|
||||
<div style="margin: 50px;">
|
||||
<div class="form-group">
|
||||
<label for="zone">Регион</label>
|
||||
<select id="zone" name="zone" class="form-control"></select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="team">Команда</label>
|
||||
<select id="team" name="team" class="form-control"></select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div style="margin-bottom: 15px;">Варианты:</div>
|
||||
<div id="aliases"></div>
|
||||
<div>
|
||||
<br>
|
||||
<button id="removeAlias" class="btn btn-danger" hidden>Удалить</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<form method="POST" id="add">
|
||||
<div class="form-group">
|
||||
<label for="name">Вариант названия</label>
|
||||
<input type="text" name="name" autocomplete="off" class="form-control">
|
||||
<small class="form-text text-muted">пробелы, табуляции, большие или маленькие буквы - не имеет значения</small>
|
||||
<input type="hidden" name="teamID" autocomplete="off" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input type="submit" value="Добавить" class="btn btn-success">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
177
templates/football.html
Normal file
177
templates/football.html
Normal file
@@ -0,0 +1,177 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Football Dashboard</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
<script src="/static/moment.js"></script>
|
||||
<script src="/static/omg.js"></script>
|
||||
<script src="/static/form2.js"></script>
|
||||
<script src="/static/football.js?yg3g3"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<template id="candidate-item">
|
||||
<div style="padding: 10px;">
|
||||
<span data-prop="sport" style="font-size:0.9em"></span> - <span data-prop="champName" style="font-size:0.9em"></span><br>
|
||||
<span data-prop="startTimeStr" style="font-size:0.9em"></span><br>
|
||||
<label><input data-id="radio"> <span data-prop="home"></span> - <span data-prop="away"></span></label>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="interestingMatch">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div data-prop="champName" style="font-size:0.9em"></div>
|
||||
<div data-prop="match"></div>
|
||||
<div data-prop="startTimeStr" style="font-size:0.9em"></div>
|
||||
<div data-id="isLinked" data-prop="isLinked" style="color:green;"></div>
|
||||
<div data-id="isInplay" data-prop="isInplay" style="color:green;"></div>
|
||||
<div data-id="livescore" style="color:blue;" hidden></div>
|
||||
|
||||
<details>
|
||||
<summary>онлайн</summary>
|
||||
<div style="font-size:0.9em">время: <span data-id="time"></span></div>
|
||||
<div style="font-size:0.9em">счет: <span data-id="score"></span></div>
|
||||
<div data-id="comment" style="color:red;font-size:0.9em"></div>
|
||||
</details>
|
||||
<details>
|
||||
<summary>почему</summary>
|
||||
<div style="margin-bottom: 15px; margin-top: 15px;"><a href="javascript:void(0);" data-id="flashscoreLink" target="_blank">на Flashscore</a></div>
|
||||
<pre data-prop="notes"></pre>
|
||||
</details>
|
||||
|
||||
<details data-id="identification">
|
||||
<summary>идентификация</summary>
|
||||
<div style="background-color:ivory; margin-top: 20px; padding-top: 10px; padding-bottom: 10px; padding-left: 5px; padding-right: 5px;">
|
||||
<div class="form-group">
|
||||
<input data-id="teamName" type="text" class="form-control" form="zzz">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button data-id="search" class="btn">Искать</button>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="form-group">
|
||||
<p data-id="candidates" style="display: flex; flex-direction: column;">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div data-id="divReverse">
|
||||
<label style="padding-left: 10px;"><input type="checkbox" data-id="isReverse"> команды перепутаны местами</label>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button data-id="submit" class="btn btn-success" disabled>Добавить алиасы</button>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="liveMatch">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div data-prop="champName" style="font-size:0.9em"></div>
|
||||
<div data-prop="match"></div>
|
||||
<div data-prop="startTimeStr" style="font-size:0.9em"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="tip">
|
||||
<details>
|
||||
<summary data-prop="matchName" data-id="matchName"></summary>
|
||||
<div style="margin-bottom: 15px; margin-top: 15px;"><a href="javascript:void(0);" data-id="flashscoreLink" target="_blank">на Flashscore</a></div>
|
||||
<pre data-prop="msg"></pre>
|
||||
<div style="margin-bottom: 25px;"><a href="javascript:void(0);" data-id="setResultLink">Указать результат</a></div>
|
||||
<div style="margin-bottom: 25px;" data-id="setResultForm" hidden></div>
|
||||
</details>
|
||||
</template>
|
||||
|
||||
<template id="strategy">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b>#<span data-prop="strategyID"></span> <span data-prop="strategy"></span></b></div>
|
||||
<div>Won, Lost: +<span data-prop="wonTips"></span>, -<span data-prop="lostTips"></span></div>
|
||||
<div>Точность: <span data-prop="accuracy"></span> %</div>
|
||||
<div>Оборот: <span data-prop="turnover"></span> грн</div>
|
||||
<div>Прибыль: <span data-prop="profit"></span> грн</div>
|
||||
<div>ROI: <span data-prop="roi"></span>%</div>
|
||||
<div>Максимальная просадка: <span data-prop="drawdown"></span> грн</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="total">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b><span data-prop="name"></span></b></div>
|
||||
<div>Won, Lost: +<span data-prop="wonTips"></span>, -<span data-prop="lostTips"></span></div>
|
||||
<div>Точность: <span data-prop="accuracy"></span> %</div>
|
||||
<div>Оборот: <span data-prop="turnover"></span> грн</div>
|
||||
<div>Прибыль: <span data-prop="profit"></span> грн</div>
|
||||
<div>ROI: <span data-prop="roi"></span>%</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div class="sport-menu">
|
||||
<div style="display: flex; margin-bottom: 0px;">
|
||||
<a href="/football" style="margin-right: 50px;">Футбол</a>
|
||||
<a href="/handball" style="margin-right: 50px;">Гандбол</a>
|
||||
<a href="/tennis" style="margin-right: 50px;">Теннис</a>
|
||||
<a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
|
||||
<a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>
|
||||
<a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>
|
||||
<a href="/best-strategies">Статистика по лучшим стратегиям</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="main">
|
||||
<div id="favorites">
|
||||
<div class="interesting-title">Отобранные матчи:</div>
|
||||
<div id="interesting" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="book-live">1xBet live matches:</div>
|
||||
<div id="book-live" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="tips">Прогнозы:</div>
|
||||
<div id="tips" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="strategies">Стратегии:</div>
|
||||
<a href="/stats" target="_blank">Статистика по лигам</a>
|
||||
<hr>
|
||||
<div id="strategies" class="matches"></div>
|
||||
<hr>
|
||||
<div id="totals" class="matches"></div>
|
||||
<hr>
|
||||
<div class="matches">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b><span>Рейтинговые матчи</span></b></div>
|
||||
<div>Won, Lost: +<span id="ratedTotalsWonTips"></span>, -<span id="ratedTotalsLostTips"></span></div>
|
||||
<div>Точность: <span id="ratedTotalsAccuracy"></span> %</div>
|
||||
<div>Оборот: <span id="ratedTotalsTurnover"></span> грн</div>
|
||||
<div>Прибыль: <span id="ratedTotalsProfit"></span> грн</div>
|
||||
<div>ROI: <span id="ratedTotalsROI"></span>%</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div>
|
||||
<div id="total" class="matches" style="border: 1px solid #ddd"></div>
|
||||
<div style="font-size:0.9em">(без учета алгоритма 100)</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
186
templates/handball.html
Executable file
186
templates/handball.html
Executable file
@@ -0,0 +1,186 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Handball Dashboard</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
|
||||
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
|
||||
|
||||
<script src="/static/moment.js"></script>
|
||||
<script src="/static/omg.js"></script>
|
||||
<script src="/static/form2.js"></script>
|
||||
<script src="/static/handball.js?zd23"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<template id="candidate-item">
|
||||
<div style="padding: 10px;">
|
||||
<span data-prop="sport" style="font-size:0.9em"></span> - <span data-prop="champName" style="font-size:0.9em"></span><br>
|
||||
<span data-prop="startTimeStr" style="font-size:0.9em"></span><br>
|
||||
<label><input data-id="radio"> <span data-prop="home"></span> - <span data-prop="away"></span></label>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="interestingMatch">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div data-prop="champName" style="font-size:0.9em"></div>
|
||||
<div data-prop="match"></div>
|
||||
<div data-prop="startTimeStr" style="font-size:0.9em"></div>
|
||||
<div data-id="isLinked" data-prop="isLinked" style="color:green;"></div>
|
||||
<div data-id="isInplay" data-prop="isInplay" style="color:green;"></div>
|
||||
<div data-id="livescore" style="color:blue;" hidden></div>
|
||||
|
||||
<details>
|
||||
<summary>онлайн</summary>
|
||||
<div style="font-size:0.9em">время: <span data-id="time"></span></div>
|
||||
<div style="font-size:0.9em">счет: <span data-id="score"></span></div>
|
||||
<!--<div style="font-size:0.9em">темп: <span data-id="gamePace"></span>за <span data-id="gamePaceFrame"></span> мин.</div>-->
|
||||
<div data-id="comment" style="color:red;font-size:0.9em"></div>
|
||||
</details>
|
||||
<details>
|
||||
<summary>почему</summary>
|
||||
<div style="margin-bottom: 15px; margin-top: 15px;"><a href="javascript:void(0);" data-id="flashscoreLink" target="_blank">на Flashscore</a></div>
|
||||
<pre data-prop="notes"></pre>
|
||||
</details>
|
||||
|
||||
<details data-id="identification">
|
||||
<summary>идентификация</summary>
|
||||
<div style="background-color:ivory; margin-top: 20px; padding-top: 10px; padding-bottom: 10px; padding-left: 5px; padding-right: 5px;">
|
||||
<div class="form-group">
|
||||
<input data-id="teamName" type="text" class="form-control" form="zzz">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button data-id="search" class="btn">Искать</button>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="form-group">
|
||||
<p data-id="candidates" style="display: flex; flex-direction: column;">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div data-id="divReverse">
|
||||
<label style="padding-left: 10px;"><input type="checkbox" data-id="isReverse"> команды перепутаны местами</label>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button data-id="submit" class="btn btn-success" disabled>Добавить алиасы</button>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="liveMatch">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div data-prop="champName" style="font-size:0.9em"></div>
|
||||
<div data-prop="match"></div>
|
||||
<div data-prop="startTimeStr" style="font-size:0.9em"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<template id="tip">
|
||||
<details>
|
||||
<summary data-prop="matchName" data-id="matchName"></summary>
|
||||
<div style="margin-bottom: 15px; margin-top: 15px;"><a href="javascript:void(0);" data-id="flashscoreLink" target="_blank">на Flashscore</a></div>
|
||||
<pre data-prop="msg"></pre>
|
||||
<div style="margin-bottom: 25px;"><a href="javascript:void(0);" data-id="setResultLink">Указать результат</a></div>
|
||||
<div style="margin-bottom: 25px;" data-id="setResultForm" hidden></div>
|
||||
</details>
|
||||
</template>
|
||||
|
||||
<template id="strategy">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b>#<span data-prop="strategyID"></span> <span data-prop="strategy"></span></b></div>
|
||||
<div>Won, Lost: +<span data-prop="wonTips"></span>, -<span data-prop="lostTips"></span></div>
|
||||
<div>Точность: <span data-prop="accuracy"></span> %</div>
|
||||
<div>Оборот: <span data-prop="turnover"></span> грн</div>
|
||||
<div>Прибыль: <span data-prop="profit"></span> грн</div>
|
||||
<div>ROI: <span data-prop="roi"></span>%</div>
|
||||
<div>Максимальная просадка: <span data-prop="drawdown"></span> грн</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="total">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b><span data-prop="name"></span></b></div>
|
||||
<div>Won, Lost: +<span data-prop="wonTips"></span>, -<span data-prop="lostTips"></span></div>
|
||||
<div>Точность: <span data-prop="accuracy"></span> %</div>
|
||||
<div>Оборот: <span data-prop="turnover"></span> грн</div>
|
||||
<div>Прибыль: <span data-prop="profit"></span> грн</div>
|
||||
<div>ROI: <span data-prop="roi"></span>%</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<div class="sport-menu">
|
||||
<div style="display: flex; margin-bottom: 0px;">
|
||||
<a href="/football" style="margin-right: 50px;">Футбол</a>
|
||||
<a href="/handball" style="margin-right: 50px;">Гандбол</a>
|
||||
<a href="/tennis" style="margin-right: 50px;">Теннис</a>
|
||||
<a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
|
||||
<a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>
|
||||
<a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>
|
||||
<a href="/best-strategies">Статистика по лучшим стратегиям</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div id="favorites">
|
||||
<div class="interesting-title">Отобранные матчи:</div>
|
||||
<div id="interesting" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="book-live">1xBet live matches:</div>
|
||||
<div id="book-live" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="tips">Прогнозы:</div>
|
||||
<div id="tips" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="strategies">Стратегии:</div>
|
||||
<a href="/stats" target="_blank">Статистика по лигам</a>
|
||||
<hr>
|
||||
<div id="strategies" class="matches"></div>
|
||||
<hr>
|
||||
<div id="totals" class="matches"></div>
|
||||
<hr>
|
||||
<div class="matches">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b><span>Рейтинговые матчи</span></b></div>
|
||||
<div>Won, Lost: +<span id="ratedTotalsWonTips"></span>, -<span id="ratedTotalsLostTips"></span></div>
|
||||
<div>Точность: <span id="ratedTotalsAccuracy"></span> %</div>
|
||||
<div>Оборот: <span id="ratedTotalsTurnover"></span> грн</div>
|
||||
<div>Прибыль: <span id="ratedTotalsProfit"></span> грн</div>
|
||||
<div>ROI: <span id="ratedTotalsROI"></span>%</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div>
|
||||
<div id="total" class="matches" style="border: 1px solid #ddd"></div>
|
||||
<div style="font-size:0.9em">(без учета алгоритма 100)</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
74
templates/stats.html
Executable file
74
templates/stats.html
Executable file
@@ -0,0 +1,74 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Статистика по всем лигам</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
<script src="/static/moment.js"></script>
|
||||
<script src="/static/omg.js"></script>
|
||||
<script src="/static/formobj.js"></script>
|
||||
<script src="/static/stats.js?xxx"></script>
|
||||
|
||||
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<template id="champ">
|
||||
<tr>
|
||||
<td data-prop="champ"></td>
|
||||
<td data-prop="won"></td>
|
||||
<td data-prop="lost"></td>
|
||||
<td><span data-prop="accuracy"></span>%</td>
|
||||
<td data-prop="avgPrice"></td>
|
||||
</tr>
|
||||
</template>
|
||||
|
||||
<div class="sport-menu">
|
||||
<div style="display: flex; margin-bottom: 0px;">
|
||||
<a href="/football" style="margin-right: 50px;">Футбол</a>
|
||||
<a href="/handball" style="margin-right: 50px;">Гандбол</a>
|
||||
<a href="/tennis" style="margin-right: 50px;">Теннис</a>
|
||||
<a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
|
||||
<a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>
|
||||
<a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>
|
||||
<a href="/best-strategies">Статистика по лучшим стратегиям</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="display: flex; margin: 50px;">
|
||||
<div style="width: 500px;">
|
||||
<div class="form-group">
|
||||
<label for="">Стратегия</label>
|
||||
<select id="strategyID" name="strategyID" class="form-control"></select>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Чемпионат</th>
|
||||
<th>Won</th>
|
||||
<th>Lost</th>
|
||||
<th>Точность</th>
|
||||
<th>Средний коэф.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="champs">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="curve_chart" style="width: 900px; height: 500px"></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
77
templates/temp_stats.html
Normal file
77
templates/temp_stats.html
Normal file
@@ -0,0 +1,77 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Статистика по лучшим чемпионатам</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
<script src="/static/moment.js"></script>
|
||||
<script src="/static/omg.js"></script>
|
||||
<script src="/static/formobj.js"></script>
|
||||
<script src="/static/temp_stats.js"></script>
|
||||
|
||||
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<template id="champ">
|
||||
<tr>
|
||||
<td data-prop="champ"></td>
|
||||
<td data-prop="won"></td>
|
||||
<td data-prop="lost"></td>
|
||||
<td><span data-prop="accuracy"></span>%</td>
|
||||
<td data-prop="avgPrice"></td>
|
||||
</tr>
|
||||
</template>
|
||||
|
||||
|
||||
<div class="sport-menu">
|
||||
<div style="display: flex; margin-bottom: 0px;">
|
||||
<a href="/football" style="margin-right: 50px;">Футбол</a>
|
||||
<a href="/handball" style="margin-right: 50px;">Гандбол</a>
|
||||
<a href="/tennis" style="margin-right: 50px;">Теннис</a>
|
||||
<a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
|
||||
<a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>
|
||||
<a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>
|
||||
<a href="/best-strategies">Статистика по лучшим стратегиям</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="margin: 20px 50px;">
|
||||
|
||||
<div style="display: flex;">
|
||||
<div style="width: 500px;">
|
||||
<div class="form-group">
|
||||
<label for="">Стратегия</label>
|
||||
<select id="strategyID" name="strategyID" class="form-control"></select>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Чемпионат</th>
|
||||
<th>Won</th>
|
||||
<th>Lost</th>
|
||||
<th>Точность</th>
|
||||
<th>Средний коэф.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="champs">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="curve_chart" style="width: 900px; height: 500px"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
53
templates/temp_tips.html
Normal file
53
templates/temp_tips.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Прогнозы с разбивкой по дням</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div class="sport-menu">
|
||||
<div style="display: flex; margin-bottom: 0px;">
|
||||
<a href="/football" style="margin-right: 50px;">Футбол</a>
|
||||
<a href="/handball" style="margin-right: 50px;">Гандбол</a>
|
||||
<a href="/tennis" style="margin-right: 50px;">Теннис</a>
|
||||
<a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
|
||||
<a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>
|
||||
<a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>
|
||||
<a href="/best-strategies">Статистика по лучшим стратегиям</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="display: flex-column; margin: 20px 50px;">
|
||||
|
||||
|
||||
{{range .Days}}
|
||||
<div>{{.Date}}</div>
|
||||
<table class="table">
|
||||
{{range .Tips}}
|
||||
<tr>
|
||||
<td>{{.Time}}</td>
|
||||
<td><span style="font-size: 0.9rem;">{{.Champ}}.</span> {{.Name}}</td>
|
||||
<td>{{.Strategy}}</td>
|
||||
<td>{{.Result}}</td>
|
||||
<td>{{if eq .Status 1}}<span style="color:green;">Выигрыш</span>{{else}}<span style="color:red;">Проигрыш</span>{{end}}</td>
|
||||
<td><a href="{{.Link}}" target="_blank">Flashscore</a></td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
175
templates/tennis.html
Normal file
175
templates/tennis.html
Normal file
@@ -0,0 +1,175 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Tennis Dashboard</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
|
||||
|
||||
<link href="/static/tipper.css?123" rel="stylesheet">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
|
||||
|
||||
<script src="/static/moment.js"></script>
|
||||
<script src="/static/omg.js"></script>
|
||||
<script src="/static/form2.js"></script>
|
||||
<script src="/static/tennis.js?h423"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<template id="candidate-item">
|
||||
<div style="padding: 10px;">
|
||||
<span data-prop="sport" style="font-size:0.9em"></span> - <span data-prop="champName" style="font-size:0.9em"></span><br>
|
||||
<span data-prop="startTimeStr" style="font-size:0.9em"></span><br>
|
||||
<label><input data-id="radio"> <span data-prop="home"></span> - <span data-prop="away"></span></label>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="interestingMatch">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div data-prop="champName" style="font-size:0.9em"></div>
|
||||
<div data-prop="match"></div>
|
||||
<div data-prop="startTimeStr" style="font-size:0.9em"></div>
|
||||
<div data-id="isLinked" data-prop="isLinked" style="color:green;"></div>
|
||||
<div data-id="isInplay" data-prop="isInplay" style="color:green;"></div>
|
||||
<div data-id="livescore" style="color:blue;" hidden></div>
|
||||
|
||||
<details>
|
||||
<summary>онлайн</summary>
|
||||
<div style="font-size:0.9em">время: <span data-id="time"></span></div>
|
||||
<div style="font-size:0.9em">счет: <span data-id="score"></span></div>
|
||||
<!--<div style="font-size:0.9em">темп: <span data-id="gamePace"></span>за <span data-id="gamePaceFrame"></span> мин.</div>-->
|
||||
<div data-id="comment" style="color:red;font-size:0.9em"></div>
|
||||
</details>
|
||||
<details>
|
||||
<summary>почему</summary>
|
||||
<div style="margin-bottom: 15px; margin-top: 15px;"><a href="javascript:void(0);" data-id="flashscoreLink" target="_blank">на Flashscore</a></div>
|
||||
<pre data-prop="notes"></pre>
|
||||
</details>
|
||||
|
||||
<details data-id="identification">
|
||||
<summary>идентификация</summary>
|
||||
<div style="background-color:ivory; margin-top: 20px; padding-top: 10px; padding-bottom: 10px; padding-left: 5px; padding-right: 5px;">
|
||||
<div class="form-group">
|
||||
<input data-id="teamName" type="text" class="form-control" form="zzz">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button data-id="search" class="btn">Искать</button>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="form-group">
|
||||
<p data-id="candidates" style="display: flex; flex-direction: column;">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div data-id="divReverse">
|
||||
<label style="padding-left: 10px;"><input type="checkbox" data-id="isReverse"> команды перепутаны местами</label>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button data-id="submit" class="btn btn-success" disabled>Добавить алиасы</button>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="liveMatch">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div data-prop="champName" style="font-size:0.9em"></div>
|
||||
<div data-prop="match"></div>
|
||||
<div data-prop="startTimeStr" style="font-size:0.9em"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<template id="tip">
|
||||
<details>
|
||||
<summary data-prop="matchName" data-id="matchName"></summary>
|
||||
<div style="margin-bottom: 15px; margin-top: 15px;"><a href="javascript:void(0);" data-id="flashscoreLink" target="_blank">на Flashscore</a></div>
|
||||
<pre data-prop="msg"></pre>
|
||||
<div style="margin-bottom: 25px;"><a href="javascript:void(0);" data-id="setResultLink">Указать результат</a></div>
|
||||
<div style="margin-bottom: 25px;" data-id="setResultForm" hidden></div>
|
||||
</details>
|
||||
</template>
|
||||
|
||||
<template id="strategy">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b>#<span data-prop="strategyID"></span> <span data-prop="strategy"></span></b></div>
|
||||
<div>Won, Lost: +<span data-prop="wonTips"></span>, -<span data-prop="lostTips"></span></div>
|
||||
<div>Точность: <span data-prop="accuracy"></span> %</div>
|
||||
<div>Оборот: <span data-prop="turnover"></span> грн</div>
|
||||
<div>Прибыль: <span data-prop="profit"></span> грн</div>
|
||||
<div>ROI: <span data-prop="roi"></span>%</div>
|
||||
<div>Максимальная просадка: <span data-prop="drawdown"></span> грн</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="total">
|
||||
<div style="margin-bottom:20px;">
|
||||
<div><b><span data-prop="name"></span></b></div>
|
||||
<div>Won, Lost: +<span data-prop="wonTips"></span>, -<span data-prop="lostTips"></span></div>
|
||||
<div>Точность: <span data-prop="accuracy"></span> %</div>
|
||||
<div>Оборот: <span data-prop="turnover"></span> грн</div>
|
||||
<div>Прибыль: <span data-prop="profit"></span> грн</div>
|
||||
<div>ROI: <span data-prop="roi"></span>%</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<div class="sport-menu">
|
||||
<div style="display: flex; margin-bottom: 0px;">
|
||||
<a href="/football" style="margin-right: 50px;">Футбол</a>
|
||||
<a href="/handball" style="margin-right: 50px;">Гандбол</a>
|
||||
<a href="/tennis" style="margin-right: 50px;">Теннис</a>
|
||||
<a href="/football-by-days" style="margin-right: 50px;">Футбол (по дням)</a>
|
||||
<a href="/handball-by-days" style="margin-right: 50px;">Гандбол (по дням)</a>
|
||||
<a href="/tennis-by-days" style="margin-right: 50px;">Теннис (по дням)</a>
|
||||
<a href="/best-strategies">Статистика по лучшим стратегиям</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div id="favorites">
|
||||
<div class="interesting-title">Отобранные матчи:</div>
|
||||
<div id="interesting" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="book-live">1xBet live matches:</div>
|
||||
<div id="book-live" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="tips">Прогнозы:</div>
|
||||
<div id="tips" class="matches"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="strategies">Стратегии:</div>
|
||||
<a href="/stats" target="_blank">Статистика по лигам</a>
|
||||
<hr>
|
||||
<div id="strategies" class="matches"></div>
|
||||
<hr>
|
||||
<div id="totals" class="matches"></div>
|
||||
<!--
|
||||
<div>
|
||||
<div id="total" class="matches" style="border: 1px solid #ddd"></div>
|
||||
<div style="font-size:0.9em">(без учета алгоритма 100)</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user