<%@include file="/WEB-INF/common/layouts/common.jsp" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>${entity.id}</title>
</head>
<body>
<form id="input_form" class="form-horizontal valid"
      action="${ctx}/notice<c:if test="${action=='edit'}">/${entity.id}</c:if>"
      method="post">

    <!-- 面包屑 begin -->
    <div class="row-fluid">
        <div class="span12">
            <ul class="breadcrumb">
                <li>
                    <span class="divider" style="color:#26a0da;font-weight:bold;">/</span>
                    <a href="${ctx}/notice/viewList">公告表列表</a>
                </li>
                <li class="active">
                    <span class="divider" style="color:#26a0da;font-weight:bold;">/</span>
                    <c:choose>
                        <c:when test="${action=='create'}">
                            <span class="inline">新增</span>
                        </c:when>
                        <c:when test="${action=='edit'}">
                            <span class="inline"> ${entity.id} </span>
                        </c:when>
                        <c:otherwise>
                            <span class="inline"> ${entity.id}</span>
                        </c:otherwise>
                    </c:choose>
                </li>
            </ul>
        </div>
    </div>
    <!-- 面包屑 end -->
    <house365:flushMessage />

    <div class="row${fluid}">
        <div class="span10 offset1">
            <div class="form-horizontal">
                <div class="house365Border">
                    <div class="row-fluid">
                        <div class="span10">
                            <span>
                                <c:if test="${entity.red}">
                            <font color="red"><b>
                        </c:if>
                                ${entity.title}
                            <c:if test="${entity.top}">
                            【置顶】
                        </c:if>
                        <c:if test="${entity.red}">
                            </b></font>
                        </c:if>
                            </span>
                            <span style="float: right;">
                                <img src="${ctx}/resources/image/u67.png">
                                ${entity.createUsername}
                                </img>
                                <img src="${ctx}/resources/image/u69.png">
                                <f:formatDate value='${entity.createTime}' pattern='yyyy-MM-dd HH:mm:ss'/>
                                </img>
                            </span>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span12">
                            <ul class="nav nav-list">
                                <li class="divider"></li>
                            </ul>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span10">
                            ${entity.content}
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>

</body>

</html>
