Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HCC docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Holland Computing Center
HCC docs
Commits
06ee24be
Commit
06ee24be
authored
5 years ago
by
Adam Caprez
Browse files
Options
Downloads
Plain Diff
Merge branch 'singularity-table' into 'master'
Add sorting/styling to the Singularity image list table. Closes
#25
See merge request
!183
parents
dbc09199
f56e6769
Branches
Branches containing commit
No related tags found
1 merge request
!183
Add sorting/styling to the Singularity image list table.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
content/applications/user_software/using_singularity.md
+4
-1
4 additions, 1 deletion
content/applications/user_software/using_singularity.md
layouts/shortcodes/sorttable.html
+68
-0
68 additions, 0 deletions
layouts/shortcodes/sorttable.html
with
72 additions
and
1 deletion
content/applications/user_software/using_singularity.md
+
4
−
1
View file @
06ee24be
...
...
@@ -31,14 +31,17 @@ Publically available Docker images can be found at [Docker Hub](http://hub.docke
convenience, HCC also provides a set of images on
[
Docker Hub
](
https://hub.docker.com/u/unlhcc/
)
known to work on HCC resources.
### Available Images at HCC
The following table lists the currently available images and the command
to run the software.
{{
<
sorttable
>
}}
{{
<
readfile
file=
"static/markdown/singularity-images.md"
markdown=
"true"
>
}}
{{
<
/
sorttable
>
}}
{{% notice note %}}
If you would like to request an image to be added, please fill out the
HCC
[
Software Request Form
](
http://hcc.unl.edu/software-installation-request
)
...
...
This diff is collapsed.
Click to expand it.
layouts/shortcodes/sorttable.html
0 → 100644
+
68
−
0
View file @
06ee24be
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/jquery.tablesorter.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/widgets/widget-pager.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/widgets/widget-filter.min.js"
></script>
<script
src=
"/js/sort-table.js"
></script>
<link
rel=
"stylesheet"
href=
"http://mottie.github.io/tablesorter/css/theme.default.css"
>
<link
rel=
"stylesheet"
href=
"https://mottie.github.io/tablesorter/css/theme.dropbox.css"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/css/jquery.tablesorter.pager.min.css"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/css/filter.formatter.min.css"
>
<div
class=
"pager"
>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/first.png"
class=
"first"
/
>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/prev.png"
class=
"prev"
/>
<!-- the "pagedisplay" can be any element, including an input -->
<span
class=
"pagedisplay"
data-pager-output-filtered=
"{startRow:input} – {endRow} / {
filteredRows} of {totalRows} total rows"
></span>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/next.png"
class=
"next"
/>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/last.png"
class=
"last"
/>
<select
class=
"pagesize"
>
<option
value=
"5"
>
5
</option>
<option
value=
"10"
>
10
</option>
<option
value=
"20"
>
20
</option>
<option
value=
"30"
>
30
</option>
<option
value=
"40"
>
40
</option>
<option
value=
"all"
>
All Rows
</option>
</select>
<select
class=
"gotoPage"
title=
"Select page number"
>
<option
value=
"1"
>
1
</option>
<option
value=
"2"
>
2
</option>
<option
value=
"3"
>
3
</option>
<option
value=
"4"
>
4
</option>
<option
value=
"5"
>
5
</option>
</select>
</div>
{{ .Inner }}
<div
class=
"pager"
>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/first.png"
class=
"first"
/
>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/prev.png"
class=
"prev"
/>
<!-- the "pagedisplay" can be any element, including an input -->
<span
class=
"pagedisplay"
data-pager-output-filtered=
"{startRow:input} – {endRow} / {
filteredRows} of {totalRows} total rows"
></span>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/next.png"
class=
"next"
/>
<img
src=
"http://mottie.github.com/tablesorter/addons/pager/icons/last.png"
class=
"last"
/>
<select
class=
"pagesize"
>
<option
value=
"5"
>
5
</option>
<option
value=
"10"
>
10
</option>
<option
value=
"20"
>
20
</option>
<option
value=
"30"
>
30
</option>
<option
value=
"40"
>
40
</option>
<option
value=
"all"
>
All Rows
</option>
</select>
<select
class=
"gotoPage"
title=
"Select page number"
>
<option
value=
"1"
>
1
</option>
<option
value=
"2"
>
2
</option>
<option
value=
"3"
>
3
</option>
<option
value=
"4"
>
4
</option>
<option
value=
"5"
>
5
</option>
</select>
</div>
<script>
var
table
=
$
(
"
table
"
);
table
.
addClass
(
"
sorttable
"
);
</script>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment