Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Argo-MacBookPro | acfe63ae4c | |
sunnian | a6838b6fe1 |
|
@ -17,11 +17,11 @@ namespace Bootstrap.Admin.Models
|
|||
UserName = user.UserName;
|
||||
Css = user.Css;
|
||||
}
|
||||
public string UserName { get; }
|
||||
public string UserName { get; private set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string DisplayName { get; }
|
||||
public string DisplayName { get; private set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
@ -29,10 +29,10 @@ namespace Bootstrap.Admin.Models
|
|||
/// <summary>
|
||||
/// 获得/设置 用户头像地址
|
||||
/// </summary>
|
||||
public string Icon { get; }
|
||||
public string Icon { get; private set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Css { get; }
|
||||
public string Css { get; private set; }
|
||||
}
|
||||
}
|
|
@ -14,16 +14,17 @@ namespace Bootstrap.Admin.Models
|
|||
/// <summary>
|
||||
/// 获得/设置 头像文件大小
|
||||
/// </summary>
|
||||
public long Size { get; }
|
||||
public long Size { get; private set; }
|
||||
/// <summary>
|
||||
/// 获得 系统配置的所有样式表
|
||||
/// </summary>
|
||||
public IEnumerable<BootstrapDict> Csss { get; }
|
||||
public IEnumerable<BootstrapDict> Csss { get; private set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
public ProfilesModel(string url) : base(url)
|
||||
public ProfilesModel(string url)
|
||||
: base(url)
|
||||
{
|
||||
var fileName = HttpContext.Current.Server.MapPath(Icon);
|
||||
if (File.Exists(fileName))
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
@section query {
|
||||
<form class="form-inline" role="form">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6 col-lg-3">
|
||||
<div class="form-group col-sm-6 col-md-5">
|
||||
<label class="control-label" for="txt_dict_cate">字典标签</label>
|
||||
<input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-lg-3">
|
||||
<div class="form-group col-sm-6 col-md-5">
|
||||
<label class="control-label" for="txt_dict_name">字典名称</label>
|
||||
<input type="text" class="form-control" id="txt_dict_name" />
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-lg-3">
|
||||
<div class="form-group col-sm-6 col-md-5">
|
||||
<label class="control-label" for="txt_dict_define">字典类别</label>
|
||||
<div class="dropdown lgbDropdown">
|
||||
<a id="txt_dict_define" class="btn btn-success" data-toggle="dropdown">
|
||||
|
@ -33,7 +33,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-sm-6 col-lg-3">
|
||||
<div class="form-group col-sm-6 col-md-5">
|
||||
<button type="button" id="btn_query" class="btn btn-primary form-control"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue