Skip to content

Commit

Permalink
Merge pull request #142 from DNNCommunity/develop
Browse files Browse the repository at this point in the history
Merge `develop` into `main` for `2.0.0` release
  • Loading branch information
david-poindexter authored Feb 28, 2024
2 parents 299748b + aa0d61f commit d055adc
Show file tree
Hide file tree
Showing 377 changed files with 11,023 additions and 17,438 deletions.
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/documentation-change-request.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/help-and-other-questions.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
build/
dist/
/__Skinpack/[0-9]*
/vendors
/node_modules
thumbnail*.*
46 changes: 0 additions & 46 deletions CODE_OF_CONDUCT.md

This file was deleted.

30 changes: 26 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# DNNCommunityTheme
This repository contains source code for the theme used on [dnncommunity.org](http://dnncommunity.org).
# DNNCMS DNN Community Site Theme
## Bootstrap 5

![DNNCMS Community Site Theme Preview](default.jpg)

## About
New (2023) DNN community site Theme.


## Notes:

- The Theme expects to be in a folder named "DNN-Community-2024" (same for the containers).
- The Theme uses Gulp to parse the SCSS.
- Containers are "on change" copied from the "_src/Containers" folder to the appropriate DNN container folder.
- The Gulp script assumes the name of your container folder is the same as the skin folder.
- The MS build script currently assumes you have the community build tasks installed en uses 7 Zip.

## Setup

- Fork the project
- Clone your Fork
- run: npm install
- run: npm Setup
- run: gulp



## Documentation
This theme was built using nvQuickTheme. Learn [how to use nvQuickTheme here](https://nvisionative.github.io/nvQuickTheme/).
7 changes: 7 additions & 0 deletions 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-2 pt-2 border-top border-1 border-light">
<a class="flex-grow-1" href="[author:parenturl]">[author:displayname]</a>
<div class="row justify-content-end text-nowrap">
<div class="col-12 authorList_stat text-end">[author:nrviews] <i class="fa fa-eye"></i></div>
<div class="col-12 authorList_stat text-end">[author:nrposts] <i class="fa fa-book"></i></div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
div.authorList_item {
div.authorList_item {
padding: 0x;
margin:0x;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions Templates/Blog/CommunityBlog/Kw.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<span class="dnnc-blog-tag d-inline-block"><a href="[term:link]" class="link-tag dnnc-blog-tag-link"><i class="fa fa-tag"
aria-hidden="true"></i>[term:localizedname]</a></span>
File renamed without changes.
File renamed without changes.
File renamed without changes.
48 changes: 48 additions & 0 deletions Templates/Blog/CommunityBlog/Post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<article class="bbs-listarticle">
<div class="supertitle">[subtemplate|Cat.html|categories]</div>
<h2><a href="[Post:link]">[post:localizedtitle]</a></h2>
<div class="row">
<div class="col-md-4">
[subtemplate|ListImage.html|post:hasimage]
</div>
<div class="col-md-8">
<div class="row">
<div class="col-md-12">
[post:localizedsummary]
</div>
</div>
<div class="col-md-12 dnnc-list-meta">
<ul class="list">
<li class="list-item d-flex flex-wrap">
<a href="[urls:module|true]author=[post:CreatedByUserID]"><i class="fa fa-user"
aria-hidden="true"></i>[post:DisplayName]</a>

<div class="list-item list-post-date ms-4"><i class="fa fa-calendar"></i>
<span data-time="[post:PublishedOnDate|yyyy-MM-dd HH:mm:ss]" class="moment">[post:PublishedOnDate|yyyy-MM-dd]
</span>
</div>

<div class="list-item list-comments ms-4"><i class="fa fa-comment"></i>
<span class="stat" title="[post:nrcomments] [resx:Comments]">[post:nrcomments]
</span>
</div>


</li>
<li class="list-item">[subtemplate|Kw.html|keywords]</li>

<!--
<li class="list-item "><i class="fa fa-eye"></i>
<div class="stat" title="[post:viewcount] [resx:Views]">[post:viewcount]</div>
</li>
-->

</ul>
</div>
</div>
<div class="clear"></div>
[if|1][Post:published][=]False[/if]
<div class="bg-danger">[resx:Unpublished]</div>
[endif|1]
</div>
</article>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
-ms-user-select: none;
user-select: none;
padding: .6em .8em;
font-size: 1.6rem
font-size: 1.1em
}

.ModBlogC .bbs-pager .bbs-pagination a {
Expand Down Expand Up @@ -275,4 +275,25 @@ a i {

.dnnc-list-meta div.stat, .dnnc-list-meta div.moment {
display: inline;
}
}

.dnnc-list-meta .list{

margin: 0;
padding: 1em 0;
}

.dnnc-list-meta .list li{
list-style-type: none;
padding-bottom: 0.5em;

}

.dnnc-list-meta .dnnc-blog-tag{
padding: 0.3em 0.5em 0.3em 0;
}

.dnnc-list-meta .dnnc-blog-tag-link{
white-space: nowrap;

}
File renamed without changes.
Loading

0 comments on commit d055adc

Please sign in to comment.