diff --git a/static/ng/resources/css/dashboard.css b/static/ng/resources/css/dashboard.css index a11a6cfc1..215e5dc27 100644 --- a/static/ng/resources/css/dashboard.css +++ b/static/ng/resources/css/dashboard.css @@ -1,6 +1,7 @@ .up-section .up-table-pane { overflow-y: scroll; height: 180px; + margin-top: -10px; } .up-section .dl-horizontal dt{ diff --git a/static/ng/resources/css/index.css b/static/ng/resources/css/index.css index f191674ce..41607d8c4 100644 --- a/static/ng/resources/css/index.css +++ b/static/ng/resources/css/index.css @@ -17,7 +17,6 @@ body { margin: 20px 0 20px 0; background-color: #FFFFFF; height: 257px; - overflow: auto; } .up-section h4 label { @@ -25,10 +24,12 @@ body { } .thumbnail { + margin-top: 10px; display: inline-block; border: none; padding: 2px; box-shadow: none; + width: 30%; } .down-section { @@ -61,7 +62,7 @@ body { .page-header { padding-bottom: 10px; - margin: 0 10px 10px 10px; + margin: 10px; border-bottom: none; } @@ -70,7 +71,7 @@ body { } .step-content { - width: 210px; + text-align: center; } .display-inline-block { diff --git a/static/ng/resources/css/sign-up.css b/static/ng/resources/css/sign-up.css index 8130f24b6..213b6e7c6 100644 --- a/static/ng/resources/css/sign-up.css +++ b/static/ng/resources/css/sign-up.css @@ -1,5 +1,5 @@ .main-title { - margin-top: 50px; + margin-top: 20px; margin-left: 180px; } diff --git a/static/ng/resources/js/components/details/retrieve-projects.directive.html b/static/ng/resources/js/components/details/retrieve-projects.directive.html index 7efbd2799..573d78b4e 100644 --- a/static/ng/resources/js/components/details/retrieve-projects.directive.html +++ b/static/ng/resources/js/components/details/retrieve-projects.directive.html @@ -7,7 +7,7 @@ - +
diff --git a/views/ng/forgot-password.htm b/views/ng/forgot-password.htm index a7657093a..63351d0ca 100644 --- a/views/ng/forgot-password.htm +++ b/views/ng/forgot-password.htm @@ -2,15 +2,15 @@
-

Forgot Password

+

// 'forgot_password' | tr //

- +
-

Please input the Email used when you signed up, a reset password Email will be sent to you.

+

// 'forgot_password_description' | tr //

* @@ -18,15 +18,15 @@
- Email is required. + // 'email_is_required' | tr //
- //vm.errorMessage// + // vm.errorMessage | tr //
- +
diff --git a/views/ng/index.htm b/views/ng/index.htm index 3f68105db..ebaad76c1 100644 --- a/views/ng/index.htm +++ b/views/ng/index.htm @@ -5,7 +5,7 @@
-   

Login now

+   

// 'login_now' | tr //

@@ -13,23 +13,23 @@
- +
Step 1 -
Anybody can read public projects
+
// 'anybody_can_read_public_projects' | tr //
Step 2 -
Create projects and connect repositories
+
// 'create_projects_and_connect_repositories' | tr //
Step 3 -
User management and role assignment.
+
// 'user_management_and_role_assignment' | tr //
@@ -42,31 +42,26 @@
- -

- Project Harbor is to build an enterprise-class, - reliable registry server. Enterprises can set - up a private registry server in their own environment - to improve productivity as well as security. - Project Harbor can be used in both development - and production environment. +

+

+ // 'index_desc' | tr //

    -
  • ▪︎ Security: Keep their intellectual properties within their organizations.
  • -
  • ▪︎ Efficiency: A private registry server is set up within the organization's network and can reduce significantly the internet traffic to the public service.
  • -
  • ▪︎ Access Control: RBAC (Role Based Access Control) is provided. User management can be integrated with existing enterprise identity services like AD/LDAP.
  • -
  • ▪︎ Audit: All access to the registry are logged and can be used for audit purpose.
  • -
  • ▪︎ GUI: User friendly single-pane-of-glass management console.
  • +
  • ▪︎ // 'index_desc_1' | tr //
  • +
  • ▪︎ // 'index_desc_2' | tr //
  • +
  • ▪︎ // 'index_desc_3' | tr //
  • +
  • ▪︎ // 'index_desc_4' | tr //
  • +
  • ▪︎ // 'index_desc_5' | tr //
- +
diff --git a/views/ng/project.htm b/views/ng/project.htm index 4b03d2816..5c38da3c3 100644 --- a/views/ng/project.htm +++ b/views/ng/project.htm @@ -4,11 +4,11 @@
+ // 'public_projects' | tr // + // 'public_projects' | tr //
@@ -17,8 +17,8 @@
- - + +
@@ -26,7 +26,7 @@
- + @@ -39,7 +39,7 @@
Project NameRepositoriesRoleCreation TimePublicity// 'project_name' | tr //// 'repositories' | tr //// 'role' | tr //// 'creation_time' | tr //// 'publicity' | tr //
-
//vm.projects ? vm.projects.length : 0// items
+
//vm.projects ? vm.projects.length : 0// // 'items' | tr //
diff --git a/views/ng/repository.htm b/views/ng/repository.htm index 4773443c9..100eec7e9 100644 --- a/views/ng/repository.htm +++ b/views/ng/repository.htm @@ -4,11 +4,11 @@
+ // 'public_projects' | tr // + // 'public_projects' | tr //
diff --git a/views/ng/reset-password.htm b/views/ng/reset-password.htm index 682bd608f..e5b399e82 100644 --- a/views/ng/reset-password.htm +++ b/views/ng/reset-password.htm @@ -2,22 +2,22 @@
-

Reset Password

+

// 'reset_password' | tr //

- +
-

At least 7 characters with 1 lowercase letter, 1 capital letter and 1 numeric character.

+

// 'password_desc' | tr //

*
- +
@@ -33,11 +33,11 @@
- New password is required. - New password is invalid. + // 'password_is_required' | tr // + // 'password_is_invalid' | tr //
- Confirm password mismatch. + // 'password_does_not_match' | tr //
diff --git a/views/ng/sections/header-include.htm b/views/ng/sections/header-include.htm index 2846e8919..22f06a38d 100644 --- a/views/ng/sections/header-include.htm +++ b/views/ng/sections/header-include.htm @@ -35,6 +35,7 @@ + @@ -92,6 +93,10 @@ + + + + diff --git a/views/ng/sign-up.htm b/views/ng/sign-up.htm index b31f0b720..ff3ae8744 100644 --- a/views/ng/sign-up.htm +++ b/views/ng/sign-up.htm @@ -2,19 +2,19 @@
-

Sign Up

+

// 'sign_up' | tr //

- +
- Username is required. - Username maximum length is 20. - Username contains invalid characters. - Username already exists. + // 'username_is_required' | tr // + // 'username_is_too_long' | tr // + // 'username_contains_illegal_chars' | tr // + // 'username_has_been_taken' | tr //
@@ -22,55 +22,55 @@
- +
- Email is required. - Email address is illegal. - Email address already exists. + // 'email_is_required' | tr // + // 'email_content_illegal' | tr // + // 'email_has_been_taken' | tr //
-

The Email address will be used for resetting password.

+

// 'email_desc' | tr //

*
- +
- Full name is required. - Full name contains invalid characters. - Full name maximum length is 20. + // 'full_name_is_required' | tr // + // 'full_name_contains_illegal_chars' | tr // + // 'full_name_is_too_long' | tr //
-

First name & Last name.

+

// 'full_name_desc' | tr //

*
- +
- Password is required. - Password is not valid. + // 'password_is_required' | tr // + // 'password_is_invalid' | tr //
-

At least 7 characters with 1 lowercase letter, 1 capital letter and 1 numeric character.

+

// 'password_desc' | tr //

*
- +
- Confirm password mismatch. + // 'password_does_not_match' | tr //
@@ -78,17 +78,17 @@
- +
- Comments maximum length is 20. + // 'comment_is_too_long' | tr //
- +