Author: billyxie Date: 2009-08-07 10:56:24 +0200 (Fri, 07 Aug 2009) New Revision: 37597
Modified: CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/channellist.jsp Log: CMSC-1477 - 4 Based on the FD, implement the main function in simple editor overview page: edit, preview, workfolw, sorting, pageing Modified: CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/channellist.jsp =================================================================== --- CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/channellist.jsp 2009-08-07 08:52:05 UTC (rev 37596) +++ CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/channellist.jsp 2009-08-07 08:56:24 UTC (rev 37597) @@ -5,21 +5,38 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html:html xhtml="true"> <cmscedit:head title="search.title"> - <script src="../repository/content.js" type="text/javascript"></script> - <script type="text/javascript"> - function selectItem(channel, path) { - opener.selectChannel(channel, path, '${param.fieldName}', '${param.fieldPathName}'); - close(); - } - </script> + <link href="<cmsc:staticurl page='/editors/editwizards_new/style/color/base.css'/>" type="text/css" rel="stylesheet" /> + <link href="<cmsc:staticurl page='/editors/editwizards_new/style/color/list.css'/>" type="text/css" rel="stylesheet" /> + <style type="text/css" rel="stylesheet" > + body + { + font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + font-weight: normal; + margin: 0px; + overflow: hidden; + } + table.listcontent { + padding: 2px; + vertical-align: top; + width: 100%; + } + </style> + <script src="../repository/content.js" type="text/javascript"></script> + <script type="text/javascript"> + function selectItem(channel, path) { + opener.selectChannel(channel, path, '${param.fieldName}', '${param.fieldPathName}'); + close(); + } + </script> </cmscedit:head> <body> <mm:cloud jspvar="cloud" loginpage="../../editors/simple/login.jsp"> <c:set var="swap" value="0"/> -<table> +<table class="listcontent" style="width:100%;"> <c:forEach var="channel" items="${channelList}"> <mm:node number="${channel.number}" > - <tr <c:if test="${swap % 2 ==0}">class="swap"</c:if> onmousedown="javascript:selectItem(<mm:field name="number"/>,'${returnpath}')"> + <tr <c:if test="${swap % 2 ==0}">class="itemrow odd"</c:if> <c:if test="${swap % 2 ==1}">class="itemrow even"</c:if> onmousedown="javascript:selectItem(<mm:field name="number"/>,'${returnpath}')"> <c:set var="swap">${swap+1}</c:set> <td style="white-space: nowrap;"> <mm:field name="name" /> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs