// 'why_use_harbor' | tr //
// 'index_desc' | tr //
diff --git a/views/repository.htm b/views/repository.htm
index 7aaa0291e..662ce3259 100644
--- a/views/repository.htm
+++ b/views/repository.htm
@@ -26,7 +26,6 @@
diff --git a/static/resources/css/index.css b/static/resources/css/index.css index 0ac50ab26..bef7e808e 100644 --- a/static/resources/css/index.css +++ b/static/resources/css/index.css @@ -33,15 +33,15 @@ body { background-color: #EFEFEF; width: 100%; height: 100%; - min-width: 1px; - overflow: auto; + min-width: 1024px; + overflow-y: auto; min-height: 1px; } .up-section { position: relative; padding: 15px 15px 15px; - margin: 20px -10px 0 0; + margin: 20px 0 0 -15px; background-color: #FFFFFF; height: 277px; } @@ -50,6 +50,11 @@ body { margin-left: 5px; } +.right-part { + padding-right: 0; + margin-right: -15px; +} + .thumbnail { margin-top: 10px; display: inline-block; @@ -57,16 +62,21 @@ body { padding: 2px; box-shadow: none; width: 30%; + vertical-align: top; } .down-section { position: relative; padding: 15px 15px 15px; - margin: 20px -10px 0 0; + margin: 20px -15px 0 -15px; background-color: #FFFFFF; height: 350px; } +.down-section-left { + margin-right: 0; +} + .down-section ul { padding: 0; margin-left: 30px; diff --git a/static/resources/css/project.css b/static/resources/css/project.css index 5f7acecc5..810dddacd 100644 --- a/static/resources/css/project.css +++ b/static/resources/css/project.css @@ -5,8 +5,8 @@ .extend-height { height: 100%; - min-height: 1px; - min-width: 1024px; + padding-left: 0; + padding-right: 0; } .section { @@ -14,8 +14,8 @@ margin-top: 20px; background-color: #FFFFFF; height: 100%; + min-height: 640px; width: 100%; - min-height: 579px; } .search-pane { @@ -53,6 +53,11 @@ min-height: 1px; } +.tab-pane { + min-height: 1px; + max-height: 1px; +} + .sub-pane { margin: 15px; min-height: 380px; @@ -60,11 +65,11 @@ } .well-custom { - position: absolute; - width: 1064px; + + width: 100%; background-color: #f5f5f5; background-image: none; - margin: 0 10px; + z-index: 10; } diff --git a/static/resources/css/repository.css b/static/resources/css/repository.css index 29fe870cb..65312c29c 100644 --- a/static/resources/css/repository.css +++ b/static/resources/css/repository.css @@ -129,10 +129,12 @@ } .alert-custom { - position: fixed; - bottom: 24px; + position: relative; + bottom: 42px; z-index: 99; - width: 1110px; + width: 1140px; + margin-left: auto; + margin-right: auto; padding: 10px; background-color: #f2dede; background-image: none; diff --git a/static/resources/js/components/element-height/element-height.inspector.js b/static/resources/js/components/element-height/element-height.inspector.js index a1bc00a40..11ce2af2d 100644 --- a/static/resources/js/components/element-height/element-height.inspector.js +++ b/static/resources/js/components/element-height/element-height.inspector.js @@ -30,9 +30,10 @@ scope.$watch(scope.getDimension, function(current) { if(current) { var h = current.h; + element.css({'height': (h - scope.subsHeight) + 'px'}); element.find('.section').css({'height': (h - scope.subsHeight - scope.subsSection) + 'px'}); element.find('.sub-pane').css({'height': (h - scope.subsHeight - scope.subsSubPane) + 'px'}); - element.find('.tab-pane').css({'height': (h - scope.subsHeight - scope.subsSubPane) + 'px'}); + element.find('.tab-pane').css({'height': (h - scope.subsHeight - scope.subsSubPane - scope.subsSection -100) + 'px'}); // var subPaneHeight = element.find('.sub-pane').height(); // element.find('.table-body-container').css({'height': (subPaneHeight - scope.subsTblBody) + 'px'}); } diff --git a/static/resources/js/components/log/advanced-search.directive.js b/static/resources/js/components/log/advanced-search.directive.js index a64775de7..7f9fd685f 100644 --- a/static/resources/js/components/log/advanced-search.directive.js +++ b/static/resources/js/components/log/advanced-search.directive.js @@ -111,7 +111,7 @@ } } - function advancedSearch() { + function advancedSearch(I18nService) { var directive = { 'restrict': 'E', 'templateUrl': '/static/resources/js/components/log/advanced-search.directive.html', @@ -133,7 +133,7 @@ function link(scope, element, attrs, ctrl) { element.find('.datetimepicker').datetimepicker({ - locale: 'en-US', + locale: I18nService().getCurrentLanguage(), ignoreReadonly: true, format: 'L', showClear: true diff --git a/static/resources/js/components/replication/create-policy.directive.html b/static/resources/js/components/replication/create-policy.directive.html index 71e8f1c70..5335b839e 100644 --- a/static/resources/js/components/replication/create-policy.directive.html +++ b/static/resources/js/components/replication/create-policy.directive.html @@ -11,7 +11,7 @@
// 'index_desc' | tr //
diff --git a/views/repository.htm b/views/repository.htm
index 7aaa0291e..662ce3259 100644
--- a/views/repository.htm
+++ b/views/repository.htm
@@ -26,7 +26,6 @@