-
Notifications
You must be signed in to change notification settings - Fork 0
/
Index.aspx
53 lines (51 loc) · 2.57 KB
/
Index.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<%@ Page Title="" Language="C#" MasterPageFile="~/Layout.master" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="Index" %>
<asp:Content ID="ContentBody" ContentPlaceHolderID="ContentPlaceHolderBody" runat="Server">
<div>
<asp:ListView ID="ListViewCategories" runat="server" OnItemDataBound="ListViewCategories_ItemDataBound">
<ItemTemplate>
<section class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">
<%#Eval("Name")%>
</h2>
</div>
<asp:ListView ID="ListViewForums" runat="server" OnItemDataBound="ListViewForums_ItemDataBound">
<ItemTemplate>
<div class="panel-body">
<div class="col-sm-8">
<h3><a href="ViewForum.aspx?id=<%#Eval("Id")%>"><%#Eval("Name")%></a></h3>
<asp:Panel ID="PanelSubforums" runat="server" CssClass="asp-panel-inline">
<span class="pull-left">∟</span>
<asp:BulletedList ID="BulletedListSubforums" runat="server" CssClass="list-inline list-subforums" DisplayMode="HyperLink"></asp:BulletedList>
</asp:Panel>
<span class="help-block"><%#Eval("Description")%></span>
</div>
<div class="col-sm-2">
<strong><asp:Literal ID="LiteralTopicCount" runat="server" Text="0"></asp:Literal></strong> topics<br />
<strong><asp:Literal ID="LiteralPostCount" runat="server" Text="0"></asp:Literal></strong> replies<br />
</div>
<div class="col-sm-2">
<asp:HyperLink ID="HyperLinkLastPost" runat="server"></asp:HyperLink><br />
<asp:Label ID="LabelLastPostInformation" runat="server" CssClass="text-muted"></asp:Label>
</div>
</div>
</ItemTemplate>
</asp:ListView>
</section>
</ItemTemplate>
</asp:ListView>
<footer class="panel panel-default">
<div class="panel-body text-center">
<div class="col-sm-4">
<strong class="badge"><asp:Literal ID="LiteralTotalPosts" runat="server" Text="0"></asp:Literal></strong> total posts
</div>
<div class="col-sm-4">
<strong class="badge"><asp:Literal ID="LiteralTotalMembers" runat="server" Text="0"></asp:Literal></strong> total members
</div>
<div class="col-sm-4">
<strong class="badge"><asp:Literal ID="LiteralNewestMember" runat="server" Text="Unknown"></asp:Literal></strong> newest member
</div>
</div>
</footer>
</div>
</asp:Content>