-
Notifications
You must be signed in to change notification settings - Fork 1
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 #21 from OpenGovAus/overhaul-1
Overhaul of stupid bad code
- Loading branch information
Showing
66 changed files
with
22,622 additions
and
922 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -8,6 +8,8 @@ secrets.py | |
__pycache__ | ||
db.sqlite3 | ||
media | ||
migrations/ | ||
poetry.lock | ||
|
||
# Backup files # | ||
*.bak | ||
|
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
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-3.36 MB
docs/Legistream Development/01. Skeleton with server-side stream URLs.mp4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.68 MB
docs/Legistream Development/05. First real stream on Legistream.mp4
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import os | ||
import inspect | ||
import legistream_backend | ||
|
||
|
||
modpath = f'{os.path.dirname(inspect.getfile(legistream_backend))}/site/' | ||
|
||
module_list = [os.path.splitext(f)[0] for f in os.listdir(modpath) | ||
if os.path.isfile(os.path.join(modpath, f))] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from django.db import models | ||
|
||
# Create your models here. | ||
|
||
class Streams(models.Model): | ||
streams_dict = models.CharField(max_length=300) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,75 @@ | ||
#home-info { | ||
position: absolute; | ||
top: calc(100% - 10px); | ||
z-index: -1; | ||
} | ||
#scroll-top { | ||
rotate: 90deg; | ||
position: absolute; | ||
border-radius: 15px; | ||
bottom: 65px; | ||
right: 35px; | ||
padding-left: 20px; | ||
} | ||
#scroll-top:hover { | ||
color: rgb(68, 219, 78); | ||
cursor: pointer; | ||
} | ||
#scroll-top img { | ||
height: 30px; | ||
padding-top: 22%; | ||
} | ||
#info-block { | ||
width: 48%; | ||
} | ||
#info-block h1, #info-block h2 { | ||
font-family: gilroy; | ||
} | ||
#info-block h1 { | ||
font-size: 300%; | ||
} | ||
#info-block h2 { | ||
font-size: 200%; | ||
margin-top: 20px; | ||
} | ||
#info-block p { | ||
font-family: pn-light; | ||
font-size: 150%; | ||
} | ||
#info-block a { | ||
color: rgb(68, 219, 78); | ||
} | ||
#info-block a:hover { | ||
color: rgb(49, 161, 57); | ||
} | ||
.dark-div { | ||
display: flex; | ||
background-color: rgb(16,16,16); | ||
width: 100%; | ||
align-items: center; | ||
flex-direction: column; | ||
padding-bottom: 50px; | ||
} | ||
#grn-break { | ||
width: 100%; | ||
height: 10px; | ||
background-color: rgb(68, 219, 78); | ||
margin-bottom: 50px; | ||
} | ||
#grn-break:hover { | ||
cursor: pointer; | ||
} | ||
@media only screen and (min-resolution: 117dpi) and (max-resolution: 119dpi), only screen and (min-resolution: 131dpi) and (max-resolution: 133dpi), only screen and (min-resolution: 145dpi) and (max-resolution: 154dpi), only screen and (min-resolution: 162dpi) and (max-resolution: 164dpi), only screen and (min-resolution: 169dpi) { | ||
#info-block p { | ||
font-size: 110%; | ||
} | ||
#info-block { | ||
width: 70%; | ||
} | ||
#scroll-top { | ||
margin-right: -30px; | ||
} | ||
#scroll-top img { | ||
height: 15px; | ||
} | ||
} |
Oops, something went wrong.