PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/admin/default.cshtml

#
Razor | 64 lines | 60 code | 4 blank | 0 comment | 0 complexity | ad5e02bab8f5988a7bc447babd81b21f MD5 | raw file
 1@using BlogEngine.Core
 2@using BlogEngine.Core.Web.Extensions
 3
 4@{
 5    Page.Title = Resources.labels.dashboard;
 6    Layout = "_Layout.cshtml";
 7}
 8
 9<div class="content-box-outer">
10    <div class="content-widgets-box-full">
11        <div id="stats" style="width:24%;">
12            <div class="dashboardStats">
13                <div class="rounded">
14                    <h2>@Resources.labels.stats</h2>
15                    <ul>
16                        @Helpers.DashboardHelper.GetStats()
17                    </ul>
18                </div>
19            </div>
20            <div class="dashboardWidget rounded">
21                <div class="rounded">
22                    <h2>@Resources.labels.trash</h2>
23                    <a class="viewAction" href="Trash.aspx">@Resources.labels.viewAll</a> &nbsp;&nbsp;
24                    <a class="deleteAction" href="#" onclick="return ProcessTrash('Purge', 'All');">@Resources.labels.emptyTrash</a>
25                </div>
26            </div>
27        </div>
28        <div id="widgets" style="width:38%;">
29            <div class="dashboardWidget">
30                <div class="rounded">
31                    <h2>@Resources.labels.draftPosts<a class="addNew" href="Posts/Add_entry.aspx">@Resources.labels.writeNewPost</a></h2>
32                    <ul id="DraftPosts">
33                        @Helpers.DashboardHelper.GetDraftPosts()
34                    </ul>
35                </div>
36            </div>
37            <div class="dashboardWidget rounded">
38                <div class="rounded">
39                    <h2>@Resources.labels.draftPages<a class="addNew" href="Pages/EditPage.aspx">@Resources.labels.addNewPage</a></h2>
40                    <ul id="DraftPages">
41                        @Helpers.DashboardHelper.GetDraftPages()
42                    </ul>
43                </div>
44            </div>
45            
46            <div class="dashboardWidget rounded">
47                <div class="rounded">
48                    @Helpers.DashboardHelper.GetLatestComments()
49                </div>
50            </div>
51            
52            <div class="clear"></div>
53        </div>
54        <div id="widgets2" style="width:38%;">
55            <div class="dashboardWidget rounded">
56                <div class="rounded">
57                    <h2>@Resources.labels.latestFromTheGallery</h2>
58                    @Helpers.DashboardHelper.GetLatestPackages()
59                </div>
60            </div>
61        </div>
62        <div class="clear"></div>
63    </div>
64</div>