From d5683e23bc987a25fe64a040ecaf2e591bda011f Mon Sep 17 00:00:00 2001 From: Alex Eng Date: Thu, 28 Nov 2013 13:36:09 +1000 Subject: [PATCH] WIP: update ui with new css --- .../zanata/webtrans/public/Application.xhtml | 1 - .../layout/version-group/languages-tab.xhtml | 272 +++++++++--------- .../layout/version-group/projects-tab.xhtml | 272 +++++++++--------- .../main/webapp/WEB-INF/template/banner.xhtml | 121 +++++--- .../webapp/WEB-INF/template/right_menu.xhtml | 42 --- .../webapp/WEB-INF/template/template.xhtml | 1 - .../webapp/WEB-INF/template/template_2x.xhtml | 1 - 7 files changed, 349 insertions(+), 361 deletions(-) delete mode 100644 zanata-war/src/main/webapp/WEB-INF/template/right_menu.xhtml diff --git a/zanata-war/src/main/resources/org/zanata/webtrans/public/Application.xhtml b/zanata-war/src/main/resources/org/zanata/webtrans/public/Application.xhtml index 96ed2b61a4..2103b5fe80 100644 --- a/zanata-war/src/main/resources/org/zanata/webtrans/public/Application.xhtml +++ b/zanata-war/src/main/resources/org/zanata/webtrans/public/Application.xhtml @@ -51,7 +51,6 @@
-
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml index 7ccefe15bf..8d2628ad93 100644 --- a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml @@ -8,57 +8,56 @@
-
-
-
-
-
-

- - #{messages['jsf.Languages']} -

-
-
- -
+
+
+
+
+

+ + #{messages['jsf.Languages']} +

+
+
+
- - -
-

#{messages['jsf.NoActiveLanguages']}

- -

- - #{messages['jsf.AddLanguages']} - -

-
-
-
+
+ + +
+

#{messages['jsf.NoActiveLanguages']}

+ +

+ + #{messages['jsf.AddLanguages']} + +

+
+
+
- -
    - -
  • - -
    -
    + +
      + +
    • + +
      +
      ${hLocale.retrieveDisplayName()} -
      - +
      + ${versionGroupHomeAction.getStatisticFigureForLocale(versionGroupHomeAction.languageSortingList.selectedSortOption, hLocale.localeId)} @@ -79,89 +78,87 @@ ${versionGroupHomeAction.getStatisticUnit(versionGroupHomeAction.languageSortingList.selectedSortOption)} - -
    + +
    - + - -
    -
  • -
    -
-
-
-
+ + + + + + +
-
- -
-
-
-

- - - - - - - - - #{versionGroupHomeAction.selectedLocale.retrieveDisplayName()} - - #{messages['Projects']} -

-
-
- -
+
+
+
+
+ + + +
+ +
+

+ + + #{versionGroupHomeAction.selectedLocale.retrieveDisplayName()} + + #{messages['Projects']} +

+
+
+
- - -
-

- #{messages['jsf.SelectALanguageFromList']} -

-
-
- -
-

#{messages['jsf.NoProjectsInGroup']}

+
+ + +
+

+ #{messages['jsf.SelectALanguageFromList']} +

+
+
+ +
+

#{messages['jsf.NoProjectsInGroup']}

- -

- - #{messages['jsf.AddProjectVersions']} - -

-
-
-
- -
    - -
  • -
    - + + +
      + +
    • +
      +
      #{messages['jsf.Missing']} -
      -
      +
      +
      ${versionGroupHomeAction.getStatisticFigureForProjectWithLocale(versionGroupHomeAction.projectSortingList.selectedSortOption, versionGroupHomeAction.selectedLocale.localeId, version.id)} @@ -204,16 +201,15 @@ ${versionGroupHomeAction.getStatisticUnit(versionGroupHomeAction.projectSortingList.selectedSortOption)} -
      - -
    • -
      -
    -
    - - +
    + +
  • +
    +
+
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml index 0fc8c8d367..f289e8ac04 100644 --- a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml @@ -8,57 +8,55 @@
-
-
-
-
-
-

- - #{messages['jsf.Projects']} -

-
-
- -
+
+
+
+
+

+ + #{messages['jsf.Projects']} +

+
+
+
- - -
-

#{messages['jsf.NoProjectsInGroup']}

- - -

- - #{messages['jsf.AddProjectVersions']} - -

-
-
-
- -
    - -
  • - -
    -
    +
    + + +
    +

    #{messages['jsf.NoProjectsInGroup']}

    + +

    + + #{messages['jsf.AddProjectVersions']} + +

    +
    +
    +
    + +
      + +
    • + +
      +
      #{version.project.slug} #{version.slug} @@ -70,9 +68,9 @@ #{versionGroupHomeAction.getMissingLocale(version).size()} -
      - +
      + ${versionGroupHomeAction.getStatisticFigureForProject(versionGroupHomeAction.projectSortingList.selectedSortOption, version.id)} @@ -81,87 +79,86 @@ ${versionGroupHomeAction.getStatisticUnit(versionGroupHomeAction.projectSortingList.selectedSortOption)} - -
    - + +
+ - - - - - - - -
+ + + + + + +
-
- -
-
-
-

- - - - - - - - - #{versionGroupHomeAction.selectedVersion.project.slug} - - #{messages['Languages']} -

-
-
- -
+
+
+
+
+ + + +
+ +
+

+ + + #{versionGroupHomeAction.selectedVersion.project.slug} + + #{messages['Languages']} +

+
+ +
+
- - -
-

- #{messages['jsf.SelectAProjectFromList']} +

+ + +
+

+ #{messages['jsf.SelectAProjectFromList']} +

+
+
+ +
+

#{messages['jsf.NoActiveLanguages']}

+ +

+ + #{messages['jsf.AddLanguages']} +

-
-
- -
-

#{messages['jsf.NoActiveLanguages']}

- -

- - #{messages['jsf.AddLanguages']} - -

-
-
-
- -
    - -
  • -
    -
    + +
    + + +
      + +
    • +
      +
      -
      -
      +
      +
      ${versionGroupHomeAction.getStatisticFigureForProjectWithLocale(versionGroupHomeAction.languageSortingList.selectedSortOption, hLocale.localeId, versionGroupHomeAction.selectedVersion.id)} @@ -203,16 +200,15 @@ ${versionGroupHomeAction.getStatisticUnit(versionGroupHomeAction.languageSortingList.selectedSortOption)} -
      - -
    • -
      -
    -
    - - +
    + +
  • +
    +
+
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml b/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml index 45c43d06e3..ad8599d5ec 100644 --- a/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml @@ -1,4 +1,4 @@ - diff --git a/zanata-war/src/main/webapp/WEB-INF/template/right_menu.xhtml b/zanata-war/src/main/webapp/WEB-INF/template/right_menu.xhtml deleted file mode 100644 index e24770c404..0000000000 --- a/zanata-war/src/main/webapp/WEB-INF/template/right_menu.xhtml +++ /dev/null @@ -1,42 +0,0 @@ -
- -
- - - - -
- - -
diff --git a/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml b/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml index 319a1a5e72..33f018f40a 100755 --- a/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml @@ -50,7 +50,6 @@
-
diff --git a/zanata-war/src/main/webapp/WEB-INF/template/template_2x.xhtml b/zanata-war/src/main/webapp/WEB-INF/template/template_2x.xhtml index 7d0c932f5c..876ee701b1 100644 --- a/zanata-war/src/main/webapp/WEB-INF/template/template_2x.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/template/template_2x.xhtml @@ -32,7 +32,6 @@
-