-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import aiohttp_jinja2 | ||
from aiohttp_session import get_session | ||
|
||
|
||
class FrontEndHandler: | ||
|
||
@aiohttp_jinja2.template('form.html') | ||
async def form(self, request): | ||
session = await get_session(request) | ||
if 'mode' in session: | ||
mode = session['mode'] | ||
else: | ||
session['mode'] = 1 | ||
mode = 1 | ||
|
||
return {'mode': mode} | ||
|
||
def normal(self): | ||
pass | ||
|
||
def kcv(self): | ||
pass | ||
|
||
def poi(self): | ||
pass | ||
|
||
def logout(self): | ||
pass |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
aiohttp==0.18.4 | ||
aiohttp==0.19.0 | ||
aiohttp_jinja2==0.6.2 | ||
aiohttp_session==0.3.0 | ||
cffi==1.3.1 | ||
chardet==2.3.0 | ||
cryptography==1.1.1 | ||
idna==2.0 | ||
Jinja2==2.8 | ||
MarkupSafe==0.23 | ||
pyasn1==0.1.9 | ||
pycparser==2.14 | ||
six==1.10.0 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.