-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from zombiepaladin/sudo-main
Sprint 4 final PR
- Loading branch information
Showing
32 changed files
with
183 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
include README.md | ||
include README.md | ||
|
||
recursive-include ksu_events/templates * |
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class KsuCasAuthConfig(AppConfig): | ||
name = 'ksu_events.ksu_cas_auth' | ||
name = 'ksu_cas_auth' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.3.9" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class KsuEventsConfig(AppConfig): | ||
name = 'ksu_events' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from ksu_events.models.model_events import Event | ||
from ksu_events.models.model_subevents import SubEvent |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
ksu_events/ksu_events/models/model_events.py → ksu_events/models/model_events.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ents/ksu_events/models/model_subevents.py → ksu_events/models/model_subevents.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
body { | ||
background-color: #111827; | ||
color: #ffffff; | ||
} | ||
|
||
header { | ||
position: relative; | ||
text-align: center; | ||
} | ||
|
||
nav { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 1rem 2rem; | ||
background-color: #1F2937; | ||
} | ||
|
||
nav .logo { | ||
font-size: 1.5rem; | ||
font-weight: bold; | ||
} | ||
|
||
.nav-links { | ||
list-style: none; | ||
display: flex; | ||
gap: 1.5rem; | ||
} | ||
|
||
.nav-links a { | ||
color: #ffffff; | ||
text-decoration: none; | ||
font-size: 1rem; | ||
} | ||
|
||
.sign-in { | ||
background-color: #4CAF50; | ||
padding: 0.5rem 1rem; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
.hero { | ||
position: relative; | ||
padding: 5rem 2rem; | ||
background: url('hackk-state.png') center/cover no-repeat; | ||
color: #ffffff; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 2rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.hero p { | ||
font-size: 1rem; | ||
margin-bottom: 1.5rem; | ||
max-width: 600px; | ||
margin: 0 auto; | ||
} | ||
|
||
.hero button { | ||
background-color: #007bff; | ||
color: #ffffff; | ||
padding: 0.75rem 1.5rem; | ||
font-size: 1rem; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
main { | ||
padding: 2rem; | ||
} | ||
|
||
.info { | ||
display: flex; | ||
justify-content: space-around; | ||
text-align: center; | ||
padding: 2rem 0; | ||
} | ||
|
||
.info-box { | ||
max-width: 300px; | ||
} | ||
|
||
.info-box h2 { | ||
font-size: 1.5rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.info-box p { | ||
font-size: 1rem; | ||
color: #D1D5DB; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% load static %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Hack K-State</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
|
||
<body> | ||
<header> | ||
<nav> | ||
<div class="logo">Hack K-State</div> | ||
<ul class="nav-links"> | ||
<li><a href="#">Home</a></li> | ||
<li><a href="#">Schedule</a></li> | ||
<li><a href="#">FAQ</a></li> | ||
<li><a href="#">Rules</a></li> | ||
<li><a href="#">Last Year's Projects</a></li> | ||
</ul> | ||
<div class="sign-in">Sign in</div> | ||
</nav> | ||
<div class="hero"> | ||
<h1>Check out last year's projects!</h1> | ||
<p>From mobile apps to video games, Hack K-State 2021 had over 35 submitted projects and a combined total of | ||
138 college and high school students participating from around the world.</p> | ||
<button>View Projects</button> | ||
</div> | ||
</header> | ||
|
||
<main> | ||
<section class="info"> | ||
<div class="info-box"> | ||
<h2>What is a hackathon?</h2> | ||
<p>A hackathon is an invention and innovation competition for technology...</p> | ||
</div> | ||
<div class="info-box"> | ||
<h2>What is Hack K-State?</h2> | ||
<p>Hack K-State is a 36-hour hackathon at Kansas State University...</p> | ||
</div> | ||
<div class="info-box"> | ||
<h2>Who can attend?</h2> | ||
<p>Hack K-State is one of the few hackathons in the region that brings high school and college students | ||
together...</p> | ||
</div> | ||
</section> | ||
</main> | ||
</body> | ||
|
||
</html> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
""" | ||
URL configuration for ksu_events project. | ||
The `urlpatterns` list routes URLs to views. For more information please see: | ||
https://docs.djangoproject.com/en/5.1/topics/http/urls/ | ||
Examples: | ||
Function views | ||
1. Add an import: from my_app import views | ||
2. Add a URL to urlpatterns: path('', views.home, name='home') | ||
Class-based views | ||
1. Add an import: from other_app.views import Home | ||
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') | ||
Including another URLconf | ||
1. Import the include() function: from django.urls import include, path | ||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) | ||
""" | ||
from django.contrib import admin | ||
from django.urls import path | ||
from . import views | ||
|
||
urlpatterns = [ | ||
path('admin/', admin.site.urls), | ||
] | ||
path('', views.home, name='home_view'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.