Some improvements

This commit is contained in:
FinnStutzenstein 2017-11-07 16:15:23 +01:00
parent 9fd0121132
commit 1b1c486c9d
5 changed files with 17 additions and 3 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
from daphne.cli import CommandLineInterface
CommandLineInterface.entrypoint()

View File

@ -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',

View File

@ -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;
} }

View File

@ -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] + ' ';