Skip to content

Commit 6eb77c3

Browse files
committed
chg: [UI] add btn forums explorer
1 parent e526bf1 commit 6eb77c3

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

var/www/templates/dashboard/objects_dashboard.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,31 @@ <h2 class="card-title">
9999
</div>
100100
</a>
101101
</div>
102+
<div class="text-center mt-3">
103+
<a class="btn btn-dark border-secondary" href="{{url_for('forums_explorer.forum_explorer_forums')}}">
104+
<div class="card-body">
105+
<h2 class="card-title">
106+
<svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
107+
<path d="M0 0h24v24H0z" fill="none" />
108+
<path fill="currentColor" d="M17 12V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v14l4-4h10a1 1 0 0 0 1-1m4-6h-2v9H6v2a1 1 0 0 0 1 1h11l4 4V7a1 1 0 0 0-1-1" />
109+
</svg>
110+
<b>Forums Explorer</b>
111+
</h2>
112+
<svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 24 24" aria-label="Subforum">
113+
<path d="M0 0h24v24H0z" fill="none" />
114+
<path fill="currentColor" d="M15 4v7H5.17L4 12.17V4zm1-2H3a1 1 0 0 0-1 1v14l4-4h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1m5 4h-2v9H6v2a1 1 0 0 0 1 1h11l4 4V7a1 1 0 0 0-1-1" />
115+
</svg>
116+
<svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 24 24" aria-label="Forum thread">
117+
<path d="M0 0h24v24H0z" fill="none" />
118+
<path fill="currentColor" d="M2 16.59L5.59 13H15a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2zM2 18H1V6a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H6zm19 2.59V10a2 2 0 0 0-2-2V7a3 3 0 0 1 3 3v12h-1l-4-4H8c-1.24 0-2.3-.75-2.76-1.82l.8-.8C6.21 16.3 7 17 8 17h9.41z" />
119+
</svg>
120+
<svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 24 24" aria-label="Post">
121+
<path d="M0 0h24v24H0z" fill="none" />
122+
<path fill="currentColor" d="M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2M6 9h12v2H6m8 3H6v-2h8m4-4H6V6h12" />
123+
</svg>
124+
</div>
125+
</a>
126+
</div>
102127
</div>
103128

104129
<div class="col-12 col-xl-6">

var/www/templates/forums_explorer/forums_explorer_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h1 class="mb-1"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em
2929
<path d="M0 0h24v24H0z" fill="none" />
3030
<path fill="currentColor" d="M17 12V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v14l4-4h10a1 1 0 0 0 1-1m4-6h-2v9H6v2a1 1 0 0 0 1 1h11l4 4V7a1 1 0 0 0-1-1" />
3131
</svg> Forums Explorer</h1>
32-
<p class="mb-0">Browse imported forum archives like a live forum: forums, subforums, threads, and posts.</p>
32+
<p class="mb-0">Forums are automatically crawled and imported</p>
3333
<a class="btn btn-sm btn-outline-light mt-3" href="{{ url_for('forums_explorer.forum_explorer_crawler_status') }}"><i class="fas fa-spider"></i> Forum crawler status</a>
3434
</div>
3535

0 commit comments

Comments
 (0)