Skip to content

Commit

Permalink
Add blog author list template (DNNCommunity#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-poindexter authored Sep 5, 2022
1 parent 12ef992 commit 9597173
Show file tree
Hide file tree
Showing 70 changed files with 26 additions and 4 deletions.
4 changes: 2 additions & 2 deletions default.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

<div class="container">
<div class="row">
<div id="WideLeftPane" class="col-md-8 cpr-5" runat="server"></div>
<div id="NarrowRightPane" class="col-md-4 bg-light-grey cp-5" runat="server"></div>
<div id="WideLeftPane" class="col-lg-8 cpr-5" runat="server"></div>
<div id="NarrowRightPane" class="col-lg-4 bg-light-grey cp-5" runat="server"></div>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion manifest.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="9.0">
<packages>
<package name="nvisionative.DNNCommunityTheme" type="Skin" version="1.1.1">
<package name="nvisionative.DNNCommunityTheme" type="Skin" version="1.2.0">
<friendlyName>DNNCommunityTheme</friendlyName>
<description>A DNN Theme by and for the DNN Community</description>
<iconFile>MyIcon.png</iconFile>
Expand Down
2 changes: 1 addition & 1 deletion project-details.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"project": "DNNCommunityTheme",
"version": "1.1.1",
"version": "1.2.0",
"author": "David Poindexter",
"company": "nvisionative",
"url": "www.nvisionative.com",
Expand Down
7 changes: 7 additions & 0 deletions src/Templates/Blog/CommunityAuthorList/Author.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="authorList_item d-flex text-wrap w-100 mb-3 border-bottom border-1 border-light">
<a class="w-100" href="[author:parenturl]">[author:displayname]</a>
<div class="row mb-2 justify-content-end text-nowrap">
<div class="col-12 authorList_stat text-right">[author:nrviews] <i class="fa fa-eye"></i></div>
<div class="col-12 authorList_stat text-right">[author:nrposts] <i class="fa fa-book"></i></div>
</div>
</div>
3 changes: 3 additions & 0 deletions src/Templates/Blog/CommunityAuthorList/Template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div id="authorList[module:moduleid]" class="authorList_list">
[subtemplate|Author.html|authors]
</div>
12 changes: 12 additions & 0 deletions src/Templates/Blog/CommunityAuthorList/template.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
div.authorList_item {
padding: 0x;
margin:0x;
}

.authorList_stat {
color: #484848;
}

.authorList_list {
margin-bottom: 30px;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9597173

Please sign in to comment.