From: Olivier Lamy Date: Tue, 14 Feb 2012 23:00:39 +0000 (+0000) Subject: [MRM-1575] rewrite repositories group page X-Git-Tag: archiva-1.4-M3~1287 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bf87752dd1739cc1fbdb472a98ded8a986249ce;p=archiva.git [MRM-1575] rewrite repositories group page add drag&drop to add/remove repositories to/from a group. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1244263 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-delete.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-delete.png new file mode 100644 index 000000000..57513d8cb Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-delete.png differ diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/user-trash-22-22.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/user-trash-22-22.png new file mode 100644 index 000000000..05ff0365f Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/user-trash-22-22.png differ diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/user-trash-32-32.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/user-trash-32-32.png new file mode 100644 index 000000000..9b7a462d7 Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/user-trash-32-32.png differ diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js index eb16a21bd..0c56f49f5 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js @@ -42,6 +42,13 @@ $(function() { this.repositoryGroup=repositoryGroup; this.update=update; this.repositoryGroupsViewModel=repositoryGroupsViewModel; + this.availableRepositories=ko.observableArray([]); + + for (var i=0;i
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ +
+
${$.i18n.prop('repository.groups.available.repositories')}
+
+
+ +
+
+ +
+ +
+ +