diff options
author | Christian Franke <nobody@nowhere.ws> | 2011-11-23 19:41:17 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2011-11-24 15:40:23 +0100 |
commit | 7cbcc52fa195248b8ea3313f840dc5d72c954869 (patch) | |
tree | 711aa1fd6b41652062dccfe86e914aec09044891 /remote | |
parent | 2afa174709cfb91b3c85753c1e13f203403c407d (diff) |
Diffstat (limited to 'remote')
-rw-r--r-- | remote/default_page/index.html | 16 | ||||
-rw-r--r-- | remote/default_page/logo.png | bin | 0 -> 60006 bytes | |||
-rw-r--r-- | remote/default_page/style.css | 22 | ||||
-rwxr-xr-x | remote/projector.py | 2 |
4 files changed, 39 insertions, 1 deletions
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 @@ +<html> + <head> + <title> + sub:lounge + </title> + <link rel="stylesheet" href="style.css" type="text/css"> + </head> + + <body> + <div class="hidden"> + <div class="frame"> + <img src="logo.png"> + </div> + </div> + </body> +</html> diff --git a/remote/default_page/logo.png b/remote/default_page/logo.png Binary files differnew file mode 100644 index 0000000..bc84eee --- /dev/null +++ b/remote/default_page/logo.png 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 |