BootstrapAdmin/Bootstrap.Admin/Views/Admin/Settings.cshtml

67 lines
3.1 KiB
Plaintext
Raw Normal View History

2018-06-07 00:45:47 +08:00
@model Bootstrap.Admin.Models.NavigatorBarModel
2016-11-02 00:59:58 +08:00
@{
ViewBag.Title = "网站设置";
2016-11-02 00:59:58 +08:00
Layout = "~/Views/Shared/_Admin.cshtml";
}
@section Javascript {
2018-06-07 00:45:47 +08:00
<script src="~/js/longbow.dataentity.js"></script>
<script src="~/js/jquery.validate.js"></script>
<script src="~/js/longbow.validate.js"></script>
2018-06-07 00:45:47 +08:00
<script src="~/js/messages_zh.js"></script>
<script src="~/js/Settings.js"></script>
2016-11-04 16:06:40 +08:00
}
@section css {
2018-06-07 00:45:47 +08:00
<link href="~/css/tasks.css" rel="stylesheet" />
2016-11-02 00:59:58 +08:00
}
<div class="panel panel-default">
<div class="panel-heading">系统名称设置</div>
<div class="panel-body" data-toggle="LgbValidate" data-valid-button="#sysSave">
<div class="input-group form-group col-xs-12">
<input type="text" class="form-control" id="sysName" placeholder="请输入网站标题50字以内" value="@Model.Title" maxlength="50" data-valid="true" />
<span class="input-group-btn">
<button class="btn btn-default" type="button" data-method="title">保存</button>
</span>
</div>
2016-11-02 00:59:58 +08:00
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">页脚设置</div>
<div class="panel-body" data-toggle="LgbValidate" data-valid-button="#footSave">
<div class="input-group form-group col-xs-12">
<input type="text" class="form-control" id="sysFoot" placeholder="请输入网站页脚50字以内" value="@Model.Footer" maxlength="50" data-valid="true" />
<span class="input-group-btn">
<button class="btn btn-default" type="button" data-method="footer">保存</button>
</span>
</div>
2016-11-02 00:59:58 +08:00
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">网站样式</div>
<div class="panel-body">
<form id="CssDataForm" class="form-inline" name="CssDataForm">
<div class="row">
<div class="form-group col-xs-12">
<label class="control-label">网站样式</label>
<div class="dropdown lgbDropdown">
<a id="dictCssDefine" class="btn btn-success" data-toggle="dropdown" data-default-val="">
<span>默认样式</span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu" id="cssContainer">
<li><a href="#" data-val="">默认样式</a></li>
</ul>
</div>
<button class="btn btn-default pull-right" type="button" data-method="css">保存</button>
</div>
</div>
</form>
</div>
</div>
2016-11-04 16:06:40 +08:00
<div class="panel panel-default">
<div class="panel-heading">网站缓存<a id="refreshCache" href="#" class="pull-right fa fa-refresh" title="点击刷新" data-placement="left" role="tooltip"></a></div>
2016-11-04 16:06:40 +08:00
<div class="panel-body">
<div class="tasks-widget">
<ul id="sortable" class="task-list ui-sortable"></ul>
2016-11-04 16:06:40 +08:00
</div>
</div>
</div>