-
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.
update! :)
- Loading branch information
Showing
26 changed files
with
258 additions
and
64 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+372 Bytes
web_app/app/microservices/googleCal/__pycache__/urlGenerator.cpython-36.pyc
Binary file not shown.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 2.2.13 on 2020-12-27 17:59 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('app', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='student', | ||
old_name='first_name', | ||
new_name='name', | ||
), | ||
migrations.RemoveField( | ||
model_name='student', | ||
name='last_name', | ||
), | ||
migrations.RemoveField( | ||
model_name='student', | ||
name='username', | ||
), | ||
migrations.RemoveField( | ||
model_name='university', | ||
name='address', | ||
), | ||
migrations.RemoveField( | ||
model_name='university', | ||
name='phone_num', | ||
), | ||
] |
Binary file added
BIN
+705 Bytes
web_app/app/migrations/__pycache__/0002_auto_20201227_1759.cpython-36.pyc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from django.http import HttpResponse, HttpRequest, HttpResponseServerError, HttpResponseRedirect | ||
from django.shortcuts import render, redirect | ||
from django.shortcuts import redirect | ||
from django.shortcuts import render | ||
from django.conf import settings | ||
from .models import * | ||
|
@@ -14,7 +14,7 @@ | |
from django.db.models import Q | ||
from django import forms | ||
import json | ||
from ..microservices.googleCal import urlGenerator | ||
from .microservices.googleCal import urlGenerator | ||
|
||
# Create your views here. | ||
def index(request): | ||
|
@@ -33,4 +33,13 @@ def save_student(request): | |
newStud = Student(name="Nishant Srivastava", email="[email protected]", phone_num=5186182796, calendar_link=uniqueURL) | ||
newStud.save() | ||
else: | ||
pass | ||
pass | ||
|
||
def register(request): | ||
pass | ||
|
||
def login(request): | ||
pass | ||
|
||
def otp(): | ||
pass |
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,30 @@ | ||
.top{ | ||
color: white; | ||
background-image: url("https://images.pexels.com/photos/159490/yale-university-landscape-universities-schools-159490.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260"); | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
#titleHeader{ | ||
font-size: 5vw; | ||
} | ||
|
||
#titleSubtitle{ | ||
font-size: 1vw; | ||
} | ||
|
||
.middle{ | ||
background-color: whitesmoke; | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
.video{ | ||
background-image: url("https://images.pexels.com/photos/3877381/pexels-photo-3877381.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260"); | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
width: 100%; | ||
height: 100%; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
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,53 @@ | ||
document.addEventListener('DOMContentLoaded', function () { | ||
|
||
// Modals | ||
|
||
var rootEl = document.documentElement; | ||
var allModals = getAll('.modal'); | ||
var modalButtons = getAll('.modal-button'); | ||
var modalCloses = getAll('.modal-background, .modal-close, .modal-card-head .delete, .modal-card-foot .button'); | ||
|
||
if (modalButtons.length > 0) { | ||
modalButtons.forEach(function (el) { | ||
el.addEventListener('click', function () { | ||
var target = document.getElementById(el.dataset.target); | ||
rootEl.classList.add('is-clipped'); | ||
target.classList.add('is-active'); | ||
}); | ||
}); | ||
} | ||
|
||
if (modalCloses.length > 0) { | ||
modalCloses.forEach(function (el) { | ||
el.addEventListener('click', function () { | ||
closeModals(); | ||
}); | ||
}); | ||
} | ||
|
||
document.addEventListener('keydown', function (event) { | ||
var e = event || window.event; | ||
if (e.keyCode === 27) { | ||
closeModals(); | ||
} | ||
}); | ||
|
||
function closeModals() { | ||
rootEl.classList.remove('is-clipped'); | ||
allModals.forEach(function (el) { | ||
el.classList.remove('is-active'); | ||
}); | ||
} | ||
|
||
// Functions | ||
|
||
function getAll(selector) { | ||
return Array.prototype.slice.call(document.querySelectorAll(selector), 0); | ||
} | ||
}); | ||
|
||
|
||
function toggleModal(modal){ | ||
var count_modal = document.getElementById('countModal'); | ||
count_modal.classList.toggle('is-active'); | ||
} |
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 |
---|---|---|
|
@@ -4,53 +4,22 @@ | |
|
||
<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> | ||
<script src="https://kit.fontawesome.com/38a0fd0jquery978.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] --> | ||
|
||
{% include 'navbar.html' %} | ||
|
||
<!-- Main Content [START] --> | ||
<div class='page' style="width:100%;height:100%;margin:0;"> | ||
<div class='page'"> | ||
{% 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] --> | ||
|
||
{% include 'footer.html' %} | ||
</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,8 @@ | ||
<footer class="footer" style="width:100%;"> | ||
<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> |
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,22 @@ | ||
<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> |
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