Django lottery site
This commit is contained in:
commit
3660710b23
10861 files changed
+1669447
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Start Bootstrap - Bare v5.0.7 (https://startbootstrap.com/template/bare)
|
||||
* Copyright 2013-2021 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-bare/blob/master/LICENSE)
|
||||
*/
|
||||
// This file is intentionally blank
|
||||
// Use this file to add JavaScript to your project
|
||||
@@ -0,0 +1,6 @@
|
||||
{% extends "lottopy/base.html" %}
|
||||
{% block about %}
|
||||
<title>About</title>
|
||||
<h1>"THIS IS MY FUCKING ABOUT PAGE"</h1>
|
||||
<p>"I'm testing it out"</p>
|
||||
{% endblock about %}
|
||||
@@ -0,0 +1,58 @@
|
||||
{% load static %}
|
||||
<!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="" />
|
||||
<meta name="author" content="" />
|
||||
{% if title %}
|
||||
<title>WV Lottopy | {{title}}</title>
|
||||
{% else %}
|
||||
<title>WV Lottopy Homepage</title>
|
||||
{% endif %}
|
||||
<!-- Favicon-->
|
||||
<link rel="icon" type="image/x-icon" href="{% static 'bootstrap/assets/favicon.ico' %}" />
|
||||
<!-- Core theme CSS (includes Bootstrap)-->
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="{% static 'bootstrap/css/styles.css' %}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Responsive navbar-->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#">West Virginia Lottery Predictions</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
||||
<li class="nav-item"><a class="nav-link active" aria-current="page" href="{% url 'lottopy' %}">Home</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#">Link</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="{% url 'about'%}" >About</a></li>
|
||||
<li><a class="dropdown-item" href="#">Another action</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- Page content-->
|
||||
<div class="container">
|
||||
<div class="text-center mt-5">
|
||||
{% block content %}{% endblock %} {% block about %}{% endblock %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bootstrap local JS-->
|
||||
<script src="{% static 'bootstrap/js/scripts.js' %}"></script>
|
||||
<!-- Bootstrap core JS-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,5 @@
|
||||
{% extends "lottopy/base.html" %}
|
||||
{% block content %}
|
||||
<h1>I finally got my fucking template to work!</h1>
|
||||
<p class="lead">Apparently developers who use this framework earn an average $112,000 a year. We gon' be rich!</p>
|
||||
{% endblock content %}
|
||||
Reference in new issue
Block a user