-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
161 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
COMCMS.Web/Areas/AdminCP/Views/Permission/EditEventKey.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@model TargetEvent | ||
@{ | ||
ViewBag.title = "查看/编辑权限事件"; | ||
} | ||
|
||
<div class="wrapper wrapper-content"> | ||
<div class="ibox float-e-margins"> | ||
<div class="ibox-title"> | ||
<h5>@(ViewBag.title)</h5> | ||
<div class="ibox-tools"> | ||
</div> | ||
</div> | ||
<div class="ibox-content"> | ||
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "editEventKeyForm", @class = "form-horizontal m-t" })) | ||
{ | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">事件key:</label> | ||
<div class="col-sm-8"> | ||
<input id="EventKey" name="EventKey" minlength="2" maxlength="50" type="text" class="form-control" required aria-required="true" value="@Model.EventKey"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">事件名称:</label> | ||
<div class="col-sm-8"> | ||
<input id="EventName" type="text" class="form-control" name="EventName" required aria-required="true" value="@Model.EventName"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">排序:</label> | ||
<div class="col-sm-8"> | ||
<input id="Rank" type="number" class="form-control" name="Rank" value="@Model.Rank" required aria-required="true"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label">禁用:</label> | ||
<div class="col-sm-8"> | ||
<label class="checkbox-inline i-checks"> | ||
<input type="checkbox" value="1" name="IsDisable" id="IsDisable" @(Model.IsDisable == 1 ? "checked" : "")> 禁用 | ||
</label> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-sm-4 col-sm-offset-3"> | ||
<button class="btn btn-primary" type="submit"><i class="fa fa-save"></i> 提交 </button> | ||
<button class="btn btn-default" type="button" onclick="closethisdialog();"><i class="fa fa-close"></i> 取消 </button> | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
</div> | ||
</div> | ||
<script> | ||
$(function () { | ||
DoPost("editEventKeyForm"); | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters