📄 managevote.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<style type="text/css">
<!--
body {
background-color: #869de3;
}
-->
a { font-size: 12pt; text-decoration: none}
</style>
<body>
<center>
<div align="left">
<a href="jsp/frame/main.jsp">
<s:property value="%{getText('mainpage')}" />
</a>>>><s:property value="%{getText('editvote')}" />
</div>
<font color="red"><s:actionerror /></font>
<s:form action="updateVoteContext" theme="simple">
<s:token />
<s:property value="#session.vote.title" />
<br>
<br>
<a
href='<s:url action="addOneVoteContext"><s:param name="voteId" value="#session.vote.voteId" /></s:url>'><s:text name="addvc"/></a>
<table>
<s:iterator value="#session.list">
<tr>
<td>
<s:property value="%{getText('votecontext')}" />
<s:textfield name="context" value="%{context}" />
</td>
<td>
<a
href='<s:url action="delVoteContext"><s:param name="voteId" value="#session.vote.voteId" /><s:param name="votecontextId" value="votecontextId" /></s:url>'><s:text name="del"/></a>
</td>
</tr>
</s:iterator>
</table>
<s:property value="%{getText('typeofvote')}" />
<s:radio list="#{'1':'单选','0':'多选'}" name="type"
value="#session.vote.type" />
<br>
<s:property value="%{getText('publishofvote')}" />
<s:radio list="#{'1':'是','0':'否'}" name="publish"
value="#session.vote.publish" />
<br>
<s:submit key="update" />
</s:form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -