<%@ Page Language="c#" Inherits="WebApp.Wpdcc.manageBasic" CodeBehind="manageBasic.aspx.cs" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>ManageSystemProperty</title>
    <meta name="description" content="overview &amp; stats" />
	
    <!--#include file = "../assets/head.htm" -->
    
</head>
<body>
    <form id="system" method="post" runat="server" class="form-horizontal">
    
    <div class="main-content-inner">
			<!-- #section:basics/content.breadcrumbs -->
			<div class="breadcrumbs" id="breadcrumbs">
				<script type="text/javascript">
					try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
				</script>

				<ul class="breadcrumb">
					<li>
						<i class="ace-icon fa fa-home home-icon"></i>
						主页
					</li>
					<li>站群基本信息</li>
					<li class="active">参数配置</li>
				</ul><!-- /.breadcrumb -->


				<!-- /section:basics/content.searchbox -->
			</div>

			<!-- /section:basics/content.breadcrumbs -->
			
            <div class="page-content">

				<!-- /section:settings.box -->

				<!-- PAGE CONTENT BEGINS -->
				<div class="row">
				
				<div class="col-xs-12">
				
				<!-- #section:elements.tab -->
				<div class="tabbable">
					<ul class="nav nav-tabs">
						<li class="">
							<a href="manageunitinfo.aspx" target="_self">
								<i class="green ace-icon fa fa-home bigger-120"></i>
								站群基本信息
							</a>
						</li>

						<li class="active">
							<a href="#manageBasic" >
								站群系统参数
							</a>
						</li>
						
						<li class="">
							<a href="manageSSO.aspx" target="_self">
								单点登录配置
							</a>
						</li>
						
						<li class="">
						    <a href="manageSMTP.aspx" target="_self">
							    电子邮箱参数
						    </a>
					    </li>
									
					</ul>
					
					<div class="tab-content">
						<div class="tab-pane fade active in">
										
									    <!-- #section:elements.form -->
									    <div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtFWCycle">发文量监控周期（天）</label>

										    <div class="col-sm-9">
								                <!-- #section:plugins/fuelux.spinner -->
								                <asp:TextBox ID="txtFWCycle" runat="server" CssClass="input-sm" notnull="true" MaxLength="100" msgname="发文量监控周期"></asp:TextBox>
												<div class="space-6"></div>
												<!-- /section:plugins/fuelux.spinner -->
										    </div>
									    </div>
									    
									    <div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtFWStandard">每周期内发文量标准（篇）</label>

										    <div class="col-sm-9">
											    <asp:TextBox ID="txtFWStandard" runat="server" CssClass="input-sm" notnull="true" MaxLength="100" msgname="每周期内发文量标准"></asp:TextBox>
											    <div class="space-6"></div>
										    </div>
									    </div>
									    
									    <!-- /section:elements.form -->
                                        
										<div class="clearfix">
										    <div class="col-md-offset-3 col-md-2">
                                                <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="btn btn-sm btn-primary" OnClientClick="return checkall()" OnClick="btn_Click" ></asp:Button>
                                                &nbsp;&nbsp;&nbsp;
											    <asp:Button ID="btnReset" CssClass="btn btn-sm btn-primary" runat="server" Text="重载" OnClick="btn_Click"></asp:Button>
										    </div>
										    <div id="showMessage" ></div>
									    </div>
										
						</div>
					</div>
				
				</div>

				<!-- /section:elements.tab -->
			    </div>
			
			    </div>
		    <!-- PAGE CONTENT ENDS -->
            </div>
        </div>
		
		<!--#include file = "../assets/foot.htm" -->
		
		<!-- inline scripts related to this page -->
        <script type="text/javascript">
            function checkall() {
                //验证
                if (checkAllValidate()) {
                    return true;
                } else {
                    return false;
                }
            }

            function showMessage(i) {
                $('#showMessage').html("<div class=\"alert alert-block alert-success col-sm-2\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\"><i class=\"ace-icon fa fa-times\"></i></button><i class=\"ace-icon fa fa-check green\"></i>保存成功</div>");

            }
        </script>
		<script type="text/javascript">
			jQuery(function($) {

			$('#txtFWCycle').ace_spinner({value:0,min:0,max:9999,step:1, touch_spinner: true, icon_up:'ace-icon fa fa-caret-up bigger-110', icon_down:'ace-icon fa fa-caret-down bigger-110'});
			$('#txtFWStandard').ace_spinner({value:0,min:0,max:9999,step:1, touch_spinner: true, icon_up:'ace-icon fa fa-caret-up bigger-110', icon_down:'ace-icon fa fa-caret-down bigger-110'});
        });
        
		</script>

    </form>
</body>
</html>