Compare commits

...

2 Commits

Author SHA1 Message Date
Argo-MacBookPro acfe63ae4c 界面调整:更改字典查询区域为两行 2018-05-05 18:50:38 +08:00
sunnian a6838b6fe1 更新代码:适配2013版本编译器 2018-05-05 13:06:28 +08:00
3 changed files with 12 additions and 11 deletions

View File

@ -17,11 +17,11 @@ namespace Bootstrap.Admin.Models
UserName = user.UserName; UserName = user.UserName;
Css = user.Css; Css = user.Css;
} }
public string UserName { get; } public string UserName { get; private set; }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public string DisplayName { get; } public string DisplayName { get; private set; }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -29,10 +29,10 @@ namespace Bootstrap.Admin.Models
/// <summary> /// <summary>
/// 获得/设置 用户头像地址 /// 获得/设置 用户头像地址
/// </summary> /// </summary>
public string Icon { get; } public string Icon { get; private set; }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public string Css { get; } public string Css { get; private set; }
} }
} }

View File

@ -14,16 +14,17 @@ namespace Bootstrap.Admin.Models
/// <summary> /// <summary>
/// 获得/设置 头像文件大小 /// 获得/设置 头像文件大小
/// </summary> /// </summary>
public long Size { get; } public long Size { get; private set; }
/// <summary> /// <summary>
/// 获得 系统配置的所有样式表 /// 获得 系统配置的所有样式表
/// </summary> /// </summary>
public IEnumerable<BootstrapDict> Csss { get; } public IEnumerable<BootstrapDict> Csss { get; private set; }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
/// <param name="url"></param> /// <param name="url"></param>
public ProfilesModel(string url) : base(url) public ProfilesModel(string url)
: base(url)
{ {
var fileName = HttpContext.Current.Server.MapPath(Icon); var fileName = HttpContext.Current.Server.MapPath(Icon);
if (File.Exists(fileName)) if (File.Exists(fileName))

View File

@ -10,15 +10,15 @@
@section query { @section query {
<form class="form-inline" role="form"> <form class="form-inline" role="form">
<div class="row"> <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> <label class="control-label" for="txt_dict_cate">字典标签</label>
<input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" /> <input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" />
</div> </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> <label class="control-label" for="txt_dict_name">字典名称</label>
<input type="text" class="form-control" id="txt_dict_name" /> <input type="text" class="form-control" id="txt_dict_name" />
</div> </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> <label class="control-label" for="txt_dict_define">字典类别</label>
<div class="dropdown lgbDropdown"> <div class="dropdown lgbDropdown">
<a id="txt_dict_define" class="btn btn-success" data-toggle="dropdown"> <a id="txt_dict_define" class="btn btn-success" data-toggle="dropdown">
@ -33,7 +33,7 @@
</ul> </ul>
</div> </div>
</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> <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>
</div> </div>