From 852b175f3ea6d43e2629db786a0696c904521514 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sun, 18 Sep 2016 00:45:00 +0200 Subject: [PATCH] Upgraded a lot of javascript libs. Some template fixes required for upgrading ui-bootstrap. --- README.rst | 4 +- bower.json | 39 ++++++++++--------- .../static/templates/agenda/item-list.html | 6 ++- .../assignments/assignment-list.html | 6 +-- openslides/core/static/css/app.css | 3 +- openslides/core/static/templates/index.html | 12 +++--- .../static/templates/projector-container.html | 2 +- .../templates/motions/motion-detail.html | 4 +- .../static/templates/motions/motion-list.html | 5 +-- .../static/templates/users/user-import.html | 6 +-- .../static/templates/users/user-list.html | 5 ++- 11 files changed, 48 insertions(+), 44 deletions(-) diff --git a/README.rst b/README.rst index 85bff1311..21aeb246d 100644 --- a/README.rst +++ b/README.rst @@ -196,9 +196,9 @@ OpenSlides uses the following projects or parts of them: * `angular-bootstrap `_, License: MIT * `angular-bootstrap-colorpicker `_, License: MIT * `angular-chosen-localytics `_, License: MIT - * `angular-csv-import-tmp `_, License: MIT + * `angular-csv-import `_, License: MIT * `angular-formly `_, License: MIT - * `angular-formly-templates-bootstrap `_, License: MIT + * `angular-formly-templates-bootstrap `_, License: MIT * `angular-gettext `_, License: MIT * `angular-loading-bar `_, License: MIT * `angular-messages `_, License: MIT diff --git a/bower.json b/bower.json index ef047af13..343e384bb 100644 --- a/bower.json +++ b/bower.json @@ -2,32 +2,32 @@ "name": "OpenSlides", "private": true, "dependencies": { - "jquery": "~2.2.3", - "angular": "~1.4.10", - "angular-animate": "~1.4.10", - "angular-bootstrap": "~0.14.3", - "angular-bootstrap-colorpicker": "~3.0.24", - "angular-chosen-localytics": "~1.4.0", - "angular-csv-import": "~0.0.29", - "angular-formly": "~7.3.9", + "jquery": "~3.1.0", + "angular": "~1.5.8", + "angular-animate": "~1.5.8", + "angular-bootstrap": "~2.1.3", + "angular-bootstrap-colorpicker": "~3.0.25", + "angular-chosen-localytics": "~1.5.0", + "angular-csv-import": "~0.0.36", + "angular-formly": "~8.4.0", "angular-formly-templates-bootstrap": "~6.2.0", - "angular-gettext": "~2.3.4", - "angular-loading-bar": "~0.8.0", - "angular-messages": "~1.4.10", + "angular-gettext": "~2.3.7", + "angular-loading-bar": "~0.9.0", + "angular-messages": "~1.5.8", "angular-pdf": "~1.3.0", - "angular-sanitize": "~1.4.10", - "angular-scroll-glue": "~2.0.6", - "angular-ui-router": "~0.2.17", + "angular-sanitize": "~1.5.8", + "angular-scroll-glue": "~2.0.7", + "angular-ui-router": "~0.3.1", "angular-ui-tinymce": "~0.0.17", - "angular-ui-tree": "~2.17.0", + "angular-ui-tree": "~2.22.0", "bootstrap-css-only": "~3.3.6", "font-awesome-bower": "~4.5.0", "jquery.cookie": "~1.4.1", - "js-data": "~2.8.2", - "js-data-angular": "~3.1.0", + "js-data": "~2.9.0", + "js-data-angular": "~3.2.1", "jsen": "~0.6.1", "lodash": "~3.10.0", - "ng-dialog": "~0.5.6", + "ng-dialog": "~0.6.4", "ng-file-upload": "~11.2.3", "ngBootbox": "~0.1.3", "pdfmake-dist": "~0.1.27", @@ -52,6 +52,7 @@ } }, "resolutions": { - "angular": ">=1.4.10 <1.5" + "angular": ">=1.5 <1.6", + "jquery": ">=3.1 <3.2" } } diff --git a/openslides/agenda/static/templates/agenda/item-list.html b/openslides/agenda/static/templates/agenda/item-list.html index 156eb3e4a..87796ff5e 100644 --- a/openslides/agenda/static/templates/agenda/item-list.html +++ b/openslides/agenda/static/templates/agenda/item-list.html @@ -40,6 +40,7 @@
-
@@ -161,7 +161,7 @@ - {{ phases[assignment.phase].display_name }} + {{ phases[assignment.phase].display_name | translate }} @@ -183,7 +183,7 @@
-
diff --git a/openslides/core/static/css/app.css b/openslides/core/static/css/app.css index 1b99bec56..d523c067d 100644 --- a/openslides/core/static/css/app.css +++ b/openslides/core/static/css/app.css @@ -681,7 +681,7 @@ img { } #motion-table .data-row > div { - padding: 5px; + padding: 12px 0; } #motion-table .header-row { @@ -759,6 +759,7 @@ img { } #motion-table .title { + font-size: 110%; margin-right: 10px; padding: 0; background-color: transparent; diff --git a/openslides/core/static/templates/index.html b/openslides/core/static/templates/index.html index 91fb14cba..3115a5b0b 100644 --- a/openslides/core/static/templates/index.html +++ b/openslides/core/static/templates/index.html @@ -5,7 +5,7 @@ OpenSlides - + @@ -70,11 +70,11 @@ - + {{ operator.user.get_short_name() }} -
- - | + | + {{ selectedLanguage[0].name | translate }} -