mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-08-24 07:22:55 +08:00
模块添加按钮
This commit is contained in:
parent
37a6807851
commit
3657cb2add
@ -89,7 +89,12 @@ namespace OpenAuth.Mvc.Controllers
|
||||
+ " id='" + element.DomId + "' "
|
||||
+ " class='btn btn-sm " + element.Class + "' "
|
||||
+ " onclick='" + element.Script + "' " + element.Attr
|
||||
+ ">" + element.Name + "</button>");
|
||||
+ ">");
|
||||
if (!string.IsNullOrEmpty(element.Icon))
|
||||
{
|
||||
sb.Append("<i class='ace-icon fa fa-" + element.Icon + "'></i>");
|
||||
}
|
||||
sb.Append(element.Name + "</button>");
|
||||
}
|
||||
ViewBag.Buttons = sb.ToString();
|
||||
return View();
|
||||
|
Loading…
Reference in New Issue
Block a user