mirror of
https://github.com/fergalmoran/dss.web.git
synced 2026-02-14 20:16:55 +00:00
Live env fixes
This commit is contained in:
@@ -247,7 +247,6 @@ module.exports = function (grunt) {
|
||||
src: [
|
||||
'<%= yeoman.dist %>/public/{,*/}*.js',
|
||||
'<%= yeoman.dist %>/public/{,*/}*.css',
|
||||
'<%= yeoman.dist %>/public/assets/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
|
||||
'<%= yeoman.dist %>/public/assets/fonts/*',
|
||||
'!<%= yeoman.dist %>/public/assets/images/dyn/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
|
||||
]
|
||||
|
||||
@@ -43,8 +43,6 @@
|
||||
"angular-socket-io": "^0.7.0",
|
||||
"socket.io-client": "^1.4.6",
|
||||
"angular-toastr": "^1.7.0",
|
||||
"angular-inform": "^0.0.18",
|
||||
"font-awesome": "^4.6.3",
|
||||
"jquery.gritter": "^1.7.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -52,7 +50,6 @@
|
||||
"angular-scenario": ">=1.2.*"
|
||||
},
|
||||
"resolutions": {
|
||||
"angular-bootstrap": "~0.14.3",
|
||||
"angular": "1.4.*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,8 +20,7 @@ angular.module('dssWebApp', [
|
||||
'angular-smilies',
|
||||
'satellizer',
|
||||
'toastr',
|
||||
'angulartics.google.analytics',
|
||||
'inform'
|
||||
'angulartics.google.analytics'
|
||||
])
|
||||
.config(function ($stateProvider, $sceDelegateProvider, $httpProvider, $urlRouterProvider, $locationProvider, $provide, $authProvider,
|
||||
ngClipProvider, $analyticsProvider, dialogsProvider, DSProvider, DSHttpAdapterProvider,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('dssWebApp')
|
||||
.controller('MainCtrl', function ($scope, $rootScope, $http, $state, $auth, inform,
|
||||
.controller('MainCtrl', function ($scope, $rootScope, $http, $state, $auth,
|
||||
dialogs, logger, SocketService, AudioService,
|
||||
MixModel, UserModel, LoginService, Session,
|
||||
SERVER_CONFIG, CHAT_EVENTS, MESSAGE_EVENTS, AUTH_EVENTS) {
|
||||
|
||||
@@ -1,60 +1,15 @@
|
||||
'use strict';
|
||||
var utils = {
|
||||
getWindowWidth: function () {
|
||||
return window.innerWidth
|
||||
|| document.documentElement.clientWidth
|
||||
|| document.body.clientWidth;
|
||||
return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
||||
},
|
||||
showToast: function(title, text, image){
|
||||
$.gritter.add({
|
||||
title: title,
|
||||
text: text,
|
||||
image: image,
|
||||
time: 60000,
|
||||
sticky: false
|
||||
});
|
||||
},
|
||||
gritterNotification: function () {
|
||||
// display marketing alert only once
|
||||
if($('#wrapper').css('opacity')) {
|
||||
if (!$.cookie('intro')) {
|
||||
// Gritter notification intro 1
|
||||
setTimeout(function () {
|
||||
var unique_id = $.gritter.add({
|
||||
// (string | mandatory) the heading of the notification
|
||||
title: 'Welcome to Blankon',
|
||||
// (string | mandatory) the text inside the notification
|
||||
text: 'Blankon is a theme fullpack admin template powered by Twitter bootstrap 3 front-end framework.',
|
||||
// (string | optional) the image to display on the left
|
||||
image: BlankonApp.handleBaseURL()+'/assets/global/img/icon/64/contact.png',
|
||||
// (bool | optional) if you want it to fade out on its own or just sit there
|
||||
sticky: false,
|
||||
// (int | optional) the time you want it to be alive for before fading out
|
||||
time: ''
|
||||
});
|
||||
// You can have it return a unique id, this can be used to manually remove it later using
|
||||
setTimeout(function () {
|
||||
$.gritter.remove(unique_id, {
|
||||
fade: true,
|
||||
speed: 'slow'
|
||||
});
|
||||
}, 12000);
|
||||
}, 5000);
|
||||
// Gritter notification intro 2
|
||||
setTimeout(function () {
|
||||
$.gritter.add({
|
||||
// (string | mandatory) the heading of the notification
|
||||
title: 'Playing sounds',
|
||||
// (string | mandatory) the text inside the notification
|
||||
text: 'Blankon made for playing small sounds, will help you with this task. Please make your sound system is active',
|
||||
// (string | optional) the image to display on the left
|
||||
image: BlankonApp.handleBaseURL()+'/assets/global/img/icon/64/sound.png',
|
||||
// (bool | optional) if you want it to fade out on its own or just sit there
|
||||
sticky: true,
|
||||
// (int | optional) the time you want it to be alive for before fading out
|
||||
time: ''
|
||||
});
|
||||
}, 8000);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<script src="https://use.fontawesome.com/b431a8565a.js"></script>
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,600,600italic,700,700italic">
|
||||
|
||||
@@ -26,7 +28,6 @@
|
||||
<link rel="stylesheet" href="bower_components/smalot-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/ui-select/dist/select.css" />
|
||||
<link rel="stylesheet" href="bower_components/angular-toastr/dist/angular-toastr.css" />
|
||||
<link rel="stylesheet" href="bower_components/angular-inform/dist/angular-inform.css" />
|
||||
<link rel="stylesheet" href="bower_components/jquery.gritter/css/jquery.gritter.css" />
|
||||
<!-- endbower -->
|
||||
<!-- endbuild -->
|
||||
@@ -37,7 +38,6 @@
|
||||
<link rel="stylesheet" href="assets/animations.css">
|
||||
<link rel="stylesheet" href="assets/zoom/audioplayer.css">
|
||||
<link rel="stylesheet" href="assets/zoom/style.css">
|
||||
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css"/>
|
||||
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
|
||||
<link rel="stylesheet" href="assets/flatlab/style.css">
|
||||
<link rel="stylesheet" href="assets/flatlab/style-responsive.css">
|
||||
@@ -132,7 +132,6 @@
|
||||
<script src="bower_components/ngInfiniteScroll/build/ng-infinite-scroll.js"></script>
|
||||
<script src="bower_components/angular-socket-io/socket.js"></script>
|
||||
<script src="bower_components/angular-toastr/dist/angular-toastr.tpls.js"></script>
|
||||
<script src="bower_components/angular-inform/dist/angular-inform.js"></script>
|
||||
<script src="bower_components/jquery.gritter/js/jquery.gritter.js"></script>
|
||||
<!-- endbower -->
|
||||
<!-- endbuild -->
|
||||
|
||||
0
docker_build.sh
Normal file → Executable file
0
docker_build.sh
Normal file → Executable file
@@ -8,6 +8,7 @@ module.exports = {
|
||||
|
||||
seedDB: true,
|
||||
redisHost: 'localhost',
|
||||
apiUrl: 'http://ext-test.deepsouthsounds.com:8001',
|
||||
//apiUrl: 'http://ext-test.deepsouthsounds.com:8001',
|
||||
apiUrl: 'http://localhost:8001',
|
||||
radioUrl: 'http://localhost:8000'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user