aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/index.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-14 13:50:19 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-14 13:50:19 +0100
commitdc8bc31be517a53e8fbe7100cfe45cd73f596de0 (patch)
treec0b0d6641dd352dafff93b8fd33ddb262b59aa47 /client/index.html
parentbd324a669218f9ed302f7f54b36ee535d25c9733 (diff)
downloadPeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.tar.gz
PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.tar.zst
PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.zip
Angular application :first draft
Diffstat (limited to 'client/index.html')
-rw-r--r--client/index.html32
1 files changed, 19 insertions, 13 deletions
diff --git a/client/index.html b/client/index.html
index f971b9fdb..4b273aae4 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,34 +1,40 @@
1<html> 1<html>
2 <head> 2 <head>
3 <title>Angular 2 QuickStart</title> 3 <title>PeerTube</title>
4 <meta name="viewport" content="width=device-width, initial-scale=1"> 4 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <link rel="stylesheet" href="/stylesheets/index.css"> 5 <link rel="stylesheet" href="/app/stylesheets/index.css">
6 6
7 <!-- 1. Load libraries --> 7 <!-- 1. Load libraries -->
8 <!-- IE required polyfills, in this exact order --> 8 <!-- IE required polyfills, in this exact order -->
9 <script src="app/node_modules/es6-shim/es6-shim.min.js"></script> 9 <script src="/app/node_modules/es6-shim/es6-shim.min.js"></script>
10 <script src="app/node_modules/systemjs/dist/system-polyfills.js"></script> 10 <script src="/app/node_modules/systemjs/dist/system-polyfills.js"></script>
11 <script src="app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script> 11 <script src="/app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
12
13 <script src="/app/node_modules/angular2/bundles/angular2-polyfills.js"></script>
14 <script src="/app/node_modules/systemjs/dist/system.src.js"></script>
15 <script src="/app/node_modules/rxjs/bundles/Rx.js"></script>
16 <script src="/app/node_modules/angular2/bundles/angular2.dev.js"></script>
17 <script src="/app/node_modules/angular2/bundles/router.dev.js"></script>
18 <script src="/app/node_modules/angular2/bundles/http.dev.js"></script>
19 <script src="/app/node_modules/jquery/dist/jquery.js"></script>
20 <script src="/app/node_modules/jquery.ui.widget/jquery.ui.widget.js"></script>
21 <script src="/app/node_modules/blueimp-file-upload/js/jquery.fileupload.js"></script>
22 <script src="/app/node_modules/webtorrent/webtorrent.min.js"></script>
12 23
13 <script src="app/node_modules/angular2/bundles/angular2-polyfills.js"></script>
14 <script src="app/node_modules/systemjs/dist/system.src.js"></script>
15 <script src="app/node_modules/rxjs/bundles/Rx.js"></script>
16 <script src="app/node_modules/angular2/bundles/angular2.dev.js"></script>
17 <script src="app/node_modules/angular2/bundles/router.dev.js"></script>
18 24
19 <!-- 2. Configure SystemJS --> 25 <!-- 2. Configure SystemJS -->
20 <script> 26 <script>
21 System.config({ 27 System.config({
22 packages: { 28 packages: {
23 app: { 29 '/app': {
24 components: { 30 components: {
25 format: 'register', 31 format: 'register',
26 defaultExtension: 'js' 32 defaultExtension: 'js'
27 } 33 }
28 } 34 },
29 } 35 }
30 }); 36 });
31 System.import('app/components/bootstrap') 37 System.import('/app/angular/bootstrap')
32 .then(null, console.error.bind(console)); 38 .then(null, console.error.bind(console));
33 </script> 39 </script>
34 40