Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.2 #68

Merged
merged 13 commits into from
Feb 26, 2023
Prev Previous commit
Next Next commit
update templates
  • Loading branch information
edoardottt committed Feb 26, 2023
commit b701b6e486aa5c508690d2791c98fb2ba376d201
6 changes: 3 additions & 3 deletions templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<link rel="shortcut icon" href="https://www.python.org/static/community_logos/python-powered-h-140x182.png" />
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="{{ url_for('static', filename='dashboard.js')}}"></script>
<script src="{{ url_for('static', filename='js/dashboard.js')}}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.5.1/chart.min.js"
integrity="sha256-bC3LCZCwKeehY6T4fFi9VfOU0gztUa+S4cnkIhVPZ5E=" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha256-OFRAJNoaD8L3Br5lglV7VyLRf0itmoBzWUoM+Sji4/8=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='all.css')}}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/all.css')}}">
</head>

<body>
Expand Down Expand Up @@ -75,7 +75,7 @@ <h4>Statistics over time</h4>
onInput="$('.chart-container').css('width',$(this).val() + '%')">
</div>

<script src="{{ url_for('static', filename='values.js')}}"></script>
<script src="{{ url_for('static', filename='js/values.js')}}"></script>


</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha256-OFRAJNoaD8L3Br5lglV7VyLRf0itmoBzWUoM+Sji4/8=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='all.css')}}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/all.css')}}">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha256-OFRAJNoaD8L3Br5lglV7VyLRf0itmoBzWUoM+Sji4/8=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='all.css')}}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/all.css')}}">
</head>

<body>
Expand Down
13 changes: 10 additions & 3 deletions templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,22 @@
</li>

<li class="nav-item">
<a class="nav-link" href="https://github.com/edoardottt/twitterbot2">GitHub</a>
<a class="nav-link" href="/api/docs">API</a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://github.com/edoardottt/twitterbot2/wiki">Docs</a>
<a class="nav-link" target="_blank" href="https://github.com/edoardottt/twitterbot2">GitHub <i
class="fa fa-external-link" aria-hidden="true"></i></a>
</li>

<li class="nav-item">
<a class="nav-link" href="https://github.com/edoardottt/twitterbot2/issues">Found an issue?</a>
<a class="nav-link" target="_blank" href="https://github.com/edoardottt/twitterbot2/wiki">Docs <i
class="fa fa-external-link" aria-hidden="true"></i></a>
</li>

<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/edoardottt/twitterbot2/issues">Found an
issue? <i class="fa fa-external-link" aria-hidden="true"></i></a>
</li>

</ul>
Expand Down
21 changes: 21 additions & 0 deletions templates/swaggerui.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/swagger-ui.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/index.css') }}" />
<link rel="icon" type="image/png" href="{{ url_for('static', filename='img/favicon-32x32.png') }}" sizes="32x32" />
<link rel="icon" type="image/png" href="{{ url_for('static', filename='img/favicon-16x16.png') }}" sizes="16x16" />
</head>

<body>
<div id="swagger-ui"></div>
<script src="{{ url_for('static', filename='js/swagger-ui-bundle.js') }}" charset="UTF-8"> </script>
<script src="{{ url_for('static', filename='js/swagger-ui-standalone-preset.js') }}" charset="UTF-8"> </script>
<script src="{{ url_for('static', filename='js/swagger-initializer.js') }}" charset="UTF-8"> </script>
</body>

</html>