public static BootstrapActionLinkButton ActionLinkButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionMap siteMapAction) where TModel : class
 {
     return(bootstrap.ActionLinkButton(siteMapAction.Title, siteMapAction.ActionName, siteMapAction.ControllerName).RouteValues(siteMapAction.RouteValues));
 }
 public static BootstrapActionLinkButton DeleteButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionMap result) where TModel : class
 {
     return(bootstrap.ActionLinkButton(result).Style(ButtonStyle.Danger).PrependIcon(FontAwesome.remove));
 }
 public static BootstrapActionLinkButton BackButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionMap result) where TModel : class
 {
     return(bootstrap.ActionLinkButton(result).Title("Wstecz").PrependIcon(FontAwesome.arrow_left));
 }
 public static BootstrapActionLinkButton EditButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionMap result) where TModel : class
 {
     return(bootstrap.ActionLinkButton(result).Style(ButtonStyle.Warning).PrependIcon(FontAwesome.pencil));
 }
 public static BootstrapActionLinkButton ListButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionMap result) where TModel : class
 {
     return(bootstrap.ActionLinkButton(result).PrependIcon(FontAwesome.list).Style(ButtonStyle.Info).Text(result.Title));
 }
 public static BootstrapActionLinkButton AddButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionMap result) where TModel : class
 {
     return(bootstrap.ActionLinkButton(result).Style(ButtonStyle.Success).PrependIcon(FontAwesome.plus));
 }
Пример #7
0
 public static BootstrapActionLinkButton BackButton <TModel>(this BootstrapBase <TModel> bootstrap, ActionResult result) where TModel : class
 {
     return(bootstrap.ActionLinkButton("Powrót", result).PrependIcon(FontAwesome.arrow_left));
 }
Пример #8
0
 public static BootstrapActionLinkButton ListButton <TModel>(this BootstrapBase <TModel> bootstrap, string linkText, ActionResult result) where TModel : class
 {
     return(bootstrap.ActionLinkButton(linkText, result).Title(linkText).PrependIcon(FontAwesome.list).Style(ButtonStyle.Warning));
 }