summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/index.html')
-rw-r--r--pyload/web/app/index.html110
1 files changed, 110 insertions, 0 deletions
diff --git a/pyload/web/app/index.html b/pyload/web/app/index.html
new file mode 100644
index 000000000..4a4195b13
--- /dev/null
+++ b/pyload/web/app/index.html
@@ -0,0 +1,110 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <!-- TODO: dynamic title -->
+ <title>pyLoad WebUI</title>
+ <meta name="description" content="pyLoad WebUI">
+ <meta name="viewport" content="width=device-width">
+
+ <!-- TODO: basepath and templates -->
+ <link href="styles/font.css" rel="stylesheet" type="text/css"/>
+ <link href="styles/default/main.css" rel="stylesheet" type="text/css">
+ <link href="vendor/select2.css" rel="stylesheet" type="text/css"/>
+
+
+ <!-- build:js scripts/config.js -->
+ <script data-main="scripts/config" src="components/requirejs/require.js"></script>
+ <!-- endbuild -->
+
+ <script type="text/javascript">
+
+ // Use value set by templateEngine or default val
+ function configValue(string, defaultValue) {
+ if (string.indexOf('{{') > -1)
+ return defaultValue;
+ return string;
+ }
+
+ window.dates = {
+ weeks: ['week', 'weeks'],
+ days: ['day', 'days'],
+ hours: ['hour', 'hours'],
+ minutes: ['minute', 'minutes'],
+ seconds: ['second', 'seconds']
+ }; // TODO carefully when translating
+
+ window.hostProtocol = window.location.protocol + '//';
+ window.hostAddress = window.location.hostname;
+ window.hostPort = configValue('{{web}}', '8001');
+ // TODO
+ window.pathPrefix = '/';
+ window.wsAddress = configValue('{{ws}}', 'ws://%s:7227');
+
+ require(['config'], function(Config) {
+ require(['default'], function(App) {
+ });
+ })
+ </script>
+
+</head>
+<body>
+<div id="wrap">
+ <header>
+ <div class="container-fluid">
+ <div class="row-fluid" id="header">
+ <div class="span3">
+ <div class="logo"></div>
+ <span class="title visible-large-screen">pyLoad</span>
+ </div>
+ </div>
+ </div>
+ <div id="notification-area"></div>
+ <div id="selection-area"></div>
+ </header>
+ <div id="content-container" class="container-fluid">
+ <div class="row-fluid" id="actionbar">
+ </div>
+ <div class="row-fluid" id="content">
+ </div>
+ </div>
+</div>
+<footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <div class="span2 offset1">
+ <div class="copyright">
+ © 2008-2013<br>
+ <a href="http://pyload.org/" target="_blank">The pyLoad Team</a><br>
+ </div>
+ </div>
+ <div class="span2">
+ <h2 class="block-title">Powered by</h2>
+ <hr>
+ Bootstrap <br>
+ </div>
+
+ <div class="span2">
+ <h2 class="block-title">pyLoad</h2>
+ <hr>
+ dsfdsf <br>
+ </div>
+
+ <div class="span2">
+ <h2 class="block-title">Community</h2>
+ <hr>
+ asd <br>
+ </div>
+
+ <div class="span2">
+ <h2 class="block-title">Development</h2>
+ <hr>
+ asd <br>
+ </div>
+ </div>
+ </div>
+</footer>
+<div id="modal-overlay" class="hide"></div>
+</body>
+</html>