<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_MainTain.aspx.cs" Inherits="QiCms.Web.Admin.Admin_MainTain" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="QBSCmsContentPlaceHolder" runat="server">
<form id="TableForm" runat="server">
    <div class="tpl-content-wrapper">
        <ol class="am-breadcrumb">
        <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
        <li class="am-active">系统维护</li>
        </ol>
        <div class="tpl-portlet-components">
            <div class="am-g tpl-amazeui-form">
                <div class="am-form am-form-horizontal">
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">站点关闭通知：</label>
                        <div class="am-u-sm-9">
                            <textarea  name="MessageTxt" id="MessageTxt" style="width:90%;float:left;" rows="5" placeholder="关闭站点说明内容" runat="server"></textarea>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <div class="am-u-sm-9 am-u-sm-push-3">
                            <asp:Button ID="CloseBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="CloseBtn_Click" Text="关闭"/>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">当前站点状态：</label>
                        <div class="am-u-sm-9" style="margin-top:8px;">
                            <span><%= StateInfo %></span>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <div class="am-u-sm-9 am-u-sm-push-3">
                            <div class="am-text-danger" style="font-size:14px;margin-top: 10px; width: 100%;">
				                更新缓存会清除所有服务器缓存对象，<br />重建缓存其间可能会造成站点暂时无法访问。<br />
			                </div>
                            <asp:Button ID="UpdateCacheBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="UpdateCacheBtn_Click" Text="更新服务器缓存"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>
</asp:Content>
