witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/view/Blank_page.py

23 lines
485 B
Python

from Tags import Html, Head, Body, Script
from config.Version import VERSION
class Blank_page( Html ):
def __init__( self, script = None ):
if script:
Html.__init__(
self,
Head(
Script( type = u"text/javascript", src = u"/static/js/MochiKit.js?%s" % VERSION ),
),
Body(
Script( script, type = u"text/javascript" ),
),
)
else:
Html.__init__(
self,
Head(),
Body(),
)