Bootstrap 5 updates continued

This commit is contained in:
Joey Kimsey
2024-12-14 06:15:47 -05:00
parent 41426fda4e
commit de6d608857
44 changed files with 439 additions and 389 deletions

View File

@ -1,22 +1,23 @@
<div class="card">
<div class="card-header bg-secondary">
<h class="card-title"><span class="fa fa-fw fa-comment"></span> Comments</h3>
<span class="label label-primary">{count}</span>
<div class="card-header bg-secondary text-white d-flex align-items-center justify-content-between">
<h3 class="card-title mb-0">
<i class="fa fa-fw fa-comment"></i> Comments
</h3>
<span class="badge bg-primary">{count}</span>
</div>
<div class="card-body context-main-bg">
<ul class="list-group">
<div class="card-body bg-light">
<ul class="list-group list-group-flush">
{LOOP}
<li class="list-group-item">
<div class="row">
<div class="col-sm-2 col-md-12">
<img src="{ROOT_URL}{avatar}" class="img-circle img-responsive" alt="" />
<div class="d-flex align-items-start">
<div class="me-3">
<img src="{ROOT_URL}{avatar}" class="rounded-circle" alt="User Avatar" style="width: 50px; height: 50px;">
</div>
<div class="col-sm-10 col-md-12">
<div>
<div class="mic-info">
By: <a href="{ROOT_URL}home/profile/{author}">{authorName}</a> on {DTC date}{created}{/DTC}
</div>
<div>
<div class="mb-1">
<small class="text-muted">
By: <a href="{ROOT_URL}home/profile/{author}" class="text-decoration-none">{authorName}</a> on {DTC date}{created}{/DTC}
</small>
</div>
<div class="comment-text">
{content}
@ -28,12 +29,8 @@
{/LOOP}
{ALT}
<li class="list-group-item">
<div class="row">
<div class="col-sm-10 col-md-12">
<div class="comment-text">
<p class="text-center">Be the first to comment.</p>
</div>
</div>
<div class="text-center">
<p class="mb-0">Be the first to comment.</p>
</div>
</li>
{/ALT}