From 918f3d1f901d616074f5de6303ad911e6448dcca Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Thu, 15 Oct 2020 12:43:40 +0200 Subject: [PATCH] ui regactoring --- .../static/resources/html/pages/advanced/duplicates.html | 2 +- .../static/resources/html/pages/advanced/new.html | 4 +++- .../resources/static/resources/html/pages/edit/edit.html | 4 ++-- .../resources/html/{forms => parts}/org_conflicts.html | 0 .../resources/html/{forms => parts}/org_duplicates.html | 0 .../main/resources/static/resources/js/organizations.js | 8 ++++---- 6 files changed, 10 insertions(+), 8 deletions(-) rename apps/dnet-orgs-database-application/src/main/resources/static/resources/html/{forms => parts}/org_conflicts.html (100%) rename apps/dnet-orgs-database-application/src/main/resources/static/resources/html/{forms => parts}/org_duplicates.html (100%) diff --git a/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/advanced/duplicates.html b/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/advanced/duplicates.html index 6f05b3b0..8766a1c0 100644 --- a/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/advanced/duplicates.html +++ b/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/advanced/duplicates.html @@ -49,7 +49,7 @@ - +
+ +
diff --git a/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/edit/edit.html b/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/edit/edit.html index 77925069..86dfb34b 100644 --- a/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/edit/edit.html +++ b/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/edit/edit.html @@ -30,11 +30,11 @@
- +
- +
diff --git a/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/forms/org_conflicts.html b/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/parts/org_conflicts.html similarity index 100% rename from apps/dnet-orgs-database-application/src/main/resources/static/resources/html/forms/org_conflicts.html rename to apps/dnet-orgs-database-application/src/main/resources/static/resources/html/parts/org_conflicts.html diff --git a/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/forms/org_duplicates.html b/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/parts/org_duplicates.html similarity index 100% rename from apps/dnet-orgs-database-application/src/main/resources/static/resources/html/forms/org_duplicates.html rename to apps/dnet-orgs-database-application/src/main/resources/static/resources/html/parts/org_duplicates.html diff --git a/apps/dnet-orgs-database-application/src/main/resources/static/resources/js/organizations.js b/apps/dnet-orgs-database-application/src/main/resources/static/resources/js/organizations.js index 6d476058..a812adb3 100644 --- a/apps/dnet-orgs-database-application/src/main/resources/static/resources/js/organizations.js +++ b/apps/dnet-orgs-database-application/src/main/resources/static/resources/js/organizations.js @@ -204,7 +204,7 @@ orgsModule.directive('orgResultsPage', function($http, $location, $route) { } }); -orgsModule.directive('orgFormDuplicates', function($http, $location, $route) { +orgsModule.directive('orgDuplicates', function($http, $location, $route) { return { restrict: 'E', scope: { @@ -212,12 +212,12 @@ orgsModule.directive('orgFormDuplicates', function($http, $location, $route) { 'showSaveButton' : '@', 'saveFunction' : '&' }, - templateUrl: 'resources/html/forms/org_duplicates.html', + templateUrl: 'resources/html/parts/org_duplicates.html', link: function(scope, element, attrs, ctrl) {} } }); -orgsModule.directive('orgFormConflicts', function($http, $location, $route, $q) { +orgsModule.directive('orgConflicts', function($http, $location, $route, $q) { return { restrict: 'E', scope: { @@ -226,7 +226,7 @@ orgsModule.directive('orgFormConflicts', function($http, $location, $route, $q) 'showSaveButton' : '@', 'saveFunction' : '&' }, - templateUrl: 'resources/html/forms/org_conflicts.html', + templateUrl: 'resources/html/parts/org_conflicts.html', link: function(scope, element, attrs, ctrl) { scope.candidateConflicts = []; scope.selectedConflicts = [];