diff --git a/static/resources/css/index.css b/static/resources/css/index.css index ee9605207..0ac50ab26 100644 --- a/static/resources/css/index.css +++ b/static/resources/css/index.css @@ -78,6 +78,10 @@ body { width: 100%; } +.long-line-margin-right { + margin-right: 30px; +} + .down-table-pane { overflow-y: auto; height: 260px; diff --git a/static/resources/css/project.css b/static/resources/css/project.css index 3b602fdce..de147126c 100644 --- a/static/resources/css/project.css +++ b/static/resources/css/project.css @@ -14,7 +14,7 @@ margin-top: 20px; background-color: #FFFFFF; width: 100%; - min-height: 490px; + min-height: 579px; } .search-pane { @@ -27,6 +27,15 @@ vertical-align: middle; } +.table-header { + margin-bottom: 0; +} + +.table-body-full-width { + overflow-y: auto; + width: 1075px; +} + .gutter { margin: 0 1em 0 1em; } @@ -42,7 +51,7 @@ .sub-pane { margin: 15px; - min-height: 1px; + min-height: 380px; overflow-y: auto; } diff --git a/static/resources/js/components/log/list-log.directive.js b/static/resources/js/components/log/list-log.directive.js index 5213330d8..39d252202 100644 --- a/static/resources/js/components/log/list-log.directive.js +++ b/static/resources/js/components/log/list-log.directive.js @@ -10,7 +10,7 @@ function ListLogController($scope, ListLogService, getParameterByName, $location) { - $scope.subsTabPane = 20; + $scope.subsTabPane = 30; var vm = this; vm.isOpen = false; diff --git a/static/resources/js/components/project-member/switch-role.directive.html b/static/resources/js/components/project-member/switch-role.directive.html index 3600dfeff..f55c2154f 100644 --- a/static/resources/js/components/project-member/switch-role.directive.html +++ b/static/resources/js/components/project-member/switch-role.directive.html @@ -1,5 +1,5 @@ //vm.currentRole.name// - \ No newline at end of file diff --git a/static/resources/js/components/replication/create-policy.directive.html b/static/resources/js/components/replication/create-policy.directive.html index 2e6d9d3b4..22f00b63e 100644 --- a/static/resources/js/components/replication/create-policy.directive.html +++ b/static/resources/js/components/replication/create-policy.directive.html @@ -16,7 +16,7 @@
- +
// 'name_is_required' | tr // // 'name_is_too_long' | tr // @@ -26,7 +26,7 @@
- +
// 'description_is_too_long' | tr //
@@ -35,7 +35,7 @@
- +
@@ -43,16 +43,17 @@

// 'destination_setting' | tr //

-
// 'add_new_destination' | tr //
+

-
- - +
+ + +
  // 'add_new_destination' | tr //
diff --git a/static/resources/js/components/replication/create-policy.directive.js b/static/resources/js/components/replication/create-policy.directive.js index 9699ea7f7..a52698977 100644 --- a/static/resources/js/components/replication/create-policy.directive.js +++ b/static/resources/js/components/replication/create-policy.directive.js @@ -47,6 +47,9 @@ } if(!angular.isDefined(vm1.selection)) { vm1.selection = current[0]; + vm1.endpoint = current[0].endpoint; + vm1.username = current[0].username; + vm1.password = current[0].password; } } }); @@ -96,7 +99,7 @@ vm.targetEditable = true; vm0.name = ''; vm0.description = ''; - vm0.enabled = true; + vm0.enabled = true; } function edit(policyId) { diff --git a/static/resources/js/components/replication/list-replication.directive.html b/static/resources/js/components/replication/list-replication.directive.html index fca8e2ded..7c5b1c369 100644 --- a/static/resources/js/components/replication/list-replication.directive.html +++ b/static/resources/js/components/replication/list-replication.directive.html @@ -12,7 +12,7 @@
- +
@@ -21,32 +21,36 @@ - - - - - - - - - - - - - -
// 'name' | tr // // 'description' | tr //// 'activation' | tr// // 'actions' | tr //

// 'no_replication_policies' | tr //

//r.name////r.description////r.target_name////r.start_time | dateL : 'YYYY-MM-DD HH:mm:ss'// - // 'enabled' | tr // - // 'disabled' | tr // - -
- - -
-   - -   - -
+ +
+ + + + + + + + + + + + + + +

// 'no_replication_policies' | tr //

//r.name////r.description////r.target_name////r.start_time | dateL : 'YYYY-MM-DD HH:mm:ss'// + // 'enabled' | tr // + // 'disabled' | tr // + +
+ + +
+   + +   + +
+
//vm.replicationPolicies ? vm.replicationPolicies.length : 0// // 'items' | tr //
@@ -60,33 +64,39 @@
-
- +
- - + + + - + - - - - - - - - - - - - -
// 'name' | tr //// 'operation' | tr //// 'start_time' | tr //// 'operation' | tr //// 'start_time' | tr //// 'end_time' | tr // // 'status' | tr //// 'logs' | tr //// 'logs' | tr //

// 'no_replication_jobs' | tr //

//r.repository////r.operation////r.update_time | dateL : 'YYYY-MM-DD HH:mm:ss'////r.status//
+ +
+ + + + + + + + + + + + + + +

// 'no_replication_jobs' | tr //

//r.repository////r.operation////r.creation_time | dateL : 'YYYY-MM-DD HH:mm:ss'////r.update_time | dateL : 'YYYY-MM-DD HH:mm:ss'////r.status//
+
diff --git a/static/resources/js/components/repository/popup-details.directive.js b/static/resources/js/components/repository/popup-details.directive.js index e3b95902e..02f1a69b6 100644 --- a/static/resources/js/components/repository/popup-details.directive.js +++ b/static/resources/js/components/repository/popup-details.directive.js @@ -62,8 +62,6 @@ .on('shown.bs.popover', function(e){ var self = jQuery(this); $('[type="text"]:input', self.parent()) - .select() - .end() .on('click', function() { $(this).select(); }); @@ -74,24 +72,24 @@ } }); function generateContent() { - var content = '
' + + var content = '' + '
' + '' + - '

' + + '

' + '
' + - '

' + ctrl.manifest['Parent'] + '

' + + '

' + '
' + - '

' + ctrl.manifest['Created'] + '

' + + '

' + ctrl.manifest['Created'] + '

' + '
' + - '

' + (ctrl.manifest['Duration Days'] === '' ? 'N/A' : ctrl.manifest['Duration Days']) + ' days

' + + '

' + (ctrl.manifest['Duration Days'] === '' ? 'N/A' : ctrl.manifest['Duration Days']) + ' days

' + '
' + - '

' + (ctrl.manifest['Author'] === '' ? 'N/A' : ctrl.manifest['Author']) + '

' + + '

' + (ctrl.manifest['Author'] === '' ? 'N/A' : ctrl.manifest['Author']) + '

' + '
' + - '

' + (ctrl.manifest['Architecture'] === '' ? 'N/A' : ctrl.manifest['Architecture']) + '

' + + '

' + (ctrl.manifest['Architecture'] === '' ? 'N/A' : ctrl.manifest['Architecture']) + '

' + '
' + - '

' + (ctrl.manifest['Docker Version'] === '' ? 'N/A' : ctrl.manifest['Docker Version']) + '

' + + '

' + (ctrl.manifest['Docker Version'] === '' ? 'N/A' : ctrl.manifest['Docker Version']) + '

' + '
' + - '

' + (ctrl.manifest['OS'] === '' ? 'N/A' : ctrl.manifest['OS']) + '

' + + '

' + (ctrl.manifest['OS'] === '' ? 'N/A' : ctrl.manifest['OS']) + '

' + ''; return content; } diff --git a/static/resources/js/components/system-management/replication.directive.html b/static/resources/js/components/system-management/replication.directive.html index 5d347df23..c020966c1 100644 --- a/static/resources/js/components/system-management/replication.directive.html +++ b/static/resources/js/components/system-management/replication.directive.html @@ -26,7 +26,7 @@

// 'no_replications' | tr //

- //r.name// + //r.name// //r.description// //r.project_name// //r.target_name// @@ -37,16 +37,16 @@
- - + +
    - + - well-split + diff --git a/static/resources/js/layout/sign-up/sign-up.controller.js b/static/resources/js/layout/sign-up/sign-up.controller.js index b986892bf..13ec6288e 100644 --- a/static/resources/js/layout/sign-up/sign-up.controller.js +++ b/static/resources/js/layout/sign-up/sign-up.controller.js @@ -21,7 +21,7 @@ 'email': user.email, 'password': user.password, 'realname': user.fullName, - 'comment': user.comments + 'comment': user.comment }; SignUpService(userObject) .success(signUpSuccess) diff --git a/static/resources/js/services/i18n/locale_messages_en-US.js b/static/resources/js/services/i18n/locale_messages_en-US.js index 2ef58b354..a65d3a37d 100644 --- a/static/resources/js/services/i18n/locale_messages_en-US.js +++ b/static/resources/js/services/i18n/locale_messages_en-US.js @@ -144,6 +144,7 @@ var locale_messages = { 'description': 'Description', 'destination': 'Destination', 'start_time': 'Start Time', + 'end_time': 'End Time', 'activation': 'Activation', 'replication_jobs': 'Replication Jobs', 'actions': 'Actions', diff --git a/static/resources/js/services/i18n/locale_messages_zh-CN.js b/static/resources/js/services/i18n/locale_messages_zh-CN.js index d96c5d1bb..fe7e9b17d 100644 --- a/static/resources/js/services/i18n/locale_messages_zh-CN.js +++ b/static/resources/js/services/i18n/locale_messages_zh-CN.js @@ -142,6 +142,7 @@ var locale_messages = { 'description': '描述', 'destination': '目标', 'start_time': '起始时间', + 'end_time': '结束时间', 'activation': '活动状态', 'replication_jobs': '复制任务', 'actions': '操作',