First commit
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
149
.gitignore
vendored
Normal file
|
@ -0,0 +1,149 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
### VisualStudioCode ###
|
||||
.vscode/*
|
||||
*.code-workspace
|
||||
.idea/*
|
||||
.venv/*
|
||||
|
||||
### VisualStudioCode Patch ###
|
||||
# Ignore all local history of files
|
||||
.history
|
||||
.ionide
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
.pybuilder/
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# For a library or package, you might want to ignore these files since the code is
|
||||
# intended to run in multiple environments; otherwise, check them in:
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv/*
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
||||
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Wulkanowy-web
|
||||
🌋 Przeglądarkowy klient dzienniczka VULCAN UONET+ dla ucznia i rodzica | dla @wulkanowy
|
36
mypage/Wulkanowy/API/attendance.py
Normal file
|
@ -0,0 +1,36 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
import datetime
|
||||
|
||||
def get_attendance(register_id, register_r, oun, s, date):
|
||||
cookies = {
|
||||
"biezacyRokSzkolny": f"{register_r.json()['data'][0]['DziennikRokSzkolny']}",
|
||||
"idBiezacyDziennik": f"{register_r.json()['data'][0]['IdDziennik']}",
|
||||
"idBiezacyDziennikPrzedszkole": f"{register_r.json()['data'][0]['IdPrzedszkoleDziennik']}",
|
||||
"idBiezacyDziennikWychowankowie": f"{register_r.json()['data'][0]['IdWychowankowieDziennik']}",
|
||||
"idBiezacyUczen": f"{register_r.json()['data'][0]['IdUczen']}"
|
||||
}
|
||||
|
||||
attendance_lessons = s.post(oun+'/FrekwencjaStatystykiPrzedmioty.mvc/Get', cookies=cookies)
|
||||
|
||||
attendance_lessons_json = attendance_lessons.json()
|
||||
|
||||
attendance_json_id = attendance_lessons.json()['data'][0]['Id']
|
||||
|
||||
attendance = s.post(oun+'/Frekwencja.mvc/Get', cookies=cookies, json={'idTypWpisuFrekwencji': attendance_json_id, 'data': date})
|
||||
|
||||
attendance_json = attendance.json()
|
||||
|
||||
with open('json/attendance_lessons.json', 'w') as f:
|
||||
json.dump(attendance_lessons_json, f)
|
||||
|
||||
with open('json/attendance.json', 'w') as f:
|
||||
json.dump(attendance_json, f)
|
49
mypage/Wulkanowy/API/exams.py
Normal file
|
@ -0,0 +1,49 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def get_exams(register_id, register_r, oun, s, date, school_year):
|
||||
cookies = {
|
||||
"biezacyRokSzkolny": f"{register_r.json()['data'][0]['DziennikRokSzkolny']}",
|
||||
"idBiezacyDziennik": f"{register_r.json()['data'][0]['IdDziennik']}",
|
||||
"idBiezacyDziennikPrzedszkole": f"{register_r.json()['data'][0]['IdPrzedszkoleDziennik']}",
|
||||
"idBiezacyDziennikWychowankowie": f"{register_r.json()['data'][0]['IdWychowankowieDziennik']}",
|
||||
"idBiezacyUczen": f"{register_r.json()['data'][0]['IdUczen']}"
|
||||
}
|
||||
|
||||
exams = s.post(oun+'/Sprawdziany.mvc/Get', cookies=cookies, json={'data': date, 'rokSzkolny': school_year})
|
||||
|
||||
exams_json = exams.json()
|
||||
|
||||
with open('json/exams.json', 'w') as f:
|
||||
json.dump(exams_json, f)
|
||||
|
||||
def prepare_exams_for_display():
|
||||
with open('json/exams.json') as f:
|
||||
exams = json.loads(f.read())
|
||||
|
||||
a = 0
|
||||
|
||||
for i in range(4):
|
||||
print(f'------------TYDZIEŃ {i+1}------------')
|
||||
for x in range(5):
|
||||
print('------------------------------------------------')
|
||||
while True:
|
||||
if exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Sprawdziany'] != []:
|
||||
print('Przedmiot: '+exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Sprawdziany'][a]['DisplayValue'])
|
||||
print('Nauczyciel: '+exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Sprawdziany'][a]['PracownikModyfikujacyDisplay'])
|
||||
print('Opis: '+exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Sprawdziany'][a]['Opis'])
|
||||
print('Data: '+exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Data'])
|
||||
if exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Sprawdziany'][a] == exams['data'][i]['SprawdzianyGroupedByDayList'][x]['Sprawdziany'][-1]:
|
||||
a = 0
|
||||
break
|
||||
a += 1
|
||||
else:
|
||||
break
|
59
mypage/Wulkanowy/API/grades.py
Normal file
|
@ -0,0 +1,59 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def get_grades(register_id, register_r, oun, s):
|
||||
cookies = {
|
||||
"biezacyRokSzkolny": f"{register_r.json()['data'][0]['DziennikRokSzkolny']}",
|
||||
"idBiezacyDziennik": f"{register_r.json()['data'][0]['IdDziennik']}",
|
||||
"idBiezacyDziennikPrzedszkole": f"{register_r.json()['data'][0]['IdPrzedszkoleDziennik']}",
|
||||
"idBiezacyDziennikWychowankowie": f"{register_r.json()['data'][0]['IdWychowankowieDziennik']}",
|
||||
"idBiezacyUczen": f"{register_r.json()['data'][0]['IdUczen']}"
|
||||
}
|
||||
|
||||
grades = s.post(oun+'/Oceny.mvc/Get', cookies=cookies, json={'okres': register_id})
|
||||
|
||||
grades_json = grades.json()
|
||||
|
||||
with open('json/grades.json', 'w') as f:
|
||||
json.dump(grades_json, f)
|
||||
|
||||
def prepare_grades_for_display():
|
||||
with open('json/grades.json') as f:
|
||||
grades = json.loads(f.read())
|
||||
|
||||
i = 0
|
||||
a = 0
|
||||
|
||||
lesson_name = []
|
||||
|
||||
while True:
|
||||
#lessons = grades.json()['data']['Oceny'][i]['Pozycja']
|
||||
lesson_name.append(grades['data']['Oceny'][i]['Przedmiot'])
|
||||
print('------------------------------------------------')
|
||||
print(lesson_name[i])
|
||||
print('------------------------------------------------')
|
||||
if grades['data']['Oceny'][i]['OcenyCzastkowe'] != []:
|
||||
while True:
|
||||
print('<----------------------------------------------------------->')
|
||||
print('Ocena: '+grades['data']['Oceny'][i]['OcenyCzastkowe'][a]['Wpis'])
|
||||
print('Nauczyciel: '+grades['data']['Oceny'][i]['OcenyCzastkowe'][a]['Nauczyciel'])
|
||||
print('Opis: '+grades['data']['Oceny'][i]['OcenyCzastkowe'][a]['NazwaKolumny'])
|
||||
print('Data: '+grades['data']['Oceny'][i]['OcenyCzastkowe'][a]['DataOceny'])
|
||||
print('Waga Oceny: '+str(grades['data']['Oceny'][i]['OcenyCzastkowe'][a]['Waga']))
|
||||
if grades['data']['Oceny'][i]['OcenyCzastkowe'][a] == grades['data']['Oceny'][i]['OcenyCzastkowe'][-1]:
|
||||
a = 0
|
||||
break
|
||||
a += 1
|
||||
else:
|
||||
print('Brak Ocen!')
|
||||
if grades['data']['Oceny'][i]['Pozycja'] == grades['data']['Oceny'][-1]['Pozycja']:
|
||||
break
|
||||
i += 1
|
59
mypage/Wulkanowy/API/homework.py
Normal file
|
@ -0,0 +1,59 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def get_homework(register_id, register_r, oun, s, date, school_year):
|
||||
cookies = {
|
||||
"biezacyRokSzkolny": f"{register_r.json()['data'][0]['DziennikRokSzkolny']}",
|
||||
"idBiezacyDziennik": f"{register_r.json()['data'][0]['IdDziennik']}",
|
||||
"idBiezacyDziennikPrzedszkole": f"{register_r.json()['data'][0]['IdPrzedszkoleDziennik']}",
|
||||
"idBiezacyDziennikWychowankowie": f"{register_r.json()['data'][0]['IdWychowankowieDziennik']}",
|
||||
"idBiezacyUczen": f"{register_r.json()['data'][0]['IdUczen']}"
|
||||
}
|
||||
|
||||
homework = s.post(oun+'/Homework.mvc/Get', cookies=cookies, json={'schoolYear': school_year, 'date': date, 'statusFilter': '-1'})
|
||||
|
||||
homework_json = homework.json()
|
||||
|
||||
with open('json/homework.json', 'w') as f:
|
||||
json.dump(homework_json, f)
|
||||
|
||||
def prepare_homework_for_display():
|
||||
with open('json/homework.json') as f:
|
||||
homework = json.loads(f.read())
|
||||
|
||||
i = 0
|
||||
a = 0
|
||||
|
||||
for i in range(5):
|
||||
print('------------------------------------------------')
|
||||
if i == 0:
|
||||
print('PONIEDZIAŁEK')
|
||||
elif i == 1:
|
||||
print('WTOREK')
|
||||
elif i == 2:
|
||||
print('ŚRODA')
|
||||
elif i == 3:
|
||||
print('CZWARTEK')
|
||||
elif i == 4:
|
||||
print('PIĄTEK')
|
||||
print('------------------------------------------------')
|
||||
if homework['data'][i]['Homework'] != []:
|
||||
print('Przedmiot: '+homework['data'][i]['Homework'][a]['Subject'])
|
||||
print('Nauczyciel: '+homework['data'][i]['Homework'][a]['Teacher'])
|
||||
print('Opis: '+homework['data'][i]['Homework'][a]['Description'])
|
||||
print('Data: '+homework['data'][i]['Homework'][a]['Date'])
|
||||
print('------------------------------------------------')
|
||||
if homework['data'][i]['Homework'][a] == homework['data'][i]['Homework'][-1]:
|
||||
a = 0
|
||||
else:
|
||||
a += 1
|
||||
else:
|
||||
print('Brak zadań domowych na ten dzień')
|
14
mypage/Wulkanowy/API/messeges.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
class GetMesseges():
|
||||
def __init__(self, register_id, register_r, oun, s, date):
|
||||
print(None)
|
26
mypage/Wulkanowy/API/notes.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def get_notes(register_id, register_r, oun, s):
|
||||
cookies = {
|
||||
"biezacyRokSzkolny": f"{register_r.json()['data'][0]['DziennikRokSzkolny']}",
|
||||
"idBiezacyDziennik": f"{register_r.json()['data'][0]['IdDziennik']}",
|
||||
"idBiezacyDziennikPrzedszkole": f"{register_r.json()['data'][0]['IdPrzedszkoleDziennik']}",
|
||||
"idBiezacyDziennikWychowankowie": f"{register_r.json()['data'][0]['IdWychowankowieDziennik']}",
|
||||
"idBiezacyUczen": f"{register_r.json()['data'][0]['IdUczen']}"
|
||||
}
|
||||
|
||||
notes = s.post(oun+'/UwagiIOsiagniecia.mvc/Get', cookies=cookies)
|
||||
|
||||
notes_json = notes.json()
|
||||
|
||||
with open('json/notes.json', 'w') as f:
|
||||
json.dump(notes_json, f)
|
73
mypage/Wulkanowy/API/timetable.py
Normal file
|
@ -0,0 +1,73 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def get_timetable(register_id, register_r, oun, s, date):
|
||||
cookies = {
|
||||
"biezacyRokSzkolny": f"{register_r.json()['data'][0]['DziennikRokSzkolny']}",
|
||||
"idBiezacyDziennik": f"{register_r.json()['data'][0]['IdDziennik']}",
|
||||
"idBiezacyDziennikPrzedszkole": f"{register_r.json()['data'][0]['IdPrzedszkoleDziennik']}",
|
||||
"idBiezacyDziennikWychowankowie": f"{register_r.json()['data'][0]['IdWychowankowieDziennik']}",
|
||||
"idBiezacyUczen": f"{register_r.json()['data'][0]['IdUczen']}"
|
||||
}
|
||||
|
||||
timetable = s.post(oun+'/PlanZajec.mvc/Get', cookies=cookies, json={'data': date})
|
||||
|
||||
timetable_json = timetable.json()
|
||||
with open('json/timetable.json', 'w') as f:
|
||||
json.dump(timetable_json, f)
|
||||
|
||||
|
||||
def prepare_timetable_for_display():
|
||||
with open('json/timetable.json') as f:
|
||||
timetable = json.load(f)
|
||||
|
||||
hour = []
|
||||
monday = []
|
||||
tuesday = []
|
||||
wednesday = []
|
||||
thrusday = []
|
||||
friday = []
|
||||
|
||||
a = 0
|
||||
x = 0
|
||||
i = 0
|
||||
|
||||
while True:
|
||||
for x in range(6):
|
||||
if x == 0:
|
||||
hour.append(timetable['data']['Rows'][a][x])
|
||||
elif x == 1:
|
||||
monday.append(timetable['data']['Rows'][a][x])
|
||||
elif x == 2:
|
||||
tuesday.append(timetable['data']['Rows'][a][x])
|
||||
elif x == 3:
|
||||
wednesday.append(timetable['data']['Rows'][a][x])
|
||||
elif x == 4:
|
||||
thrusday.append(timetable['data']['Rows'][a][x])
|
||||
elif x == 5:
|
||||
friday.append(timetable['data']['Rows'][a][x])
|
||||
if timetable['data']['Rows'][a] == timetable['data']['Rows'][-1]:
|
||||
a = 0
|
||||
break
|
||||
a += 1
|
||||
|
||||
while True:
|
||||
print(hour[i])
|
||||
print(monday[i])
|
||||
print(tuesday[i])
|
||||
print(wednesday[i])
|
||||
print(thrusday[i])
|
||||
print(friday[i])
|
||||
print('-------------------------------------')
|
||||
if hour[i] == hour[-1]:
|
||||
i = 0
|
||||
break
|
||||
i += 1
|
0
mypage/Wulkanowy/__init__.py
Normal file
3
mypage/Wulkanowy/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
5
mypage/Wulkanowy/apps.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class WulkanowyConfig(AppConfig):
|
||||
name = 'Wulkanowy'
|
96
mypage/Wulkanowy/classes.py
Normal file
|
@ -0,0 +1,96 @@
|
|||
import os
|
||||
import sys
|
||||
import requests
|
||||
from django import template
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.shortcuts import render
|
||||
import json
|
||||
import requests
|
||||
from django.shortcuts import redirect
|
||||
from bs4 import BeautifulSoup
|
||||
import datetime
|
||||
from .API.grades import get_grades
|
||||
from .API.attendance import get_attendance
|
||||
from .API.exams import get_exams
|
||||
from .API.homework import get_homework
|
||||
from .API.messeges import GetMesseges
|
||||
from .API.timetable import get_timetable
|
||||
from .API.notes import get_notes
|
||||
|
||||
# Create your models here.
|
||||
class Sender():
|
||||
def __init__(self, url, loginName, Password, params_names, fail_phrase, symbol):
|
||||
self.url = url
|
||||
self.fail = fail_phrase
|
||||
self.loginName = loginName
|
||||
self.Password = Password
|
||||
self.data = []
|
||||
self.data.append((params_names[0], self.loginName, params_names[1], self.Password))
|
||||
self.symbol = symbol
|
||||
|
||||
for index, single_data in enumerate(self.data):
|
||||
index += 1
|
||||
if self.send(self.url, single_data, self.fail):
|
||||
self.Accepted(self.data)
|
||||
else:
|
||||
self.Denied()
|
||||
|
||||
def send(self, url, data, fail):
|
||||
ready_data = {data[0]: data[1], data[2]: data[3]}
|
||||
s = requests.Session()
|
||||
r = s.post(url=url, data=ready_data)
|
||||
if fail in r.text:
|
||||
return False
|
||||
else:
|
||||
page = r
|
||||
bs = BeautifulSoup(page.text, 'html.parser')
|
||||
wa = bs.find('input', {'name': 'wa'})['value']
|
||||
cert = bs.find('input', {'name': 'wresult'})['value']
|
||||
wctx = bs.find('input', {'name': 'wctx'})['value']
|
||||
cert_url = 'https://uonetplus.vulcan.net.pl/'+self.symbol+'/LoginEndpoint.aspx'
|
||||
|
||||
crtr = s.post(url=cert_url, headers={"User-Agent": "Wulkanowy-web :)"}, data={"wa": wa, "wresult": cert, "wctx": wctx})
|
||||
|
||||
bs = BeautifulSoup(crtr.content, 'html.parser')
|
||||
for a in bs.find_all('a', title='Uczeń'):
|
||||
oun = a['href']
|
||||
break
|
||||
|
||||
register_r = s.post(oun+'/UczenDziennik.mvc/Get')
|
||||
register_id = register_r.json()['data'][0]['Okresy'][0]['Id']
|
||||
|
||||
now = datetime.datetime.now()
|
||||
weekday = now.weekday()
|
||||
|
||||
for x in range(7):
|
||||
if weekday == x:
|
||||
now = now - datetime.timedelta(days=x)
|
||||
|
||||
day = str(now.day)
|
||||
month = str(now.month)
|
||||
year = str(now.year)
|
||||
|
||||
date = year+'-'+month+'-'+day
|
||||
|
||||
school_year = register_r.json()['data'][0]['DziennikRokSzkolny']
|
||||
|
||||
get_grades(register_id, register_r, oun, s)
|
||||
get_attendance(register_id, register_r, oun, s, date)
|
||||
get_exams(register_id, register_r, oun, s, date, school_year)
|
||||
get_homework(register_id, register_r, oun, s, date, school_year)
|
||||
GetMesseges(register_id, register_r, oun, s, date)
|
||||
get_timetable(register_id, register_r, oun, s, date)
|
||||
get_notes(register_id, register_r, oun, s)
|
||||
|
||||
return True
|
||||
|
||||
def Denied(self):
|
||||
print("Niezalogowano!")
|
||||
f = open("data.txt", "w")
|
||||
f.write("Denied")
|
||||
f.close()
|
||||
|
||||
def Accepted(self, data):
|
||||
f = open("data.txt", "w")
|
||||
f.write("Accepted")
|
||||
f.close()
|
0
mypage/Wulkanowy/data.txt
Normal file
6
mypage/Wulkanowy/forms.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django import forms
|
||||
|
||||
class loginForm(forms.Form):
|
||||
loginName = forms.CharField()
|
||||
Password = forms.CharField(widget=forms.PasswordInput)
|
||||
Symbol = forms.CharField()
|
0
mypage/Wulkanowy/migrations/__init__.py
Normal file
1
mypage/Wulkanowy/models.py
Normal file
|
@ -0,0 +1 @@
|
|||
from django.db import models
|
3
mypage/Wulkanowy/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
102
mypage/Wulkanowy/views.py
Normal file
|
@ -0,0 +1,102 @@
|
|||
from bs4 import BeautifulSoup
|
||||
from requests import get
|
||||
from django.shortcuts import render
|
||||
from .classes import Sender
|
||||
from .forms import loginForm
|
||||
import os
|
||||
import json
|
||||
from django.shortcuts import redirect
|
||||
from .API.grades import prepare_grades_for_display
|
||||
from .API.homework import prepare_homework_for_display
|
||||
from .API.exams import prepare_exams_for_display
|
||||
from .API.timetable import prepare_timetable_for_display
|
||||
|
||||
def default_view(request, *args, **kwargs):
|
||||
new_form = loginForm()
|
||||
if request.method == "POST":
|
||||
new_form = loginForm(request.POST)
|
||||
if new_form.is_valid():
|
||||
symbol = new_form.cleaned_data['Symbol']
|
||||
link = 'https://cufs.vulcan.net.pl/'+symbol+'/Account/LogOn?ReturnUrl=%2F'+symbol+'%2FFS%2FLS%3Fwa%3Dwsignin1.0%26wtrealm%3Dhttps%253a%252f%252fuonetplus.vulcan.net.pl%252f'+symbol+'%252fLoginEndpoint.aspx%26wctx%3Dhttps%253a%252f%252fuonetplus.vulcan.net.pl%252f'+symbol+'%252fLoginEndpoint.aspx'
|
||||
Sender(link, new_form.cleaned_data['loginName'], new_form.cleaned_data['Password'], ('loginName', 'Password'), 'Zła nazwa użytkownika lub hasło', symbol)
|
||||
context = {'form' : new_form}
|
||||
f = open("data.txt", "r")
|
||||
status = f.read()
|
||||
f.close()
|
||||
open("data.txt", "w").close()
|
||||
if status == "Denied":
|
||||
status = ''
|
||||
return redirect('/error/')
|
||||
elif status == "Accepted":
|
||||
status = ''
|
||||
f = open("data.txt", "r")
|
||||
status = f.read()
|
||||
print(status)
|
||||
f.close()
|
||||
|
||||
return redirect('/oceny/')
|
||||
else:
|
||||
status = ''
|
||||
return render(request, 'index.html', context)
|
||||
|
||||
def error_view(request, *args, **kwargs):
|
||||
new_form = loginForm()
|
||||
if request.method == "POST":
|
||||
new_form = loginForm(request.POST)
|
||||
if new_form.is_valid():
|
||||
symbol = new_form.cleaned_data['Symbol']
|
||||
link = 'https://cufs.vulcan.net.pl/'+symbol+'/Account/LogOn?ReturnUrl=%2F'+symbol+'%2FFS%2FLS%3Fwa%3Dwsignin1.0%26wtrealm%3Dhttps%253a%252f%252fuonetplus.vulcan.net.pl%252f'+symbol+'%252fLoginEndpoint.aspx%26wctx%3Dhttps%253a%252f%252fuonetplus.vulcan.net.pl%252f'+symbol+'%252fLoginEndpoint.aspx'
|
||||
Sender(link, new_form.cleaned_data['loginName'], new_form.cleaned_data['Password'], ('loginName', 'Password'), 'Zła nazwa użytkownika lub hasło', symbol)
|
||||
error_mess = 'Niepoprawny e-mail lub hasło'
|
||||
context = {'form' : new_form, 'error' : error_mess}
|
||||
f = open("data.txt", "r")
|
||||
status = f.read()
|
||||
print(status)
|
||||
f.close()
|
||||
open("data.txt", "w").close()
|
||||
if status == "Denied":
|
||||
status = None
|
||||
return redirect('/error/')
|
||||
elif status == "Accepted":
|
||||
status = None
|
||||
return redirect('/oceny/')
|
||||
else:
|
||||
status = None
|
||||
return render(request, 'form_error.html', context)
|
||||
|
||||
def grades_view(request, *args, **kwargs):
|
||||
prepare_grades_for_display()
|
||||
content = {'json_data': None}
|
||||
return render(request, 'oceny.html', content)
|
||||
|
||||
def homework_view(request, *args, **kwargs):
|
||||
prepare_homework_for_display()
|
||||
content = {'json_data': None}
|
||||
return render(request, 'zadania.html', content)
|
||||
|
||||
def timetable_view(request, *args, **kwargs):
|
||||
prepare_timetable_for_display()
|
||||
content = {'json_data': None}
|
||||
return render(request, 'plan.html', content)
|
||||
|
||||
def attendance_view(request, *args, **kwargs):
|
||||
with open('json/attendance_lessons.json') as f:
|
||||
timetable_lessons_load = json.load(f)
|
||||
with open('json/attendance.json') as f:
|
||||
timetable_load = json.load(f)
|
||||
content = {'json_data': timetable_lessons_load, 'json_data2': timetable_load}
|
||||
return render(request, 'frekwencja.html', content)
|
||||
|
||||
def notes_view(request, *args, **kwargs):
|
||||
with open('json/notes.json') as f:
|
||||
notes_load = json.load(f)
|
||||
content = {'json_data': notes_load}
|
||||
return render(request, 'uwagi.html', content)
|
||||
|
||||
def exams_view(request, *args, **kwargs):
|
||||
prepare_exams_for_display()
|
||||
content = {'json_data': None}
|
||||
return render(request, 'sprawdziany.html', content)
|
||||
|
||||
def messeges_view(request, *args, **kwargs):
|
||||
return render(request, 'wiadomosci.html')
|
0
mypage/data.txt
Normal file
180
mypage/files/error.css
Normal file
|
@ -0,0 +1,180 @@
|
|||
@media screen and (max-width: 768px){
|
||||
.box {
|
||||
width: 60% !important;
|
||||
height: 45% !important;
|
||||
}
|
||||
.logo img[data-v-cd2b8d62] {
|
||||
margin: 0 !important;
|
||||
margin-top: -55% !important;
|
||||
}
|
||||
#icons
|
||||
{
|
||||
bottom: -36% !important;
|
||||
size: 70% !important;
|
||||
margin: 0 !important;
|
||||
margin-top: 20% !important;
|
||||
}
|
||||
}
|
||||
body {
|
||||
height: 100vh;
|
||||
background: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.3)),to(rgba(0,0,0,.3))),url(../img/wallpaper.b24bba72.jpg);
|
||||
background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)),url(img/wallpaper.jpg);
|
||||
background-size: cover;
|
||||
background-position: 50%;
|
||||
background-attachment: fixed;
|
||||
overflow: auto;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 10px;
|
||||
margin: 0 !important;
|
||||
color: black;
|
||||
}
|
||||
.logo img[data-v-cd2b8d62] {
|
||||
width: 768px;
|
||||
max-width: 90vw;
|
||||
display: block;
|
||||
-webkit-filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)) drop-shadow(0 8px 10px rgba(0,0,0,.14)) drop-shadow(0 3px 14px rgba(0,0,0,.12));
|
||||
filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)) drop-shadow(0 8px 10px rgba(0,0,0,.14)) drop-shadow(0 3px 14px rgba(0,0,0,.12));
|
||||
}
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-weight: bold;
|
||||
}
|
||||
h2 {
|
||||
color: red;
|
||||
}
|
||||
#container[data-v-cd2b8d62] {
|
||||
padding-bottom: 48px;
|
||||
height: 100vh;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
font-family: Roboto,sans-serif;
|
||||
}
|
||||
img{
|
||||
margin-top: -25em;
|
||||
margin-left: 0em;
|
||||
font-size: 70%;
|
||||
}
|
||||
.box{
|
||||
width: 25%;
|
||||
height: 55%;
|
||||
padding: 40px;
|
||||
position: absolute;
|
||||
top: 56%;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
text-align: center;
|
||||
margin-bottom: 0px;
|
||||
background-color: #ededed;
|
||||
border-radius: 24px;
|
||||
box-shadow: 10px 10px 15px
|
||||
}
|
||||
.box h1{
|
||||
color: black;
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
}
|
||||
.box input[type = "text"],.box input[type = "password"]{
|
||||
border:0;
|
||||
background: none;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
border: 2px solid #565656;
|
||||
padding: 14px 18px;
|
||||
width: 75%;
|
||||
outline: none;
|
||||
color: black;
|
||||
border-radius: 24px;
|
||||
transition: 0.25s;
|
||||
}
|
||||
.box input[type = "text"]:focus,.box input[type = "password"]:focus{
|
||||
width: 90%;
|
||||
border-color: #2ecc71;
|
||||
}
|
||||
.box input[type = "submit"]{
|
||||
border:0;
|
||||
background: none;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
border: 2px solid #2ecc71;
|
||||
padding: 14px 40px;
|
||||
outline: none;
|
||||
color: black;
|
||||
border-radius: 24px;
|
||||
transition: 0.25s;
|
||||
cursor: pointer;
|
||||
}
|
||||
.box input[type = "submit"]:hover{
|
||||
background: #2ecc71;
|
||||
}
|
||||
.icon {
|
||||
width: 50px;
|
||||
margin: 0px;
|
||||
margin-left: 0.6%;
|
||||
margin-right: 0.6%;
|
||||
padding: 0px;
|
||||
}
|
||||
#icons
|
||||
{
|
||||
position: relative;
|
||||
display: inline;
|
||||
bottom: -50%;
|
||||
margin-left: 0em;
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
font-size: 80%;
|
||||
}
|
||||
a {
|
||||
font-size: 120%;
|
||||
color: blue;
|
||||
margin-bottom: 5%;
|
||||
}
|
||||
#help-box {
|
||||
font-size: 200%;
|
||||
}
|
||||
p{
|
||||
size: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
height: 48px;
|
||||
margin-bottom: 15px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
label{
|
||||
size: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-size: 0px;
|
||||
}
|
||||
#button{
|
||||
margin-top: 4%;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
#con{
|
||||
margin-bottom: 12.5%;
|
||||
}
|
BIN
mypage/files/img/27146352.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
39
mypage/files/img/discord.e9241a54.svg
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
height="200"
|
||||
width="200"
|
||||
version="1.1"
|
||||
viewBox="0 0 200 200"
|
||||
id="Layer_1">
|
||||
<metadata
|
||||
id="metadata13">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs11" />
|
||||
<style
|
||||
id="style2">.st0{fill:#FFFFFF;}</style>
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path4"
|
||||
d="m 81.9,83.9 c -5.7,0 -10.2,5 -10.2,11.1 0,6.1 4.6,11.1 10.2,11.1 5.7,0 10.2,-5 10.2,-11.1 0.1,-6.1 -4.5,-11.1 -10.2,-11.1 z m 36.5,0 c -5.7,0 -10.2,5 -10.2,11.1 0,6.1 4.6,11.1 10.2,11.1 5.7,0 10.2,-5 10.2,-11.1 0,-6.1 -4.5,-11.1 -10.2,-11.1 z"
|
||||
class="st0" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path6"
|
||||
d="M 167,0 H 33 C 21.7,0 12.5,9.2 12.5,20.6 v 135.2 c 0,11.4 9.2,20.6 20.5,20.6 h 113.4 l -5.3,-18.5 12.8,11.9 12.1,11.2 21.5,19 V 20.6 C 187.5,9.2 178.3,0 167,0 Z m -38.6,130.6 c 0,0 -3.6,-4.3 -6.6,-8.1 13.1,-3.7 18.1,-11.9 18.1,-11.9 -4.1,2.7 -8,4.6 -11.5,5.9 -5,2.1 -9.8,3.5 -14.5,4.3 -9.6,1.8 -18.4,1.3 -25.9,-0.1 -5.7,-1.1 -10.6,-2.7 -14.7,-4.3 -2.3,-0.9 -4.8,-2 -7.3,-3.4 -0.3,-0.2 -0.6,-0.3 -0.9,-0.5 -0.2,-0.1 -0.3,-0.2 -0.4,-0.3 -1.8,-1 -2.8,-1.7 -2.8,-1.7 0,0 4.8,8 17.5,11.8 -3,3.8 -6.7,8.3 -6.7,8.3 C 50.6,129.9 42.2,115.4 42.2,115.4 42.2,83.2 56.6,57.1 56.6,57.1 71,46.3 84.7,46.6 84.7,46.6 l 1,1.2 c -18,5.2 -26.3,13.1 -26.3,13.1 0,0 2.2,-1.2 5.9,-2.9 10.7,-4.7 19.2,-6 22.7,-6.3 0.6,-0.1 1.1,-0.2 1.7,-0.2 6.1,-0.8 13,-1 20.2,-0.2 9.5,1.1 19.7,3.9 30.1,9.6 0,0 -7.9,-7.5 -24.9,-12.7 l 1.4,-1.6 c 0,0 13.7,-0.3 28.1,10.5 0,0 14.4,26.1 14.4,58.3 0,0 -8.5,14.5 -30.6,15.2 z"
|
||||
class="st0" />
|
||||
</svg>
|
After Width: | Height: | Size: 2 KiB |
31
mypage/files/img/email.ce588d18.svg
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="svg4"
|
||||
viewBox="0 0 22 22"
|
||||
height="22"
|
||||
width="22"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M 19,7 11,12 3,7 V 5 l 8,5 8,-5 M 19,3 H 3 C 1.89,3 1,3.89 1,5 v 12 a 2,2 0 0 0 2,2 h 16 a 2,2 0 0 0 2,-2 V 5 C 21,3.89 20.1,3 19,3 Z" />
|
||||
</svg>
|
After Width: | Height: | Size: 896 B |
66
mypage/files/img/github.9c30fa5a.svg
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="11.493064mm"
|
||||
height="11.209469mm"
|
||||
viewBox="0 0 11.493064 11.209469"
|
||||
version="1.1"
|
||||
id="svg400"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="github.svg">
|
||||
<defs
|
||||
id="defs394" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="11.2"
|
||||
inkscape:cx="6.8325799"
|
||||
inkscape:cy="15.756873"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1280"
|
||||
inkscape:window-height="955"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0" />
|
||||
<metadata
|
||||
id="metadata397">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-80.431998,-106.18693)">
|
||||
<path
|
||||
d="m 86.178042,106.18693 c -3.173236,0 -5.746044,2.57281 -5.746044,5.74675 0,2.53894 1.646414,4.69265 3.929944,5.45289 0.287514,0.0526 0.392289,-0.12488 0.392289,-0.27728 0,-0.13618 -0.0049,-0.49777 -0.0078,-0.9772 -1.598436,0.34713 -1.935692,-0.77047 -1.935692,-0.77047 -0.261408,-0.66392 -0.638174,-0.84066 -0.638174,-0.84066 -0.521759,-0.35631 0.03951,-0.34925 0.03951,-0.34925 0.576791,0.0406 0.88018,0.59231 0.88018,0.59231 0.512586,0.87806 1.345142,0.62442 1.67252,0.47731 0.05221,-0.37112 0.200377,-0.62442 0.364772,-0.768 -1.275997,-0.14499 -2.617611,-0.63817 -2.617611,-2.84021 0,-0.62724 0.224014,-1.14018 0.591608,-1.54199 -0.05927,-0.14535 -0.256469,-0.72955 0.05609,-1.52083 0,0 0.4826,-0.15452 1.580444,0.58914 0.458258,-0.12771 0.950031,-0.19121 1.438628,-0.19332 0.487891,0.002 0.979664,0.0656 1.438628,0.19332 1.097138,-0.74366 1.57868,-0.58914 1.57868,-0.58914 0.313619,0.79128 0.116417,1.37548 0.05715,1.52083 0.3683,0.40181 0.590903,0.91475 0.590903,1.54199 0,2.20768 -1.343731,2.69345 -2.623961,2.83562 0.206375,0.17745 0.390172,0.52811 0.390172,1.06433 0,0.768 -0.0071,1.38783 -0.0071,1.57622 0,0.15381 0.103364,0.33267 0.395111,0.27657 2.28177,-0.76164 3.926773,-2.91394 3.926773,-5.45218 0,-3.17394 -2.573161,-5.74675 -5.747103,-5.74675"
|
||||
style="display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.35277775"
|
||||
id="path198"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.1 KiB |
23
mypage/files/img/paypal.9fd1b9bc.svg
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xml:space="preserve"
|
||||
viewBox="0 0 128 128"
|
||||
version="1.1"
|
||||
id="Social_Icons"
|
||||
enable-background="new 0 0 128 128"><metadata
|
||||
id="metadata12"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs10" /><g
|
||||
style="fill:#ffffff;stroke:#ff0000"
|
||||
id="_x33__stroke"><g
|
||||
style="fill:none;stroke:#ff0000"
|
||||
id="PayPal_1_"><path
|
||||
style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd;stroke:none"
|
||||
id="PayPal"
|
||||
d="M 114.136,37.621 C 108.386,64.141 90.057,78.176 60.97,78.176 H 50.422 L 42.556,128 h 17.108 c 2.472,0 4.572,-1.784 4.959,-4.204 l 0.202,-1.056 3.935,-24.728 0.254,-1.364 c 0.383,-2.42 2.488,-4.204 4.955,-4.204 h 3.125 c 20.212,0 36.042,-8.148 40.667,-31.708 1.855,-9.455 0.963,-17.383 -3.625,-23.115 z M 102.431,9.652 C 96.456,2.896 85.658,0 71.84,0 H 31.746 C 28.92,0 26.516,2.04 26.073,4.804 L 9.376,109.85 c -0.331,2.072 1.286,3.948 3.403,3.948 h 24.753 l 6.217,-39.119 -0.194,1.224 c 0.444,-2.764 2.83,-4.804 5.653,-4.804 H 60.97 c 23.111,0 41.203,-9.312 46.489,-36.247 0.157,-0.8 0.411,-2.332 0.411,-2.332 1.5,-9.968 -0.012,-16.732 -5.439,-22.868 z" /></g></g></svg>
|
After Width: | Height: | Size: 1.6 KiB |
BIN
mypage/files/img/wallpaper.jpg
Normal file
After Width: | Height: | Size: 203 KiB |
129
mypage/files/img/wulkanowy-full-flat.4ff8222a.svg
Normal file
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
height="1024"
|
||||
width="3584"
|
||||
xml:space="preserve"
|
||||
viewBox="0 0 3584 1024"
|
||||
y="0px"
|
||||
x="0px"
|
||||
id="Layer_1"
|
||||
version="1.1"
|
||||
sodipodi:docname="wulkanowy-full-flat.svg"
|
||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
id="namedview25"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.33928571"
|
||||
inkscape:cx="1860.4549"
|
||||
inkscape:cy="586.56969"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="text8460" /><metadata
|
||||
id="metadata15"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs13" /><style
|
||||
id="style2"
|
||||
type="text/css">
|
||||
.st0{fill:#D32F2F;}
|
||||
.st1{fill:#AD2A2A;}
|
||||
.st2{fill:#FFFFFF;}
|
||||
</style><g
|
||||
style="display:none"
|
||||
id="layer4"><rect
|
||||
style="display:inline;fill:#d32f2f;stroke-width:1.02195609"
|
||||
height="1024"
|
||||
width="3584"
|
||||
class="st0"
|
||||
y="0"
|
||||
x="0"
|
||||
id="XMLID_57_" /></g><g
|
||||
style="display:none"
|
||||
id="layer3"><path
|
||||
id="path18992"
|
||||
d="M 3046.8164,390.66602 3134.3164,542 v 91.33398 L 3524.9824,1024 H 3584 V 732.18359 L 3242.4824,390.66602 h -23.666 l -53.0352,94.63086 -94.6308,-94.63086 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18990"
|
||||
d="m 2746.9824,390.66602 62,242.66796 L 3199.6484,1024 H 3584 V 940.68359 L 3033.9824,390.66602 h -21 l -21.9043,90.92773 -90.9277,-90.92773 h -18.5 l -25.4043,88.26367 -88.2637,-88.26367 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18988"
|
||||
d="m 2620.8164,387.33398 c -18.6667,0 -35.1667,4.60982 -49.5,13.83204 -14.3333,9.11111 -25.4451,22.22287 -33.334,39.33398 -7.7778,17 -11.666,36.5549 -11.666,58.66602 v 25 c 0,34.44444 8.7216,61.83463 26.166,82.16796 L 2970.1484,1024 h 323.168 l -623.166,-623.16602 c -14.2222,-9 -30.6673,-13.5 -49.334,-13.5 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18984"
|
||||
d="M 2293.4824,390.66602 V 633.33398 L 2684.1484,1024 h 423.336 l -633.334,-633.33398 h -20.334 v 139.66601 l -139.666,-139.66601 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18978"
|
||||
d="M 1864.8164,390.66602 V 633.33398 L 2255.4824,1024 h 413.334 l -633.334,-633.33398 h -25.832 l -60.584,63.75 -63.75,-63.75 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18976"
|
||||
d="M 1684.8164,390.66602 V 633.33398 L 2075.4824,1024 h 263.334 l -633.334,-633.33398 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path19059"
|
||||
d="m 1133.6504,390.66602 62,242.66796 L 1586.3164,1024 h 467.668 l -633.334,-633.33398 h -21 l -21.9043,90.92773 -90.9277,-90.92773 h -18.5 l -25.4043,88.26367 -88.2637,-88.26367 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18966"
|
||||
d="m 1456.4824,390.66602 v 167.16796 c 0.5556,24.66667 8.5007,44 23.834,58 L 1888.4824,1024 h 372.168 l -633.334,-633.33398 h -20.666 V 520.5 l -129.834,-129.83398 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="path18982"
|
||||
d="M 2146.3164,390.66602 2054.4824,633.33398 2445.1484,1024 h 354.002 l -633.334,-633.33398 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ad2a2a;fill-opacity:1;stroke:none" /><path
|
||||
id="XMLID_64_"
|
||||
d="M 637.15234,214.95703 487.75,364.35742 466.01562,386.0918 c 0.31273,0.31271 0.54872,0.54666 0.70508,0.85937 0.0782,0.23454 0.23432,0.54671 0.3125,0.78125 0.31272,0.54726 0.47071,1.17339 0.47071,1.79883 0.0782,0.54726 -0.0799,1.01725 -0.31446,1.48633 -0.23454,0.54725 -0.70285,1.40597 -1.09375,1.79687 l 150.8086,149.71485 -23.68946,23.6875 -12.74414,-12.74219 -13.44726,-13.44727 -78.80469,-78.80664 -11.17969,-11.17968 -7.5039,-7.50391 -35.41602,-35.17969 -3.08984,-0.98047 -4.33594,4.26367 v 0.46876 c 0,7.34888 0.38998,15.00865 -1.48633,22.20117 -0.85998,3.28355 -2.34444,6.25595 -4.14258,8.91406 -0.15636,0.15636 -0.23627,0.23426 -0.31445,0.39062 -1.87631,2.57993 -4.06471,4.84619 -6.48828,6.95704 -5.3944,4.53442 -11.25752,8.67896 -17.27734,12.50976 -0.15637,0.0782 -0.23427,0.1562 -0.39063,0.23438 -2.11085,1.40723 -4.3012,2.7354 -6.49023,4.06445 -8.91248,5.39439 -18.37192,10.08772 -28.37891,13.13672 -1.25087,0.31272 -2.42317,-0.001 -3.36133,-0.70508 l -6.01953,5.94141 c 1.25087,0.62543 2.03136,1.87776 1.875,3.51953 -10e-6,0.15636 -0.0762,0.23231 -0.0762,0.38867 0,0.0782 -0.0781,0.23628 -0.0781,0.31445 -1.32905,4.45624 -2.34505,8.98897 -3.2832,13.60156 -0.15636,0.70363 -0.23622,1.33154 -0.39258,2.03516 -0.85997,4.37806 -1.64209,8.83288 -2.3457,13.21094 0.23453,5.3944 0.39263,11.0234 0.31445,16.65234 v 0.39258 c -0.0782,7.66161 -0.78373,15.32114 -2.8164,22.51367 -2.26721,8.28704 -6.64376,15.63728 -10.55274,23.22071 -0.0782,0.15636 -0.15815,0.23426 -0.23633,0.39062 -1.25088,2.42357 -2.49924,4.92399 -3.59375,7.50391 -4.84714,11.33605 -7.42749,23.92328 -10.55468,35.88476 -0.23454,0.70362 -0.39046,1.48578 -0.625,2.26758 0,0.15636 -0.0801,0.23427 -0.0801,0.39063 -2.97082,11.10151 -6.09819,22.28173 -10.94532,32.75781 -1.40724,2.97082 -2.81531,5.86322 -4.3789,8.75586 -0.15636,0.23454 -0.23231,0.46858 -0.38867,0.70312 -0.62544,1.09451 -1.25152,2.26871 -1.87696,3.44141 -0.0782,0.15636 -0.15619,0.23426 -0.23437,0.39062 -3.51809,6.25438 -7.27098,12.43118 -10.78906,18.68555 -5.0035,8.8343 -8.99075,18.13635 -13.83789,27.04883 -0.0782,0.15636 -0.1562,0.23426 -0.23438,0.39062 -0.70362,1.32905 -1.48579,2.65728 -2.26758,3.98633 -5.0035,8.20887 -10.63256,16.0279 -16.57422,23.61133 -0.15635,0.15636 -0.23426,0.3124 -0.39062,0.46875 -0.7818,1.01634 -1.48578,1.95443 -2.26758,2.89258 -3.90898,4.92532 -7.97378,9.85009 -11.96094,14.77539 -0.0782,0.15637 -0.23432,0.23622 -0.3125,0.39258 -8.75612,10.71061 -17.35628,21.49761 -24.54883,33.30273 0,0.70362 -0.15602,1.33159 -0.46874,1.95703 -1.25087,2.42357 -2.65734,4.68971 -3.90821,7.11328 -0.0782,0.15636 0.62511,1.24989 0.46875,1.40625 L 429.86133,1024 H 1463.0215 L 661.85547,222.92969 c -0.93816,2.11087 -5.23681,1.40935 -7.34766,-0.23242 -1.71995,-1.32906 -3.12603,-3.05147 -4.45508,-4.84961 -0.62544,-0.31271 -1.25168,-0.62288 -1.64257,-0.85743 -2.89265,-1.40723 -6.09933,-1.48632 -9.30469,-1.48632 -0.7818,-0.0782 -1.40588,-0.23416 -1.95313,-0.54688 z m -206.12304,191.41992 0.11914,-0.11523 -0.23438,0.0781 z"
|
||||
style="display:inline;fill:#ad2a2a;stroke-width:0.78179646" /></g><g
|
||||
style="display:inline"
|
||||
id="layer2"><path
|
||||
style="fill:#ffffff;stroke-width:0.78179646"
|
||||
d="m 385.17894,776.98989 c 0.62544,2.03267 0.31272,4.2217 -0.7818,6.01983 l -15.08867,24.47023 c -1.48541,2.42357 -4.2217,3.98716 -7.19253,3.98716 H 220.92351 c -6.56709,0 -10.55425,-6.8798 -7.03616,-12.03966 l 90.92292,-133.92173 c 0.54726,-0.78179 0.85997,-1.64177 1.09451,-2.50174 l 41.66975,-177.93687 c 0.46908,-2.11085 1.87631,-3.90898 3.90898,-5.00349 l 56.4457,-30.95914 c 2.03267,-1.09452 3.43991,-2.89265 3.90899,-5.08168 l 7.58342,-33.06999 c 1.56359,-6.8798 11.41423,-8.36522 15.32321,-2.34538 l 2.73629,4.37806 c 1.17269,1.87631 1.48541,4.2217 0.70362,6.33255 l -51.44221,148.69767 c -0.3909,1.1727 -0.54726,2.42357 -0.31272,3.67445 l 12.82146,71.14347 c 0.23454,1.40723 0.0782,2.89265 -0.54725,4.2217 l -30.56824,68.64172 c -0.70362,1.64178 -0.85998,3.43991 -0.31272,5.08168 z m 417.94836,34.47722 h -97.25548 c -2.81446,0 -5.39439,-1.40723 -6.95798,-3.59626 l -65.43636,-92.01744 c -0.3909,-0.62543 -0.7818,-1.25087 -1.01634,-1.95449 L 600.01659,619.1452 c -0.62544,-1.87631 -2.11085,-3.51809 -3.98716,-4.45624 L 516.59891,574.5828 c -2.18903,-1.09451 -3.75262,-3.12718 -4.2217,-5.39439 l -11.72694,-58.16566 c -0.15636,-0.93815 -0.54726,-1.87631 -1.1727,-2.73628 L 472.5056,468.64939 c -1.48542,-2.18903 -1.71995,-4.84714 -0.62544,-7.19253 l 16.41772,-35.10266 c 1.25088,-2.6581 3.98717,-4.45624 7.11435,-4.6126 l 30.49006,-1.79813 c 1.79813,-0.0782 3.43991,-0.70361 4.76896,-1.79813 l 22.43756,-17.43406 c 4.2217,-3.28354 10.63243,-1.87631 12.89964,2.73629 l 77.31966,157.29744 c 0.31272,0.70361 0.54726,1.40723 0.70362,2.11085 l 9.53792,63.24733 c 0.23453,1.48541 0.85997,2.81446 1.87631,3.90898 l 154.01389,168.5553 c 4.53442,5.0035 0.70362,12.89964 -6.33255,12.89964 z M 424.97238,319.32628 c 0,-17.90314 11.33604,-33.30453 27.59741,-40.49706 -1.1727,-1.95449 -1.87631,-4.06534 -1.87631,-6.33255 0,-8.67794 10.00699,-15.71411 22.2812,-15.71411 0.31271,0 0.54725,0 0.85997,0 5.08168,-8.4434 14.77595,-14.15051 25.87746,-14.15051 0.7818,0 1.5636,0 2.34539,0.0782 1.01634,0.0782 2.03267,-0.3909 2.57993,-1.1727 8.20886,-12.50874 29.00465,-21.42122 53.31851,-21.42122 8.99066,0 17.51224,1.25088 25.09567,3.36173 1.79813,-2.97083 5.78529,-5.0035 10.39789,-5.0035 5.23804,0 9.69428,2.65811 11.02333,6.33255 6.41073,-7.42707 17.2777,-12.2742 29.63008,-12.2742 19.70127,0 35.64992,12.43056 35.64992,27.75377 0,1.87631 -0.23454,3.67444 -0.70362,5.47257 -0.31271,1.25088 0.3909,2.50175 1.71996,2.97083 12.58692,4.6126 21.1085,13.36872 21.1085,23.37571 0,11.41423 -11.02333,21.18669 -26.58108,25.01749 -1.25087,0.31272 -2.03267,1.40723 -2.03267,2.57993 0,0.0782 0,0.15635 0,0.23453 0,8.8343 -8.75612,16.10501 -20.01399,16.88681 0.0782,0.3909 0.0782,0.78179 0.0782,1.25087 0,16.96498 -32.28819,30.64642 -72.08163,30.64642 -8.59976,0 -16.80862,-0.62544 -24.39204,-1.79813 0,0.15636 0,0.23454 0,0.3909 0,7.03616 -9.06884,12.74328 -20.17035,12.74328 -0.62544,0 -1.1727,0 -1.71995,-0.0782 0.78179,1.71995 1.17269,3.51808 1.17269,5.39439 0,10.94515 -13.8378,19.77945 -30.95914,19.77945 -1.87631,0 -3.67444,-0.0782 -5.47257,-0.31272 -1.40724,-0.15635 -2.73629,0.70362 -3.04901,2.03268 -1.48541,5.47257 -6.25437,9.45973 -11.96148,9.45973 -6.87981,0 -12.35239,-5.86347 -12.35239,-13.056 0,-3.36172 1.1727,-6.41073 3.12719,-8.67794 0.70362,-0.78179 0.93816,-1.87631 0.46908,-2.81447 -1.09452,-2.03267 -1.5636,-4.14352 -1.5636,-6.41073 v 0 c 0,-1.25087 -1.01633,-2.26721 -2.2672,-2.57992 -21.18669,-4.69078 -37.13533,-22.35938 -37.13533,-43.46788 z m 179.50045,424.6718 c 0.31272,0.93816 0.3909,1.87632 0.3909,2.89265 l -4.53442,57.30568 c -0.31272,4.06534 -3.90898,7.2707 -8.28704,7.2707 H 445.68998 c -3.12718,0 -6.01983,-1.79813 -7.42707,-4.37806 l -24.1575,-44.87511 c -0.15636,-0.23454 -0.23454,-0.46908 -0.31272,-0.70362 l -22.75028,-55.11664 c -0.85997,-1.95449 -0.70361,-4.2217 0.23454,-6.09802 l 37.76077,-73.87976 c 0.93815,-1.79813 1.09451,-3.90898 0.3909,-5.78529 l -18.4504,-51.12948 c -0.62544,-1.79814 -0.54726,-3.83081 0.23454,-5.55076 l 30.80278,-65.59272 c 3.12718,-6.56709 13.36872,-6.01983 15.55775,0.85998 l 9.61609,29.86462 29.31737,78.49236 c 0.78179,2.18903 2.6581,3.90898 5.00349,4.69078 l 62.54372,21.34304 c 2.42357,0.85998 4.29988,2.65811 5.08167,4.92532 z"
|
||||
id="XMLID_42_" /><g
|
||||
id="text4752"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
|
||||
aria-label="WULKANOWY" /></g><g
|
||||
style="display:inline"
|
||||
id="layer1"><g
|
||||
aria-label="WULKANOWY"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text8460"><path
|
||||
d="m 1198.9832,567.83331 7.5,37.66667 9.1666,-36 52.6667,-178.83334 h 18.5 l 52,178.83334 9,36.33333 8,-38 43.8333,-177.16667 h 21 l -62.1666,242.66667 h -19.6667 l -55,-189.83334 -6.1667,-24 -6,24 -56.3333,189.83334 h -19.6667 l -62,-242.66667 h 21 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4764" /><path
|
||||
d="m 1627.3165,390.66664 v 165.66667 q -0.1667,24.5 -10.8333,42.66667 -10.6667,18.16667 -30.1667,28 -19.3333,9.66667 -44.5,9.66667 -38.3333,0 -61.5,-20.83334 -23,-21 -23.8333,-58 V 390.66664 h 20.3333 v 164.16667 q 0,30.66667 17.5,47.66667 17.5,16.83333 47.5,16.83333 30,0 47.3333,-17 17.5,-17 17.5,-47.33333 V 390.66664 Z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4766" /><path
|
||||
d="m 1705.4832,615.99998 h 119.8333 v 17.33333 h -140.5 V 390.66664 h 20.6667 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4768" /><path
|
||||
d="m 1919.4832,512.83331 -34.1667,33.66667 v 86.83333 h -20.5 V 390.66664 h 20.5 v 130.83334 l 124.3333,-130.83334 h 25.8334 l -101.6667,108 109.5,134.66667 h -25 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4770" /><path
|
||||
d="m 2211.1498,565.33331 h -110.1666 l -25,68 h -21.5 l 91.8333,-242.66667 h 19.5 l 91.8333,242.66667 h -21.3333 z m -103.8333,-17.5 h 97.3333 l -48.6666,-132.16667 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4772" /><path
|
||||
d="m 2474.1499,633.33331 h -20.5 l -139.5,-207.66667 v 207.66667 h -20.6667 V 390.66664 h 20.6667 l 139.6666,207.83334 V 390.66664 h 20.3334 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4774" /><path
|
||||
d="m 2715.4832,525.16664 q 0,33.5 -11.6667,58.83334 -11.5,25.33333 -33,39 -21.5,13.66667 -49.6667,13.66667 -42.5,0 -68.6666,-30.33334 -26.1667,-30.5 -26.1667,-82.16667 v -25 q 0,-33.16667 11.6667,-58.66667 11.8333,-25.66666 33.3333,-39.33333 21.5,-13.83333 49.5,-13.83333 28,0 49.3333,13.5 21.5,13.5 33.1667,38.16666 11.6667,24.66667 12.1667,57.16667 z m -20.5,-26.33333 q 0,-43.83334 -19.8334,-68.66667 -19.8333,-24.83333 -54.3333,-24.83333 -33.8333,0 -54,25 -20,24.83333 -20,69.5 v 25.33333 q 0,43.16667 20,68.50001 20,25.16666 54.3333,25.16666 34.8334,0 54.3334,-24.83333 19.5,-25 19.5,-69.5 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4776" /><path
|
||||
d="m 2812.3165,567.83331 7.5,37.66667 9.1667,-36 52.6667,-178.83334 h 18.5 l 52,178.83334 9,36.33333 8,-38 43.8333,-177.16667 h 21 l -62.1667,242.66667 h -19.6666 l -55,-189.83334 -6.1667,-24 -6,24 -56.3333,189.83334 h -19.6667 l -62,-242.66667 h 21 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4778" /><path
|
||||
d="m 3144.6499,522.99998 74.1666,-132.33334 h 23.6667 l -87.6667,151.33334 v 91.33333 h -20.5 v -91.33333 l -87.5,-151.33334 h 24.3334 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.33334351px;font-family:Roboto;-inkscape-font-specification:'Roboto Light';fill:#ffffff"
|
||||
id="path4780" /></g></g></svg>
|
After Width: | Height: | Size: 18 KiB |
68
mypage/files/img/wulkanowy_only_logo.svg
Normal file
|
@ -0,0 +1,68 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg91"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
sodipodi:docname="wulkanowy_only_logo.svg">
|
||||
<defs
|
||||
id="defs85" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.35"
|
||||
inkscape:cx="400"
|
||||
inkscape:cy="560"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-rotation="0"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1677"
|
||||
inkscape:window-height="1030"
|
||||
inkscape:window-x="192"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata88">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Warstwa 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
style="display:inline"
|
||||
id="layer2"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-30.389283,3.6285705)">
|
||||
<path
|
||||
style="fill:#ffffff;stroke-width:0.781796"
|
||||
d="m 385.17894,776.98989 c 0.62544,2.03267 0.31272,4.2217 -0.7818,6.01983 l -15.08867,24.47023 c -1.48541,2.42357 -4.2217,3.98716 -7.19253,3.98716 H 220.92351 c -6.56709,0 -10.55425,-6.8798 -7.03616,-12.03966 l 90.92292,-133.92173 c 0.54726,-0.78179 0.85997,-1.64177 1.09451,-2.50174 l 41.66975,-177.93687 c 0.46908,-2.11085 1.87631,-3.90898 3.90898,-5.00349 l 56.4457,-30.95914 c 2.03267,-1.09452 3.43991,-2.89265 3.90899,-5.08168 l 7.58342,-33.06999 c 1.56359,-6.8798 11.41423,-8.36522 15.32321,-2.34538 l 2.73629,4.37806 c 1.17269,1.87631 1.48541,4.2217 0.70362,6.33255 l -51.44221,148.69767 c -0.3909,1.1727 -0.54726,2.42357 -0.31272,3.67445 l 12.82146,71.14347 c 0.23454,1.40723 0.0782,2.89265 -0.54725,4.2217 l -30.56824,68.64172 c -0.70362,1.64178 -0.85998,3.43991 -0.31272,5.08168 z m 417.94836,34.47722 h -97.25548 c -2.81446,0 -5.39439,-1.40723 -6.95798,-3.59626 l -65.43636,-92.01744 c -0.3909,-0.62543 -0.7818,-1.25087 -1.01634,-1.95449 L 600.01659,619.1452 c -0.62544,-1.87631 -2.11085,-3.51809 -3.98716,-4.45624 L 516.59891,574.5828 c -2.18903,-1.09451 -3.75262,-3.12718 -4.2217,-5.39439 l -11.72694,-58.16566 c -0.15636,-0.93815 -0.54726,-1.87631 -1.1727,-2.73628 L 472.5056,468.64939 c -1.48542,-2.18903 -1.71995,-4.84714 -0.62544,-7.19253 l 16.41772,-35.10266 c 1.25088,-2.6581 3.98717,-4.45624 7.11435,-4.6126 l 30.49006,-1.79813 c 1.79813,-0.0782 3.43991,-0.70361 4.76896,-1.79813 l 22.43756,-17.43406 c 4.2217,-3.28354 10.63243,-1.87631 12.89964,2.73629 l 77.31966,157.29744 c 0.31272,0.70361 0.54726,1.40723 0.70362,2.11085 l 9.53792,63.24733 c 0.23453,1.48541 0.85997,2.81446 1.87631,3.90898 l 154.01389,168.5553 c 4.53442,5.0035 0.70362,12.89964 -6.33255,12.89964 z M 424.97238,319.32628 c 0,-17.90314 11.33604,-33.30453 27.59741,-40.49706 -1.1727,-1.95449 -1.87631,-4.06534 -1.87631,-6.33255 0,-8.67794 10.00699,-15.71411 22.2812,-15.71411 0.31271,0 0.54725,0 0.85997,0 5.08168,-8.4434 14.77595,-14.15051 25.87746,-14.15051 0.7818,0 1.5636,0 2.34539,0.0782 1.01634,0.0782 2.03267,-0.3909 2.57993,-1.1727 8.20886,-12.50874 29.00465,-21.42122 53.31851,-21.42122 8.99066,0 17.51224,1.25088 25.09567,3.36173 1.79813,-2.97083 5.78529,-5.0035 10.39789,-5.0035 5.23804,0 9.69428,2.65811 11.02333,6.33255 6.41073,-7.42707 17.2777,-12.2742 29.63008,-12.2742 19.70127,0 35.64992,12.43056 35.64992,27.75377 0,1.87631 -0.23454,3.67444 -0.70362,5.47257 -0.31271,1.25088 0.3909,2.50175 1.71996,2.97083 12.58692,4.6126 21.1085,13.36872 21.1085,23.37571 0,11.41423 -11.02333,21.18669 -26.58108,25.01749 -1.25087,0.31272 -2.03267,1.40723 -2.03267,2.57993 0,0.0782 0,0.15635 0,0.23453 0,8.8343 -8.75612,16.10501 -20.01399,16.88681 0.0782,0.3909 0.0782,0.78179 0.0782,1.25087 0,16.96498 -32.28819,30.64642 -72.08163,30.64642 -8.59976,0 -16.80862,-0.62544 -24.39204,-1.79813 0,0.15636 0,0.23454 0,0.3909 0,7.03616 -9.06884,12.74328 -20.17035,12.74328 -0.62544,0 -1.1727,0 -1.71995,-0.0782 0.78179,1.71995 1.17269,3.51808 1.17269,5.39439 0,10.94515 -13.8378,19.77945 -30.95914,19.77945 -1.87631,0 -3.67444,-0.0782 -5.47257,-0.31272 -1.40724,-0.15635 -2.73629,0.70362 -3.04901,2.03268 -1.48541,5.47257 -6.25437,9.45973 -11.96148,9.45973 -6.87981,0 -12.35239,-5.86347 -12.35239,-13.056 0,-3.36172 1.1727,-6.41073 3.12719,-8.67794 0.70362,-0.78179 0.93816,-1.87631 0.46908,-2.81447 -1.09452,-2.03267 -1.5636,-4.14352 -1.5636,-6.41073 v 0 c 0,-1.25087 -1.01633,-2.26721 -2.2672,-2.57992 -21.18669,-4.69078 -37.13533,-22.35938 -37.13533,-43.46788 z m 179.50045,424.6718 c 0.31272,0.93816 0.3909,1.87632 0.3909,2.89265 l -4.53442,57.30568 c -0.31272,4.06534 -3.90898,7.2707 -8.28704,7.2707 H 445.68998 c -3.12718,0 -6.01983,-1.79813 -7.42707,-4.37806 l -24.1575,-44.87511 c -0.15636,-0.23454 -0.23454,-0.46908 -0.31272,-0.70362 l -22.75028,-55.11664 c -0.85997,-1.95449 -0.70361,-4.2217 0.23454,-6.09802 l 37.76077,-73.87976 c 0.93815,-1.79813 1.09451,-3.90898 0.3909,-5.78529 l -18.4504,-51.12948 c -0.62544,-1.79814 -0.54726,-3.83081 0.23454,-5.55076 l 30.80278,-65.59272 c 3.12718,-6.56709 13.36872,-6.01983 15.55775,0.85998 l 9.61609,29.86462 29.31737,78.49236 c 0.78179,2.18903 2.6581,3.90898 5.00349,4.69078 l 62.54372,21.34304 c 2.42357,0.85998 4.29988,2.65811 5.08167,4.92532 z"
|
||||
id="XMLID_42_" />
|
||||
<g
|
||||
id="text4752"
|
||||
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:341.333px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto Light';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
|
||||
aria-label="WULKANOWY" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.2 KiB |
6
mypage/files/main.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
function plchol()
|
||||
{
|
||||
document.getElementById("id_loginName").placeholder = "E-mail";
|
||||
document.getElementById("id_Password").placeholder = "Password";
|
||||
document.getElementById("id_Symbol").placeholder = "Symbol";
|
||||
}
|
61
mypage/files/start.css
Normal file
|
@ -0,0 +1,61 @@
|
|||
body {
|
||||
padding: 0 !important;
|
||||
height: 100vh;
|
||||
background: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.3)),to(rgba(0,0,0,.3))),url(../img/wallpaper.b24bba72.jpg);
|
||||
background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)),url(img/wallpaper.jpg);
|
||||
background-size: cover;
|
||||
background-position: 50%;
|
||||
background-attachment: fixed;
|
||||
overflow: auto;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 10px;
|
||||
margin: 0 !important;
|
||||
color: black;
|
||||
}
|
||||
.logo img[data-v-cd2b8d62] {
|
||||
width: 768px;
|
||||
max-width: 30vw;
|
||||
display: inline;
|
||||
-webkit-filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)) drop-shadow(0 8px 10px rgba(0,0,0,.14)) drop-shadow(0 3px 14px rgba(0,0,0,.12));
|
||||
filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)) drop-shadow(0 8px 10px rgba(0,0,0,.14)) drop-shadow(0 3px 14px rgba(0,0,0,.12));
|
||||
}
|
||||
#container{
|
||||
width: 100%;
|
||||
}
|
||||
#menu{
|
||||
width: 95%;
|
||||
height: 18%;
|
||||
margin-left: 2.5%;
|
||||
border-bottom: 4px solid white;
|
||||
border-radius: 3px;
|
||||
font-family: 'Open Sans Condensed', sans-serif;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
}
|
||||
.option{
|
||||
display: inline;
|
||||
color: white;
|
||||
margin-top: 3.650431902835478167382628592617195404756384%;
|
||||
margin-right: 2.2%;
|
||||
float: right;
|
||||
}
|
||||
.content{
|
||||
overflow: auto;
|
||||
width: 85%;
|
||||
height: 60%;
|
||||
margin-top: 2%;
|
||||
opacity: 85%;
|
||||
padding: 40px;
|
||||
position: absolute;
|
||||
top: 56%;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
text-align: center;
|
||||
margin-bottom: 0px;
|
||||
background-color: #ededed;
|
||||
border-radius: 24px;
|
||||
box-shadow: 10px 10px 15px;
|
||||
font-family: 'Lora', serif;
|
||||
font-size: 200%;
|
||||
}
|
0
mypage/files/start.js
Normal file
181
mypage/files/style.css
Normal file
|
@ -0,0 +1,181 @@
|
|||
@media screen and (max-width: 768px){
|
||||
.box {
|
||||
width: 60% !important;
|
||||
height: 45% !important;
|
||||
}
|
||||
.logo img[data-v-cd2b8d62] {
|
||||
margin: 0 !important;
|
||||
margin-top: -55% !important;
|
||||
}
|
||||
#icons
|
||||
{
|
||||
bottom: -36% !important;
|
||||
size: 70% !important;
|
||||
margin: 0 !important;
|
||||
margin-top: 20% !important;
|
||||
}
|
||||
}
|
||||
body {
|
||||
height: 100vh;
|
||||
background: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.3)),to(rgba(0,0,0,.3))),url(../img/wallpaper.b24bba72.jpg);
|
||||
background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)),url(img/wallpaper.jpg);
|
||||
background-size: cover;
|
||||
background-position: 50%;
|
||||
background-attachment: fixed;
|
||||
overflow: auto;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 10px;
|
||||
margin: 0 !important;
|
||||
color: black;
|
||||
}
|
||||
.logo img[data-v-cd2b8d62] {
|
||||
width: 768px;
|
||||
max-width: 90vw;
|
||||
display: block;
|
||||
-webkit-filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)) drop-shadow(0 8px 10px rgba(0,0,0,.14)) drop-shadow(0 3px 14px rgba(0,0,0,.12));
|
||||
filter: drop-shadow(0 5px 5px rgba(0,0,0,.2)) drop-shadow(0 8px 10px rgba(0,0,0,.14)) drop-shadow(0 3px 14px rgba(0,0,0,.12));
|
||||
}
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-weight: bold;
|
||||
}
|
||||
#container[data-v-cd2b8d62] {
|
||||
padding-bottom: 48px;
|
||||
height: 100vh;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
font-family: 'Lora', serif;
|
||||
}
|
||||
img{
|
||||
margin-top: -25em;
|
||||
margin-left: 0em;
|
||||
font-size: 70%;
|
||||
}
|
||||
.box{
|
||||
width: 25%;
|
||||
height: 50%;
|
||||
padding: 40px;
|
||||
position: absolute;
|
||||
top: 56%;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
text-align: center;
|
||||
margin-bottom: 0px;
|
||||
background-color: #ededed;
|
||||
border-radius: 24px;
|
||||
box-shadow: 10px 10px 15px;
|
||||
}
|
||||
.box h1{
|
||||
color: black;
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
}
|
||||
.box input[type = "text"],.box input[type = "password"]{
|
||||
border:0;
|
||||
background: none;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
border: 2px solid #565656;
|
||||
padding: 14px 18px;
|
||||
width: 75%;
|
||||
outline: none;
|
||||
color: black;
|
||||
border-radius: 24px;
|
||||
transition: 0.25s;
|
||||
}
|
||||
.box input[type = "text"]:focus,.box input[type = "password"]:focus{
|
||||
width: 90%;
|
||||
border-color: #2ecc71;
|
||||
}
|
||||
.box input[type = "submit"]{
|
||||
border:0;
|
||||
background: none;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
border: 2px solid #2ecc71;
|
||||
padding: 14px 40px;
|
||||
outline: none;
|
||||
color: black;
|
||||
border-radius: 24px;
|
||||
transition: 0.25s;
|
||||
cursor: pointer;
|
||||
}
|
||||
.box input[type = "submit"]:hover{
|
||||
background: #2ecc71;
|
||||
}
|
||||
.icon {
|
||||
width: 50px;
|
||||
margin: 0px;
|
||||
margin-left: 0.6%;
|
||||
margin-right: 0.6%;
|
||||
padding: 0px;
|
||||
}
|
||||
#icons
|
||||
{
|
||||
position: relative;
|
||||
display: inline;
|
||||
bottom: -50%;
|
||||
margin-left: 0em;
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
font-size: 80%;
|
||||
}
|
||||
a {
|
||||
font-size: 120%;
|
||||
color: blue;
|
||||
margin-bottom: 5%;
|
||||
}
|
||||
#help-box {
|
||||
font-size: 200%;
|
||||
}
|
||||
p{
|
||||
size: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
height: 48px;
|
||||
margin-bottom: 15px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
label{
|
||||
size: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-size: 0px;
|
||||
}
|
||||
#button{
|
||||
margin-top: 4%;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
#con{
|
||||
margin-bottom: 12.5%;
|
||||
}
|
||||
#imgsym{
|
||||
margin-top: 1%;
|
||||
max-width: 100vh;
|
||||
}
|
0
mypage/json/attendance.json
Normal file
0
mypage/json/attendance_lessons.json
Normal file
0
mypage/json/exams.json
Normal file
0
mypage/json/grades.json
Normal file
0
mypage/json/homework.json
Normal file
0
mypage/json/notes.json
Normal file
0
mypage/json/timetable.json
Normal file
22
mypage/manage.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env python
|
||||
"""Django's command-line utility for administrative tasks."""
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mypage.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
"available on your PYTHONPATH environment variable? Did you "
|
||||
"forget to activate a virtual environment?"
|
||||
) from exc
|
||||
execute_from_command_line(sys.argv)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
0
mypage/mypage/__init__.py
Normal file
16
mypage/mypage/asgi.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
"""
|
||||
ASGI config for mypage project.
|
||||
|
||||
It exposes the ASGI callable as a module-level variable named ``application``.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mypage.settings')
|
||||
|
||||
application = get_asgi_application()
|
134
mypage/mypage/settings.py
Normal file
|
@ -0,0 +1,134 @@
|
|||
"""
|
||||
Django settings for mypage project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 3.1.2.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/3.1/topics/settings/
|
||||
|
||||
For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/3.1/ref/settings/
|
||||
"""
|
||||
|
||||
from pathlib import Path
|
||||
import os
|
||||
import dotenv
|
||||
ROOT_PATH = os.path.dirname(__file__)
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
|
||||
|
||||
dotenv_file = os.path.join(BASE_DIR, ".env")
|
||||
if os.path.isfile(dotenv_file):
|
||||
dotenv.load_dotenv(dotenv_file)
|
||||
|
||||
SECRET_KEY = os.environ['SECRET_KEY'] # Instead of your actual secret key
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
|
||||
# My Apps
|
||||
'Wulkanowy',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'mypage.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': ['templates'],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
'django.template.context_processors.request',
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
],
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'mypage.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': BASE_DIR / 'db.sqlite3',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators
|
||||
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/3.1/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
TIME_ZONE = 'UTC'
|
||||
|
||||
USE_I18N = True
|
||||
|
||||
USE_L10N = True
|
||||
|
||||
USE_TZ = True
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
STATICFILES_DIRS = [(
|
||||
|
||||
os.path.join(BASE_DIR, 'files')
|
||||
)]
|
35
mypage/mypage/urls.py
Normal file
|
@ -0,0 +1,35 @@
|
|||
"""mypage URL Configuration
|
||||
|
||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||
https://docs.djangoproject.com/en/3.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 django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
||||
|
||||
from Wulkanowy.views import default_view, error_view, grades_view, timetable_view, exams_view, homework_view, attendance_view, messeges_view, notes_view
|
||||
|
||||
urlpatterns = [
|
||||
path('', default_view, name='home'),
|
||||
path('error/', error_view, name='error'),
|
||||
path('oceny/', grades_view, name='grades'),
|
||||
path('plan/', timetable_view, name='timetable'),
|
||||
path('sprawdziany/', exams_view, name='exams'),
|
||||
path('zadania/', homework_view, name='homework'),
|
||||
path('frekwencja/', attendance_view, name='attendance'),
|
||||
path('wiadomosci/', messeges_view, name='messeges'),
|
||||
path('uwagi/', notes_view, name='notes'),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
|
||||
urlpatterns += staticfiles_urlpatterns()
|
16
mypage/mypage/wsgi.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
"""
|
||||
WSGI config for mypage project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mypage.settings')
|
||||
|
||||
application = get_wsgi_application()
|
47
mypage/templates/form_error.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<script src="{% static 'main.js' %}"></script>
|
||||
<link rel="stylesheet" href="{% static 'error.css' %}" type="text/css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'error.css' %}" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body onload="plchol()">
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="form">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
</h1>
|
||||
<form action='' method="POST" class="box">{% csrf_token %}
|
||||
<h1>Zaloguj się na konto rodzica lub ucznia</h1>
|
||||
{{ form.as_p }}
|
||||
<div id="con"></div>
|
||||
<h2>{{ error }}</h2>
|
||||
<a href="/pomoc/">Gdzie mogę znaleźć symbol?</a>
|
||||
<input id="button" type="submit" value="Login">
|
||||
</div>
|
||||
<div id="icons">
|
||||
<a href="mailto:wulkanowyinc@gmail.com" style="text-decoration: none;">
|
||||
<img src="{% static 'img/email.ce588d18.svg' %}" class="icon" style="width: 55px;" alt="E-mail">
|
||||
</a>
|
||||
<a href="https://discord.com/invite/vccAQBr" style="text-decoration: none;">
|
||||
<img src="{% static 'img/discord.e9241a54.svg' %}" class="icon" alt="Discord">
|
||||
</a>
|
||||
<a href="https://github.com/wulkanowy/" style="text-decoration: none;">
|
||||
<img src="{% static 'img/github.9c30fa5a.svg' %}" class="icon" style="width: 55px;" alt="Github">
|
||||
</a>
|
||||
<a href="https://www.paypal.com/paypalme/wulkanowy" style="text-decoration: none;">
|
||||
<img src="{% static 'img/paypal.9fd1b9bc.svg' %}" class="icon" alt="Paypal">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
37
mypage/templates/frekwencja.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ json_data }}
|
||||
{{ json_data2 }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
47
mypage/templates/index.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<script src="{% static 'main.js' %}"></script>
|
||||
<link rel="stylesheet" href="{% static 'style.css' %}" type="text/css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'style.css' %}" />
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body onload="plchol()">
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="form">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
</h1>
|
||||
<form action='' method="POST" class="box">{% csrf_token %}
|
||||
<h1 style="font-family: Roboto,sans-serif;">Zaloguj się na konto rodzica lub ucznia</h1>
|
||||
{{ form.as_p }}
|
||||
<div id="con"></div>
|
||||
<a href="https://wulkanowy.github.io/czesto-zadawane-pytania/co-to-jest-symbol" style="font-family: Roboto,sans-serif;">Gdzie mogę znaleźć symbol?</a>
|
||||
<input id="button" type="submit" value="Login">
|
||||
</div>
|
||||
<div id="icons">
|
||||
<a href="mailto:wulkanowyinc@gmail.com" style="text-decoration: none;">
|
||||
<img src="{% static 'img/email.ce588d18.svg' %}" class="icon" style="width: 55px;" alt="E-mail">
|
||||
</a>
|
||||
<a href="https://discord.com/invite/vccAQBr" style="text-decoration: none;">
|
||||
<img src="{% static 'img/discord.e9241a54.svg' %}" class="icon" alt="Discord">
|
||||
</a>
|
||||
<a href="https://github.com/wulkanowy/" style="text-decoration: none;">
|
||||
<img src="{% static 'img/github.9c30fa5a.svg' %}" class="icon" style="width: 55px;" alt="Github">
|
||||
</a>
|
||||
<a href="https://www.paypal.com/paypalme/wulkanowy" style="text-decoration: none;">
|
||||
<img src="{% static 'img/paypal.9fd1b9bc.svg' %}" class="icon" alt="Paypal">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
mypage/templates/oceny.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ json_data }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
mypage/templates/plan.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ json_data }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
mypage/templates/sprawdziany.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ json_data }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
mypage/templates/uwagi.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ json_data }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
mypage/templates/wiadomosci.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin nibh augue, suscipit a, scelerisque sed, lacinia in, mi. Cras vel lorem. Etiam pellentesque aliquet tellus. Phasellus pharetra nulla ac diam. Quisque semper justo at risus. Donec venenatis, turpis vel hendrerit interdum, dui ligula ultricies purus, sed posuere libero dui id orci. Nam congue, pede vitae dapibus aliquet, elit magna vulputate arcu, vel tempus metus leo non est. Etiam sit amet lectus quis est congue mollis. Phasellus congue lacus eget neque. Phasellus ornare, ante vitae consectetuer consequat, purus sapien ultricies dolor, et mollis pede metus eget nisi. Praesent sodales velit quis augue. Cras suscipit, urna at aliquam rhoncus, urna quam viverra nisi, in interdum massa nibh nec erat.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
mypage/templates/zadania.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{% load static %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" href="{% static 'start.css' %}" type="text/css" />
|
||||
<link rel="stylesheet" media="min-width: 768px" href="{% static 'start.css' %}" />
|
||||
<script src="{% static 'start.js' %}"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{% static 'img/27146352.png' %}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||
<title>Wulkanowy | Aplikacja ucznia i rodzica</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-v-cd2b8d62 data-v-09be56d6 id="container">
|
||||
<div id="menu">
|
||||
<h1 data-v-cd2b8d62="" class="logo">
|
||||
<img data-v-cd2b8d62 src="{% static 'img/wulkanowy-full-flat.4ff8222a.svg' %}" alt="Wulkanowy">
|
||||
<a href="/uwagi/"><div id="uwagi" class="option">Uwagi</div></a>
|
||||
<a href="/wiadomosci/"><div id="wiadomosci" class="option">Wiadomości</div></a>
|
||||
<a href="/frekwencja/"><div id="frekwencja" class="option">Frekwencja</div></a>
|
||||
<a href="/zadania/"><div id="zadania" class="option">Zadania Domowe</div></a>
|
||||
<a href="/sprawdziany/"><div id="sprawdziany" class="option">Sprawdziany</div></a>
|
||||
<a href="/plan/"><div id="plan" class="option">Plan Lekcji</div></a>
|
||||
<a href="/oceny/"><div id="oceny" class="option">Oceny</div></a>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{ json_data }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|