NFine.Web/Areas/SystemSecurity/Views/FilterIP/Details.cshtml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@{
    ViewBag.Title = "Form";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
    var keyValue = $.request("keyValue");
    $(function () {
        $("#F_Type").bindSelect()
        $.ajax({
            url: "/SystemSecurity/FilterIP/GetFormJson",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                $("#form1").formSerialize(data);
                $("#form1").find('.form-control,select,input').attr('readonly', 'readonly');
                $("#form1").find('div.ckbox label').attr('for', '');
            }
        });
    });

</script>

<form id="form1">
    <div style="margin-bottom: 0px; border-radius: 0px;" class="alert alert-warning alert-dismissable">
        <strong>注意:</strong>&nbsp;IP地址格式:192.168.0.1;192.168.0.*
    </div>
    <div style="padding-top: 20px; margin-right: 20px;">
        <table class="form">
            <tr>
                <th class="formTitle">策略类型</th>
                <td class="formValue">
                    <select id="F_Type" name="F_Type" class="form-control">
                        <option value="">==请选择==</option>
                        <option value="true">允许访问</option>
                        <option value="false">拒绝访问</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th class="formTitle">起始IP</th>
                <td class="formValue">
                    <input id="F_StartIP" name="F_StartIP" type="text" class="form-control" />
                </td>
            </tr>
            <tr>
                <th class="formTitle">结束IP</th>
                <td class="formValue">
                    <input id="F_EndIP" name="F_EndIP" type="text" class="form-control" />
                </td>
            </tr>
            <tr>
                <th class="formTitle" style="height: 35px;">选项</th>
                <td class="formValue" style="padding-top: 1px;">
                    <div class="ckbox">
                        <input id="F_EnabledMark" name="F_EnabledMark" type="checkbox" checked="checked"><label for="F_EnabledMark">有效</label>
                    </div>
                </td>
            </tr>
            <tr>
后面还有 35 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。