-
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.
- Files created (scripts/template files/etc) - Change in database (for now, we'll change it later)
- Loading branch information
Showing
21 changed files
with
207 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.urls import path | ||
from . import views | ||
urlpatterns = [ | ||
path('', views.index, name='home'), | ||
] |
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,3 +1,20 @@ | ||
from django.http import HttpResponse, HttpRequest, HttpResponseServerError, HttpResponseRedirect | ||
from django.shortcuts import render, redirect | ||
from django.shortcuts import render | ||
from django.conf import settings | ||
from .models import * | ||
from django import views | ||
from django.core import mail | ||
from django.utils import timezone | ||
from django.views.decorators.csrf import csrf_exempt | ||
from django.shortcuts import redirect, get_object_or_404 | ||
from django.contrib.auth import authenticate, login, logout | ||
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm | ||
from django.contrib.auth.decorators import login_required | ||
from django.db.models import Q | ||
from django import forms | ||
import json | ||
|
||
# Create your views here. | ||
def index(request): | ||
return render(request, 'index.html', {}) |
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 @@ | ||
pass |
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 @@ | ||
pass |
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 @@ | ||
pass |
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 @@ | ||
pass |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,56 @@ | ||
{% load static %} | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<title>{% block title %}Home{% endblock %}</title> | ||
|
||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> | ||
<script src="https://kit.fontawesome.com/38a0fd0978.js" crossorigin="anonymous"></script> | ||
</head> | ||
|
||
<body> | ||
<!-- Navigational Bar [START] --> | ||
<nav class="navbar" role="navigation" aria-label="main navigation"> | ||
<div class="navbar-brand"> | ||
<a class="navbar-item" href="/"> | ||
<img src="https://media.discordapp.net/attachments/771416611092692992/792773588099923968/unknown.png" width="112" height="28"> | ||
</a> | ||
</div> | ||
<div id="navbarBasicExample" class="navbar-menu"> | ||
<div class="navbar-end"> | ||
<div class="navbar-item"> | ||
<div class="buttons"> | ||
<a class="button is-danger"> | ||
<strong>Sign up</strong> | ||
</a> | ||
<a class="button is-success"> | ||
Log in | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
<!-- Navigational Bar [END] --> | ||
|
||
<!-- Main Content [START] --> | ||
<div class='page' style="width:100%;height:100%;margin:0;"> | ||
{% block content %} | ||
{% endblock %} | ||
</div> | ||
<!-- Main Content [END] --> | ||
|
||
<!-- Footer Bar [START] --> | ||
<footer class="footer" style="width:100%;margin:0;"> | ||
<div class="content has-text-centered"> | ||
<p> | ||
<strong>CourseCal</strong> was developed by <a href="https://github.com/nishi7409/CourseCal/">amazing people</a> <i style="color:tomato;" class="fas fa-heart"></i></a> | ||
</p> | ||
</div> | ||
</footer> | ||
<!-- Footer Bar [END] --> | ||
</body> | ||
</html> |
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,30 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
<!-- put main code here --> | ||
{% block content %} | ||
|
||
<div class="card"> | ||
<div class="card-content"> | ||
<p class="title"> | ||
"Life is a journey" | ||
</p> | ||
<p class="subtitle"> | ||
Dad | ||
</p> | ||
</div> | ||
<footer class="card-footer"> | ||
<p class="card-footer-item"> | ||
<span> | ||
View on <a href="https://twitter.com/codinghorror/status/506010907021828096">Twitter</a> | ||
</span> | ||
</p> | ||
<p class="card-footer-item"> | ||
<span> | ||
Share on <a href="#">Facebook</a> | ||
</span> | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
{% endblock %} |
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,30 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
<!-- put main code here --> | ||
{% block content %} | ||
|
||
<div class="card"> | ||
<div class="card-content"> | ||
<p class="title"> | ||
“Life is a journey” | ||
</p> | ||
<p class="subtitle"> | ||
Dad | ||
</p> | ||
</div> | ||
<footer class="card-footer"> | ||
<p class="card-footer-item"> | ||
<span> | ||
View on <a href="https://twitter.com/codinghorror/status/506010907021828096">Twitter</a> | ||
</span> | ||
</p> | ||
<p class="card-footer-item"> | ||
<span> | ||
Share on <a href="#">Facebook</a> | ||
</span> | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
{% endblock %} |
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,30 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
<!-- put main code here --> | ||
{% block content %} | ||
|
||
<div class="card"> | ||
<div class="card-content"> | ||
<p class="title"> | ||
"Life is a journey" | ||
</p> | ||
<p class="subtitle"> | ||
Dad | ||
</p> | ||
</div> | ||
<footer class="card-footer"> | ||
<p class="card-footer-item"> | ||
<span> | ||
View on <a href="https://twitter.com/codinghorror/status/506010907021828096">Twitter</a> | ||
</span> | ||
</p> | ||
<p class="card-footer-item"> | ||
<span> | ||
Share on <a href="#">Facebook</a> | ||
</span> | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
{% endblock %} |
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,30 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
<!-- put main code here --> | ||
{% block content %} | ||
|
||
<div class="card"> | ||
<div class="card-content"> | ||
<p class="title"> | ||
“There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.” | ||
</p> | ||
<p class="subtitle"> | ||
Jeff Atwood | ||
</p> | ||
</div> | ||
<footer class="card-footer"> | ||
<p class="card-footer-item"> | ||
<span> | ||
View on <a href="https://twitter.com/codinghorror/status/506010907021828096">Twitter</a> | ||
</span> | ||
</p> | ||
<p class="card-footer-item"> | ||
<span> | ||
Share on <a href="#">Facebook</a> | ||
</span> | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
{% endblock %} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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