Skip to content

Commit

Permalink
DNNCommunity#803 Fix for Boostrap Forum view Lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Breumelhof committed May 14, 2024
1 parent 8f807bf commit fbdf91c
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 62 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
// Yes some of these could be done using Bootstrap classes, but are more efficient by overruling them

// Bootstrap 4
.table {
.dcf-th,

tbody+tbody {
border-width: 1px !important;
border-width: 0 !important;
}

thead th{
border-bottom-width: 1px !important
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<%@ Register TagPrefix="af" Assembly="DotNetNuke.Modules.ActiveForums" Namespace="DotNetNuke.Modules.ActiveForums.Controls"%>
<div class="dcf-forum-view">
<div class="dcf-forum-view">
[BREADCRUMB]
[GROUPSECTION]
<div class="dcf-forums">
<div class="dcf-group-title-wrap d-flex align-items-center py-2">
<h3 class="dcf-group-title h5 flex-grow-1">[RESX:Group]: [GROUPNAME]</h3>
<a class="bs-collapse" data-toggle="collapse" href="#forum-group-[FORUMGROUPID]" role="button" data-bs-toggle="collapse">
<i class="fa fa-chevron-circle-down fa-lg"></i>
</a>
</div>
<div class="dcf-forums">
<div class="dcf-group-title-wrap d-flex align-items-center py-2">
<h3 class="dcf-group-title h5 flex-grow-1">[RESX:Group]: [GROUPNAME]</h3>
<a class="bs-collapse" data-toggle="collapse" href="#forum-group-[FORUMGROUPID]" role="button" data-bs-toggle="collapse">
<i class="fa fa-chevron-circle-down fa-lg"></i>
</a>
</div>

[GROUP]
<div id="forum-group-[FORUMGROUPID]" class="dcf-forums-group collapse show">
Expand All @@ -19,74 +19,86 @@
<div class="dcf-th-text">[RESX:FORUMHEADER]</div>
</th>
<th scope="col" class="dcf-th dcf-col-topics">
<div class="dcf-icon-text"><i class="fa fa-files-o"></i><span class="dcf-link-text">[RESX:TOPICSHEADER]</span></div>
<div class="dcf-icon-text">
<i class="fa fa-files-o"></i>
<span class="dcf-link-text">[RESX:TOPICSHEADER]</span>
</div>
</th>
<th scope="col" class="dcf-th dcf-col-replies">
<div class="dcf-icon-text"><i class="fa fa-reply"></i><span class="dcf-link-text">[RESX:REPLIESHEADER]</span></div>
<div class="dcf-icon-text">
<i class="fa fa-reply"></i>
<span class="dcf-link-text">[RESX:REPLIESHEADER]</span>
</div>
</th>
<th scope="col" class="dcf-th dcf-col-subscribers">
<div class="dcf-icon-text"><i class="fa fa-envelope-o"></i><span class="dcf-link-text">[RESX:SUBSCRIBERS]</span></div>
<div class="dcf-icon-text">
<i class="fa fa-envelope-o"></i>
<span class="dcf-link-text">[RESX:SUBSCRIBERS]</span>
</div>
</th>
<th scope="col" class="dcf-th dcf-col-last-post w-25">
<div class="dcf-icon-text"><i class="fa fa-file-o"></i><span class="dcf-link-text">[RESX:LASTPOSTHEADER]</span></div>
<div class="dcf-icon-text">
<i class="fa fa-file-o"></i>
<span class="dcf-link-text">[RESX:LASTPOSTHEADER]</span>
</div>
</th>
</tr>
</thead>
[FORUMS]
<tbody>
<tr class="dcf-table-body-row">

<td class="dcf-col dcf-col-text d-flex border-0">
[FORUMICONCSS]
<div class="dcf-forum-title-text">
<h4 class="dcf-forum-title h5 mt-0 mb-2">[FORUMNAME]</h4>
<div class="dcf-forum-description">[FORUMDESCRIPTION]</div>
</div>

</td>
<td class="dcf-col dcf-col-topics border-0">[TOTALTOPICS] </td>
<td class="dcf-col dcf-col-replies">[TOTALREPLIES]</td>
<td class="dcf-col dcf-col-subscribers">[FORUMSUBSCRIBERCOUNT]</td>
<td class="dcf-col dcf-col-last-post">
<span class="dcf-lastpost-subject">[LASTPOSTSUBJECT:25]</span>
<span class="dcf-lastpost-author">[RESX:BY] [DISPLAYNAME]</span>
<span class="dcf-lastpost-date">[LASTPOSTDATE]</span>
</td>
</tr>
<tr class="dcf-table-body-row">
<td class="dcf-col dcf-col-text">
<div class="d-flex">
[FORUMICONCSS]
<div class="dcf-forum-title-text">
<h4 class="dcf-forum-title h5 mt-0 mb-2">[FORUMNAME]</h4>
<div class="dcf-forum-description">[FORUMDESCRIPTION]</div>
</div>
</div>
</td>
<td class="dcf-col dcf-col-topics">[TOTALTOPICS] </td>
<td class="dcf-col dcf-col-replies">[TOTALREPLIES]</td>
<td class="dcf-col dcf-col-subscribers">[FORUMSUBSCRIBERCOUNT]</td>
<td class="dcf-col dcf-col-last-post">
<span class="dcf-lastpost-subject">[LASTPOSTSUBJECT:25]</span>
<span class="dcf-lastpost-author">[RESX:BY] [DISPLAYNAME]</span>
<span class="dcf-lastpost-date">[LASTPOSTDATE]</span>
</td>
</tr>

[SUBFORUMS]
<!-- <tr class="dcf-table-body-row dcf-sub-forums">
<!-- <tr class="dcf-table-body-row dcf-sub-forums">
<td class="dcf-col dcf-col-icon"></td>
<td class="dcf-col" colspan="5">
<h5 class="dcf-sub-forum-title">Child Forums</h5>
</td>
</tr> -->

<tr class="dcf-table-body-row dcf-sub-forums">


<td class="dcf-col dcf-col-icon"></td>
<td class="dcf-col dcf-col-text">
<span class="aftopictitle">[FORUMNAME]</span>
<span class="aftopicsubtitle">[FORUMDESCRIPTION]</span>
</td>
<td class="dcf-col dcf-col-topics">[TOTALTOPICS]</td>
<td class="dcf-col dcf-col-replies">[TOTALREPLIES]</td>
<td class="dcf-col dcf-col-subscribers">[FORUMSUBSCRIBERCOUNT]</td>
<td class="dcf-col dcf-col-last-post"><div class="af_lastpost" style="white-space:nowrap;">[LASTPOSTSUBJECT:25]<br />[RESX:BY] [DISPLAYNAME]<br />[LASTPOSTDATE]</div></td>
</tr>
<tr class="dcf-table-body-row dcf-sub-forums">
<td class="dcf-col dcf-col-icon"></td>
<td class="dcf-col dcf-col-text">
<span class="aftopictitle">[FORUMNAME]</span>
<span class="aftopicsubtitle">[FORUMDESCRIPTION]</span>
</td>
<td class="dcf-col dcf-col-topics">[TOTALTOPICS]</td>
<td class="dcf-col dcf-col-replies">[TOTALREPLIES]</td>
<td class="dcf-col dcf-col-subscribers">[FORUMSUBSCRIBERCOUNT]</td>
<td class="dcf-col dcf-col-last-post">
<div class="af_lastpost" style="white-space:nowrap;">[LASTPOSTSUBJECT:25]
<br />[RESX:BY] [DISPLAYNAME]
<br />[LASTPOSTDATE]
</div>
</td>
</tr>
[/SUBFORUMS]
</tbody>
</tbody>
[/FORUMS]
</table>
</table>
</div>
[/GROUP]


</div>
</div>
[/GROUPSECTION]
<!-- Who's online -->
<!-- Who's online -->
[WHOSONLINE]
<!-- Jump To -->
<div style="text-align:right;">[JUMPTO]</div>
</div>
<!-- Jump To -->
<div style="text-align:right;">[JUMPTO]</div>
</div>
Binary file not shown.
6 changes: 4 additions & 2 deletions Dnn.CommunityForums/themes/community-bootstrap/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fbdf91c

Please sign in to comment.