Author: kevinshen
Date: 2009-09-10 06:14:17 +0200 (Thu, 10 Sep 2009)
New Revision: 38552
Modified:
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/css/simpleeditor.css
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/draftlist.jsp
Log:
CMSC-1515 SE: fields on startpage appear to have no styles attached
Modified:
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/css/simpleeditor.css
===================================================================
---
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/css/simpleeditor.css
2009-09-09 23:52:13 UTC (rev 38551)
+++
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/css/simpleeditor.css
2009-09-10 04:14:17 UTC (rev 38552)
@@ -15,17 +15,12 @@
font-size:12px;
}
-div.editor div.body div.fieldtitle{
- float:left;
- display:inline;
+div.editor div.body .fieldtitle{
font-weight:bold ;
+ width:70px;
+
}
-div.editor div.body div.select{
- margin-left:70px;
- padding-top:5px 0px 5px;
-}
-
div.editor div.body div.button{
margin-left:72px;
}
\ No newline at end of file
Modified:
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/draftlist.jsp
===================================================================
---
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/draftlist.jsp
2009-09-09 23:52:13 UTC (rev 38551)
+++
CMSContainer/trunk/CMSContainer/cmsc/contentrepository/src/webapp/editors/simple/draftlist.jsp
2009-09-10 04:14:17 UTC (rev 38552)
@@ -36,42 +36,45 @@
</c:if>
<c:if test="${channelsNumber ne 0 && typesNumber ne 0}">
+ <table><tr>
+
<c:if test="${channelsNumber gt 1}">
- <div class="fieldtitle"><fmt:message
key="simple.editor.place.in"/></div>
- <div class="select">
+ <td class="fieldtitle"><fmt:message
key="simple.editor.place.in"/></td>
+ <td>
<select name="creation">
<c:forEach var="channel"
items="${channelsList}">
<option
value="${channel.value}">${channel.label}</option>
</c:forEach>
</select>
- </div>
+ </td>
</c:if>
<c:if test="${channelsNumber eq 1}" >
- <div class="fieldtitle"><fmt:message
key="simple.editor.place.in"/></div>
- <div class="select">
+ <td class="fieldtitle"><fmt:message
key="simple.editor.place.in"/></td>
+ <td>
<c:forEach var="channel"
items="${channelsList}">
<input type="hidden" name="creation"
value="${channel.value}"/>${channel.label}
</c:forEach>
- </div>
+ </td>
</c:if>
+ </tr>
+ <tr>
<c:if test="${typesNumber gt 1}">
- <div class="fieldtitle"><fmt:message
key="simple.editor.create.new"/></div>
- <div class="select">
- <select name="contenttype">
+ <td class="fieldtitle"><fmt:message
key="simple.editor.create.new"/></td>
+ <td><select name="contenttype">
<c:forEach var="type" items="${typesList}">
<option
value="${type.value}">${type.label}</option>
</c:forEach>
</select>
- </div>
+ </td><tr></table>
<div class="button"><input type="submit"
class="button" name="submitButton" value="<fmt:message key="content.create"
/>"/></div>
</c:if>
<c:if test="${typesNumber eq 1}" >
- <div class="fieldtitle"><fmt:message
key="simple.editor.create.new"/></div>
- <div class="select">
+ <td class="fieldtitle"><fmt:message
key="simple.editor.create.new"/></td>
+ <td>
<c:forEach var="type" items="${typesList}">
<input type="hidden" name="contenttype"
value="${type.value}"/>${type.label}
</c:forEach>
- </div>
+ </td><tr></table>
<div class="button"><input type="submit"
class="button" name="submitButton" value="<fmt:message key="content.create"
/>"/></div>
</c:if>
</c:if>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs