From abeb4a625e4cdb2d38f269880a6f2824ee223617 Mon Sep 17 00:00:00 2001 From: Carlos Munoz Date: Wed, 23 Nov 2011 09:13:23 +1000 Subject: [PATCH] Minor UI changes. (rhbz727716) Renamed labels "Project Page" and "Home Page" to simply "Page". Changed styling of the seam text code editors. --- server/zanata-war/src/main/resources/messages.properties | 6 +++--- .../src/main/webapp/edit_home_content_code.xhtml | 3 +-- .../src/main/webapp/project/homepage_edit.xhtml | 3 +-- server/zanata-war/src/main/webapp/stylesheet/theme.css | 8 ++++++++ 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/server/zanata-war/src/main/resources/messages.properties b/server/zanata-war/src/main/resources/messages.properties index 34d88538c1..7072296ee6 100644 --- a/server/zanata-war/src/main/resources/messages.properties +++ b/server/zanata-war/src/main/resources/messages.properties @@ -254,7 +254,7 @@ jsf.PleaseChooseAPageFromTheAdministrationMenuAbove=Please choose a page from th jsf.PleaseContactAdministrationToGetRegistrationLink=Please contact administration to get registration link. jsf.PoweredBy=Powered by -jsf.project.EditHomePage.label=Edit Home Page Code +jsf.project.EditHomePage.label=Edit Page Code jsf.project.EditHomePage.tooltip=Edit the Project's home page code as persisted. Useful when the home page cannot be edited via the project edit page. jsf.Projects=Projects @@ -287,8 +287,8 @@ jsf.SearchProjects=Search Projects jsf.SearchResults=Search Results jsf.SelectedLocales=Enabled Locales -jsf.server.EditHomePage.label=Edit Homepage Content -jsf.server.EditHomePageCode.label=Edit Homepage Code +jsf.server.EditHomePage.label=Edit Page Content +jsf.server.EditHomePageCode.label=Edit Page Code jsf.server.EditHomePageCode.tooltip=Edit the home page code as persisted. Useful when the home page cannot be edited via the edit page. jsf.ServerConfiguration=Server Configuration diff --git a/server/zanata-war/src/main/webapp/edit_home_content_code.xhtml b/server/zanata-war/src/main/webapp/edit_home_content_code.xhtml index c354171ea6..077235b9f8 100644 --- a/server/zanata-war/src/main/webapp/edit_home_content_code.xhtml +++ b/server/zanata-war/src/main/webapp/edit_home_content_code.xhtml @@ -18,8 +18,7 @@ + styleClass="code_editor" />
diff --git a/server/zanata-war/src/main/webapp/project/homepage_edit.xhtml b/server/zanata-war/src/main/webapp/project/homepage_edit.xhtml index a4d77b2076..17338da8dc 100644 --- a/server/zanata-war/src/main/webapp/project/homepage_edit.xhtml +++ b/server/zanata-war/src/main/webapp/project/homepage_edit.xhtml @@ -20,8 +20,7 @@ + styleClass="code_editor" /> diff --git a/server/zanata-war/src/main/webapp/stylesheet/theme.css b/server/zanata-war/src/main/webapp/stylesheet/theme.css index a648f5a419..74553691f9 100755 --- a/server/zanata-war/src/main/webapp/stylesheet/theme.css +++ b/server/zanata-war/src/main/webapp/stylesheet/theme.css @@ -61,6 +61,14 @@ input.with_icon { -moz-border-radius: 5px; } +textarea.code_editor { + font-family: Courier; + font-size: 11px; + font-weight: normal; + width: 450px; + height: 300px; +} + .search_icon{ background-image: url(../img/silk/zoom.png); }