summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/base.html
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-08-19 11:36:29 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-08-19 11:36:29 +0200
commitac58037d5dbc9d2ad8dc05cf609f90176aebb2b0 (patch)
treede731981b9cf32a25403e0b03fa1a2d7c1158a55 /module/web/templates/default/base.html
parentcompleted renaming (diff)
downloadpyload-ac58037d5dbc9d2ad8dc05cf609f90176aebb2b0.tar.xz
boilerplate for js code
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r--module/web/templates/default/base.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index e3c216390..411d7e2bb 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -11,15 +11,12 @@
<link href="static/css/jquery.qtip.min.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="static/css/omniwindow.css" rel="stylesheet" type="text/css" media="screen"/>
- <script type="text/javascript" src="static/js/libs/jquery-1.8.0.min.js"></script>
- <script type="text/javascript" src="static/js/libs/jquery.flot.min.js"></script>
- <script type="text/javascript" src="static/js/libs/jquery-ui-1.8.22.custom.min.js"></script>
- <script type="text/javascript" src="static/js/libs/jquery.qtip.min.js"></script>
- <script type="text/javascript" src="static/js/libs/jquery.omniwindow.js"></script>
-
- <script type="text/javascript" src="static/js/libs/underscore-min.js"></script>
- <script type="text/javascript" src="static/js/libs/backbone-min.js"></script>
-
+ <script type="text/javascript" data-main="static/js/default" src="static/js/libs/require-2.0.5.js"></script>
+ <script>
+ require(['default'], function (App) {
+ App.init();
+ });
+ </script>
<title>{% block title %}pyLoad {{ _("Webinterface") }}{% endblock %}</title>