forked from marcel-dancak/bass-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.html
53 lines (51 loc) · 1.79 KB
/
app.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!doctype html>
<html lang="en" ng-app="bd.app">
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BassApp</title>
<link rel="icon" type="image/png" href="app/favicon-16x16.png" sizes="16x16">
<link rel="stylesheet" type="text/css" href="app/styles/styles.css?19092017">
<script src="app/js/app.js?19092017"></script>
<script type="text/javascript">
angular.module('bd.app')
.config(function($mdIconProvider, $sceDelegateProvider) {
$sceDelegateProvider.resourceUrlWhitelist([
'self',
'https://s3.eu-central-1.amazonaws.com/bass-app/**'
]);
$mdIconProvider
.defaultIconSet('app/styles/icons.svg', 32)
.iconSet('drums', 'app/styles/drums.svg', 512)
.icon('basscloud', 'app/styles/basscloud.svg')
})
.constant('Config', {
localSoundsUrl: 'http://127.0.0.1:8887/samples/',
soundsUrl: 'https://s3.eu-central-1.amazonaws.com/bass-app/samples/',
apiUrl: 'https://basscloud.net/api/',
dataUrl: 'https://s3.eu-central-1.amazonaws.com/bass-app/data/',
modules: {
'help': 'app/js/help.js',
'upload': 'app/js/upload.js',
'oggvorbis': 'app/js/oggvorbis.js'
}
})
</script>
</head>
<body
ng-controller="AppController"
ng-class="[
player.mode === 0? 'section-mode' : 'playlist-mode',
{
'readonly-project': projectManager.store.readOnly,
'playback-active': player.playing
}
]">
<div
layout-fill
ng-include="'views/app.html'">
</div>
</body>
</html>