PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/admin/Extensions/Settings.ascx

#
ASP.NET | 34 lines | 30 code | 4 blank | 0 comment | 1 complexity | 87efe9fe1abfd831c4660b96017232c8 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. <%@ Control Language="C#" AutoEventWireup="true" Inherits="Admin.Extensions.UserControlSettings" Codebehind="~/admin/Extensions/Settings.ascx.cs" %>
  2. <h4><%=SettingName%> <%=Resources.labels.settings %></h4>
  3. <div id="ErrorMsg" runat="server" style="color:Red; padding:5px 0 5px 0; display:block;"></div>
  4. <div id="InfoMsg" runat="server" style="color:Green; padding:5px 0 5px 0; display:block;"></div>
  5. <% if(!string.IsNullOrEmpty(this.Settings.Help)) { %>
  6. <div class="alert alert-info"><%=this.Settings.Help%></div>
  7. <%} %>
  8. <div class="form-horizontal">
  9. <asp:PlaceHolder ID="phAddForm" runat="server"></asp:PlaceHolder>
  10. </div>
  11. <div style="margin: 10px 0; padding-bottom: 10px; border-bottom: 1px solid #ccc; display:block">
  12. <asp:Button CssClass="btn btn-success btn-header" runat="server" ID="btnAdd" ValidationGroup="new" />
  13. </div>
  14. <asp:GridView ID="grid"
  15. runat="server"
  16. class="beTable"
  17. GridLines="None"
  18. AutoGenerateColumns="False"
  19. HeaderStyle-BackColor="#f9f9f9"
  20. AlternatingRowStyle-BackColor="#f7f7f7"
  21. CellPadding="3"
  22. HeaderStyle-HorizontalAlign="Left"
  23. BorderStyle="Ridge"
  24. BorderWidth="1"
  25. Width="100%"
  26. AllowPaging="True"
  27. AllowSorting="True"
  28. onpageindexchanging="GridPageIndexChanging"
  29. OnRowDataBound="GridRowDataBound" >
  30. </asp:GridView>