Some improvements
This commit is contained in:
parent
9fd0121132
commit
1b1c486c9d
@ -18,7 +18,7 @@
|
|||||||
"angular-sanitize": "~1.5.8",
|
"angular-sanitize": "~1.5.8",
|
||||||
"angular-scroll-glue": "~2.0.7",
|
"angular-scroll-glue": "~2.0.7",
|
||||||
"angular-ui-router": "~0.3.1",
|
"angular-ui-router": "~0.3.1",
|
||||||
"angular-ui-tree": "2.22.5",
|
"angular-ui-tree": "https://github.com/FinnStutzenstein/angular-ui-tree.git#94dbaaff6b36f9d7a514843b73c28d2a3684c0c0",
|
||||||
"angular-xeditable": "~0.5.0",
|
"angular-xeditable": "~0.5.0",
|
||||||
"angularjs-slider": "~6.2.2",
|
"angularjs-slider": "~6.2.2",
|
||||||
"bootstrap-css-only": "~3.3.6",
|
"bootstrap-css-only": "~3.3.6",
|
||||||
|
3
debug/start_daphne.py
Normal file
3
debug/start_daphne.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from daphne.cli import CommandLineInterface
|
||||||
|
|
||||||
|
CommandLineInterface.entrypoint()
|
@ -39,7 +39,7 @@ angular.module('OpenSlidesApp.agenda.site', [
|
|||||||
.config([
|
.config([
|
||||||
'$stateProvider',
|
'$stateProvider',
|
||||||
'gettext',
|
'gettext',
|
||||||
function($stateProvider, gettext) {
|
function ($stateProvider, gettext) {
|
||||||
$stateProvider
|
$stateProvider
|
||||||
.state('agenda', {
|
.state('agenda', {
|
||||||
url: '/agenda',
|
url: '/agenda',
|
||||||
@ -76,6 +76,14 @@ angular.module('OpenSlidesApp.agenda.site', [
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
|
// Set the sensitivity of moving nodes horizontal for the ui-tree.
|
||||||
|
.config([
|
||||||
|
'treeConfig',
|
||||||
|
function (treeConfig) {
|
||||||
|
treeConfig.dragMoveSensitivity = 20;
|
||||||
|
}
|
||||||
|
])
|
||||||
|
|
||||||
.controller('ItemListCtrl', [
|
.controller('ItemListCtrl', [
|
||||||
'$scope',
|
'$scope',
|
||||||
'$filter',
|
'$filter',
|
||||||
|
@ -296,7 +296,8 @@ img {
|
|||||||
|
|
||||||
#nav .searchbar {
|
#nav .searchbar {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 35px;
|
margin-top: 33px;
|
||||||
|
margin-bottom: 32px;
|
||||||
display: inline-table;
|
display: inline-table;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -705,6 +705,8 @@ angular.module('OpenSlidesApp.core', [
|
|||||||
message += gettextCatalog.getString("The server didn't respond.");
|
message += gettextCatalog.getString("The server didn't respond.");
|
||||||
} else if (error.data.detail) {
|
} else if (error.data.detail) {
|
||||||
message += error.data.detail;
|
message += error.data.detail;
|
||||||
|
} else if (error.status === 500) {
|
||||||
|
message += gettextCatalog.getString("A server error occurred. Please check the system logs.");
|
||||||
} else {
|
} else {
|
||||||
for (var e in error.data) {
|
for (var e in error.data) {
|
||||||
message += e + ': ' + error.data[e] + ' ';
|
message += e + ': ' + error.data[e] + ' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user