Skip to content

Commit 3d9a510

Browse files
committed
Clean up styling of overview software page
1 parent f4fb0ba commit 3d9a510

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

docs/available_software/javascripts/populate_overview.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ function populate_overview(json_data) {
3636
console.log(all_targets)
3737
console.log([...[{"title": "name"}], ...all_targets])
3838
const table = new DataTable('#overview_table', {
39-
columns: [...[{"title": "name"}], ...all_targets],
40-
paging: false,
39+
columns: [...[{"title": "name"}], ...all_targets],
40+
paging: true,
4141
columnDefs: [
4242
{
4343
targets: "_all",

docs/available_software/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This table gives an overview of all the available software in EESSI per specific CPU target.
44

55
<p id="time"></p>
6-
<table id="overview_table" class="display" style="width:100%">
6+
<table id="overview_table" class="ui celled table" style="width:100%">
77
<thead>
88
<tr>
99
<th rowspan="3">Name</th>

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ extra_javascript:
144144
- https://code.jquery.com/jquery-3.7.0.min.js
145145
- https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js
146146
- available_software/javascripts/populate_overview.js
147+
- https://cdn.datatables.net/plug-ins/2.2.2/pagination/bootstrap_input.js
147148
extra_css:
148149
# CSS for popultate_overview
149150
- https://cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css
151+
- https://cdnjs.cloudflare.com/ajax/libs/fomantic-ui/2.9.2/semantic.min.css
152+
- https://cdn.datatables.net/2.2.2/css/dataTables.semanticui.css

0 commit comments

Comments
 (0)