From 7cbcc52fa195248b8ea3313f840dc5d72c954869 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Wed, 23 Nov 2011 19:41:17 +0100 Subject: store default_page locally, make it a bit more scalable --- remote/default_page/index.html | 16 ++++++++++++++++ remote/default_page/logo.png | Bin 0 -> 60006 bytes remote/default_page/style.css | 22 ++++++++++++++++++++++ remote/projector.py | 2 +- 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 remote/default_page/index.html create mode 100644 remote/default_page/logo.png create mode 100644 remote/default_page/style.css diff --git a/remote/default_page/index.html b/remote/default_page/index.html new file mode 100644 index 0000000..06a42d2 --- /dev/null +++ b/remote/default_page/index.html @@ -0,0 +1,16 @@ + + + + sub:lounge + + + + + + + + diff --git a/remote/default_page/logo.png b/remote/default_page/logo.png new file mode 100644 index 0000000..bc84eee Binary files /dev/null and b/remote/default_page/logo.png differ diff --git a/remote/default_page/style.css b/remote/default_page/style.css new file mode 100644 index 0000000..5a3ffd4 --- /dev/null +++ b/remote/default_page/style.css @@ -0,0 +1,22 @@ +* { + background-color: #000; + color: #fff; + } + +.frame { + width: 100%; + max-width: 1000px; + margin-left: auto; + margin-right: auto; + } + +.hidden { + margin: 50px; + } + +img { + width: 100%; + max-width: 1000px; + margin-left: auto; + margin-right: auto; + } diff --git a/remote/projector.py b/remote/projector.py index b502712..64717d0 100755 --- a/remote/projector.py +++ b/remote/projector.py @@ -14,7 +14,7 @@ from SimpleXMLRPCServer import SimpleXMLRPCServer projection_process = None default_task = [ './brause.py', - 'http://sublab.rotefraktion.org/loungescreen/' + 'file://%s' % os.path.join(os.path.abspath(os.path.dirname(__file__)), 'default_page', 'index.html') ] projection_task = default_task -- cgit v1.2.1