svnno****@sourc*****
svnno****@sourc*****
2008年 11月 27日 (木) 19:05:44 JST
Revision: 1454 http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1454 Author: shinsuke Date: 2008-11-27 19:05:44 +0900 (Thu, 27 Nov 2008) Log Message: ----------- added css, i18ned title. Modified Paths: -------------- bookmark/trunk/src/main/resources/application_ja.properties bookmark/trunk/src/main/webapp/WEB-INF/portlet.xml bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/error.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/index.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/confirm.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/edit.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/error.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/index.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/common/common.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/confirm.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/edit.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/error.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/index.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/confirm.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/edit.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/error.jsp bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/index.jsp Added Paths: ----------- bookmark/trunk/src/main/resources/jp/ bookmark/trunk/src/main/resources/jp/sf/ bookmark/trunk/src/main/resources/jp/sf/pal/ bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/ bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/ bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor.properties bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor_ja.properties bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager.properties bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager_ja.properties bookmark/trunk/src/main/webapp/css/ bookmark/trunk/src/main/webapp/css/pal-extension.css -------------- next part -------------- Modified: bookmark/trunk/src/main/resources/application_ja.properties =================================================================== --- bookmark/trunk/src/main/resources/application_ja.properties 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/resources/application_ja.properties 2008-11-27 10:05:44 UTC (rev 1454) @@ -69,7 +69,7 @@ errors.failed_to_create_category=\u30ab\u30c6\u30b4\u30ea\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_update_category=\u30ab\u30c6\u30b4\u30ea\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_delete_category=\u30ab\u30c6\u30b4\u30ea\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 -errors.could_not_find_category=\u30ab\u30c6\u30b4\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002({0}) +errors.could_not_find_category=\u30ab\u30c6\u30b4\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002(ID:{0}) errors.invalid.id=\u6b63\u3057\u304f\u306a\u3044 ID \u3067\u3059\u3002 errors.could_not_find_category_for_moving_up=\u4e0a\u306b\u79fb\u52d5\u3059\u308b\u30ab\u30c6\u30b4\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 errors.could_not_find_category_for_moving_down=\u4e0b\u306b\u79fb\u52d5\u3059\u308b\u30ab\u30c6\u30b4\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 @@ -77,6 +77,6 @@ errors.failed_to_create_link=\u30ea\u30f3\u30af\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_update_link=\u30ea\u30f3\u30af\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 errors.failed_to_delete_link=\u30ea\u30f3\u30af\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 -errors.could_not_find_link=\u30ea\u30f3\u30af\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002({0}) +errors.could_not_find_link=\u30ea\u30f3\u30af\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002(ID:{0}) errors.could_not_find_link_for_moving_up=\u4e0a\u306b\u79fb\u52d5\u3059\u308b\u30ea\u30f3\u30af\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 errors.could_not_find_link_for_moving_down=\u4e0b\u306b\u79fb\u52d5\u3059\u308b\u30ea\u30f3\u30af\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 Added: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor.properties =================================================================== Property changes on: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor.properties ___________________________________________________________________ Name: svn:eol-style + native Added: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor_ja.properties =================================================================== --- bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor_ja.properties (rev 0) +++ bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor_ja.properties 2008-11-27 10:05:44 UTC (rev 1454) @@ -0,0 +1,5 @@ +# portlet info +javax.portlet.title=\u30ea\u30f3\u30af\u96c6 +javax.portlet.short-title=\u30ea\u30f3\u30af\u96c6 +javax.portlet.keywords=\u30ea\u30f3\u30af\u96c6 + Property changes on: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkEditor_ja.properties ___________________________________________________________________ Name: svn:eol-style + native Added: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager.properties =================================================================== Property changes on: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager.properties ___________________________________________________________________ Name: svn:eol-style + native Added: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager_ja.properties =================================================================== --- bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager_ja.properties (rev 0) +++ bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager_ja.properties 2008-11-27 10:05:44 UTC (rev 1454) @@ -0,0 +1,5 @@ +# portlet info +javax.portlet.title=\u30ea\u30f3\u30af\u96c6\u7ba1\u7406 +javax.portlet.short-title=\u30ea\u30f3\u30af\u96c6\u7ba1\u7406 +javax.portlet.keywords=\u7ba1\u7406 + Property changes on: bookmark/trunk/src/main/resources/jp/sf/pal/bookmark/resources/BookmarkManager_ja.properties ___________________________________________________________________ Name: svn:eol-style + native Modified: bookmark/trunk/src/main/webapp/WEB-INF/portlet.xml =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/portlet.xml 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/portlet.xml 2008-11-27 10:05:44 UTC (rev 1454) @@ -2,10 +2,10 @@ <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> <portlet> <description>Display/Edit bookmarks.</description> - <description xml:lang="ja">ブックマークを閲覧・編集します。</description> + <description xml:lang="ja">リンク集を閲覧・編集します。</description> <portlet-name>BookmarkEditor</portlet-name> <display-name>Bookmark: Bookmark Editor</display-name> - <display-name xml:lang="ja">ブックマーク: ブックマーク編集</display-name> + <display-name xml:lang="ja">リンク集: リンク集編集</display-name> <portlet-class>org.seasar.struts.portlet.SAStrutsPortlet</portlet-class> <init-param> <name>viewPage</name> @@ -18,7 +18,7 @@ </supports> <supported-locale>en</supported-locale> <supported-locale>ja</supported-locale> -<!-- resource-bundle></resource-bundle --> + <resource-bundle>jp.sf.pal.bookmark.resources.BookmarkEditor</resource-bundle> <portlet-info> <title>Bookmarks</title> <short-title>Bookmarks</short-title> @@ -27,10 +27,10 @@ </portlet> <portlet> <description>Manage bookmarks.</description> - <description xml:lang="ja">ブックマークを管理します。</description> + <description xml:lang="ja">リンク集を管理します。</description> <portlet-name>BookmarkManager</portlet-name> <display-name>Bookmark: Bookmark Manager</display-name> - <display-name xml:lang="ja">ブックマーク: ブックマーク管理</display-name> + <display-name xml:lang="ja">リンク集: リンク集管理</display-name> <portlet-class>org.seasar.struts.portlet.SAStrutsPortlet</portlet-class> <init-param> <name>viewPage</name> @@ -43,7 +43,7 @@ </supports> <supported-locale>en</supported-locale> <supported-locale>ja</supported-locale> -<!-- resource-bundle></resource-bundle --> + <resource-bundle>jp.sf.pal.bookmark.resources.BookmarkManager</resource-bundle> <portlet-info> <title>Bookmark Manager</title> <short-title>Bookmarks</short-title> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/confirm.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="form-table"> <s:form> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/edit.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="form-table"> <s:form> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/error.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/error.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/index.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/index.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/category/index.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="list-table"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/confirm.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/confirm.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/confirm.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="list-table"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/edit.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/edit.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/edit.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="list-table"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/error.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/error.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/index.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/index.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/admin/link/index.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="list-table"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/common/common.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/common/common.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/common/common.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -4,6 +4,5 @@ <%@taglib prefix="html" uri="http://struts.apache.org/tags-html"%> <%@taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%> <%@taglib prefix="tiles" uri="http://jakarta.apache.org/struts/tags-tiles"%> -<!-- %@taglib prefix="s" uri="http://sastruts.seasar.org"% --> <%@taglib prefix="f" uri="http://sastruts.seasar.org/functions"%> <%@taglib prefix="s" uri="http://sastruts.seasar.org/portlet"%> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/confirm.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/confirm.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/confirm.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="form-table"> <s:form> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/edit.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/edit.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/edit.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="form-table"> <s:form> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/error.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/error.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/index.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/index.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/category/index.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,7 +5,22 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> <div class="list-table"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/confirm.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/confirm.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/confirm.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,22 +5,45 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> -<div style="float: left; width: 150px;" class="portlet-menu"> - <div style="padding:3px;"> - <div class="portlet-menu-caption"><bean:message key="labels.category"/></div> - <ul> +<div style="float: left; width: 150px;" class="form-table"> +<table style="width: 145px;"> + <tbody> + <tr> + <th><bean:message key="labels.category"/></th> + </tr> + <tr> + <td> + <ul style="margin:0 0 0 3px;padding:0;"> <c:forEach var="c" varStatus="s" items="${categoryItems}"> <c:if test="${linkPager.categoryId==c.id}"> - <li class="portlet-menu-item-selected">${f:h(c.name)}</li> + <li style="list-style-type: none;font-weight: bold;margin:1px 0;">${f:h(c.name)}</li> </c:if> <c:if test="${linkPager.categoryId!=c.id}"> - <li class="portlet-menu-item"><s:link href="select/${f:u(c.id)}">${f:h(c.name)}</s:link></li> + <li style="list-style-type: none;margin:1px 0;"><s:link href="select/${f:u(c.id)}" style="text-decoration: none;">${f:h(c.name)}</s:link></li> </c:if> </c:forEach> </ul> - </div> + </td> + </tr> + </tbody> +</table> </div> <div style="float: left;margin-left:10px;"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/edit.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/edit.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/edit.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,22 +5,45 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> -<div style="float: left; width: 150px;" class="portlet-menu"> - <div style="padding:3px;"> - <div class="portlet-menu-caption"><bean:message key="labels.category"/></div> - <ul> +<div style="float: left; width: 150px;" class="form-table"> +<table style="width: 145px;"> + <tbody> + <tr> + <th><bean:message key="labels.category"/></th> + </tr> + <tr> + <td> + <ul style="margin:0 0 0 3px;padding:0;"> <c:forEach var="c" varStatus="s" items="${categoryItems}"> <c:if test="${linkPager.categoryId==c.id}"> - <li class="portlet-menu-item-selected">${f:h(c.name)}</li> + <li style="list-style-type: none;font-weight: bold;margin:1px 0;">${f:h(c.name)}</li> </c:if> <c:if test="${linkPager.categoryId!=c.id}"> - <li class="portlet-menu-item"><s:link href="select/${f:u(c.id)}">${f:h(c.name)}</s:link></li> + <li style="list-style-type: none;margin:1px 0;"><s:link href="select/${f:u(c.id)}" style="text-decoration: none;">${f:h(c.name)}</s:link></li> </c:if> </c:forEach> </ul> - </div> + </td> + </tr> + </tbody> +</table> </div> <div style="float: left;margin-left:10px;"> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/error.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/error.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/error.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -4,8 +4,25 @@ <title></title> </head> <body> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <html:errors/> <br> <s:link href="index"><bean:message key="labels.back"/></s:link> +</div> </body> </html> Modified: bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/index.jsp =================================================================== --- bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/index.jsp 2008-11-27 09:21:06 UTC (rev 1453) +++ bookmark/trunk/src/main/webapp/WEB-INF/view/user/link/index.jsp 2008-11-27 10:05:44 UTC (rev 1454) @@ -5,22 +5,45 @@ <title></title> </head> <body> -<div style="padding:3px;"> +<script type="text/javascript"> +<!-- +var cssFile="${f:url('/css/pal-extension.css')}"; +var isMSIE = /*@cc_on!@*/false; +if(isMSIE) { + document.createStyleSheet(cssFile); +} else { + var link = document.createElement("link"); + link.setAttribute("rel", "stylesheet"); + link.setAttribute("href", cssFile); + link.setAttribute("type", "text/css"); + document.getElementsByTagName('head')[0].appendChild(link); +} +// --> +</script> +<div class="bookmark-portlet" style="padding:3px;"> <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div> -<div style="float: left; width: 150px;" class="portlet-menu"> - <div style="padding:3px;"> - <div class="portlet-menu-caption"><bean:message key="labels.category"/></div> - <ul> +<div style="float: left; width: 150px;" class="form-table"> +<table style="width: 145px;"> + <tbody> + <tr> + <th><bean:message key="labels.category"/></th> + </tr> + <tr> + <td> + <ul style="margin:0 0 0 3px;padding:0;"> <c:forEach var="c" varStatus="s" items="${categoryItems}"> <c:if test="${linkPager.categoryId==c.id}"> - <li class="portlet-menu-item-selected">${f:h(c.name)}</li> + <li style="list-style-type: none;font-weight: bold;margin:1px 0;">${f:h(c.name)}</li> </c:if> <c:if test="${linkPager.categoryId!=c.id}"> - <li class="portlet-menu-item"><s:link href="select/${f:u(c.id)}">${f:h(c.name)}</s:link></li> + <li style="list-style-type: none;margin:1px 0;"><s:link href="select/${f:u(c.id)}" style="text-decoration: none;">${f:h(c.name)}</s:link></li> </c:if> </c:forEach> </ul> - </div> + </td> + </tr> + </tbody> +</table> </div> <div style="float: left;margin-left:10px;" class="list-table"> Added: bookmark/trunk/src/main/webapp/css/pal-extension.css =================================================================== --- bookmark/trunk/src/main/webapp/css/pal-extension.css (rev 0) +++ bookmark/trunk/src/main/webapp/css/pal-extension.css 2008-11-27 10:05:44 UTC (rev 1454) @@ -0,0 +1,216 @@ +/* +Copyright 2008 Portal Application Laboratory Project + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/* ---------------- */ +/* Form Table */ +/* ---------------- */ +.bookmark-portlet .form-table table { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-collapse:collapse; +} + +.bookmark-portlet .form-table caption { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-right: 1px solid #cccccc; +background-color: #e8e8e8; +padding:5px; +margin:0; +font-weight: bold; +font-size:11pt; +color:#003366; +} + +.bookmark-portlet .form-table thead { +margin:0; +padding:0; +} + +.bookmark-portlet .form-table tbody { +margin:0; +padding:0; +} + +.bookmark-portlet .form-table tfoot { +margin:0; +padding:0; +} + +.bookmark-portlet .form-table th { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding: 5px; +text-align: center; +background-color: #eeeeee; +empty-cells: show; +} + +.bookmark-portlet .form-table td { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding:3px; +empty-cells: show; +} + +.bookmark-portlet .form-table tfoot tr td { +padding:10px; +text-align: center; +empty-cells: show; +} + +/* ---------------- */ +/* List Table */ +/* ---------------- */ +.bookmark-portlet .list-table table { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-collapse:collapse; +} + +.bookmark-portlet .list-table caption { +border-top: 1px solid #cccccc; +border-left: 1px solid #cccccc; +border-right: 1px solid #cccccc; +background-color: #e8e8e8; +padding:5px; +margin:0; +font-weight: bold; +font-size:11pt; +color:#003366; +} + +.bookmark-portlet .list-table thead { +margin:0; +padding:0; +} + +.bookmark-portlet .list-table tbody { +margin:0; +padding:0; +} + +.bookmark-portlet .list-table tfoot { +margin:0; +padding:0; +} + +.bookmark-portlet .list-table .row1 { +background-color: #ffffff; +} + +.bookmark-portlet .list-table .row2 { +background-color: #fffff8; +} + +.bookmark-portlet .list-table th { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding: 5px; +text-align: center; +background-color: #eeeeee; +empty-cells: show; +} + +.bookmark-portlet .list-table td { +border-right: 1px solid #cccccc; +border-bottom: 1px solid #cccccc; +padding:3px; +empty-cells: show; +} + + +/* ---------------- */ +/* Tab */ +/* ---------------- */ +.bookmark-portlet .tab-nav div { +height:25px; +line-height:23px; +margin:0; +padding:0; +width:100%; +} + +.bookmark-portlet .tab-nav ul { +margin:0; +padding:0; +width:100%; +} + +.bookmark-portlet .tab-nav ul li { +float:left; +height:25px; +line-height:23px; +list-style-image:none; +list-style-position:outside; +list-style-type:none; +} + +.bookmark-portlet .tab-nav ul li a:visited { +color:#0000EE; +} + +.bookmark-portlet .tab-nav ul li.first { +border-bottom:1px solid #A9A9A9; +width:10px; +} + +.bookmark-portlet .tab-nav ul li.last-spacer { +border-bottom:1px solid #A9A9A9; +width:5px; +margin-right:-5px; +} + +.bookmark-portlet .tab-nav ul li.last { +border-bottom:1px solid #A9A9A9; +float:none; +padding-right:10px; +text-align:right; +} + +.bookmark-portlet .tab-nav ul li.selected { +border-color:#A9A9A9 #A9A9A9 #FFFFFF; +border-style:solid; +border-width:1px; +display:block; +margin:-1px; +_margin-top: 0px; +} + +.bookmark-portlet .tab-nav ul li.selected span { +display:inline; +padding:0 10px; +white-space:pre; +} + +.bookmark-portlet .tab-nav ul li.selectable { +background-color:#DCDCDC; +border:1px solid #A9A9A9; +display:block; +height:24px; +} + +.bookmark-portlet .tab-nav ul li.selectable { +display:inline; +padding:0 10px; +white-space:pre; +} + +.bookmark-portlet .tab-nav ul li.spacer { +border-bottom:1px solid #A9A9A9; +width:5px; +} + Property changes on: bookmark/trunk/src/main/webapp/css/pal-extension.css ___________________________________________________________________ Name: svn:eol-style + native