mirror of
https://github.com/input-output-hk/foliage.git
synced 2025-01-08 12:18:54 +03:00
Minor adjustments
This commit is contained in:
parent
d65f05b45b
commit
aa443eec1e
@ -19,7 +19,7 @@
|
||||
<div class="container px-4 py-5">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item active" aria-current="page"><a href="#">Home</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page"><a href="/">Home</a></li>
|
||||
</ol>
|
||||
</nav>
|
||||
<h1 class="py-5">
|
||||
@ -64,9 +64,13 @@
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
const urlParams = new URLSearchParams(location.search);
|
||||
$('#entries').DataTable({
|
||||
order: [[2, 'desc']],
|
||||
lengthMenu: [ [50, 100, 500, -1], [50, 100, 500, "All"] ],
|
||||
search: {
|
||||
search: urlParams.has('q') ? urlParams.get('q') : null,
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="#">{{name}}</a></li>
|
||||
<li class="breadcrumb-item"><a href="/?q={{name}}">{{name}}</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{version}}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{#TarballSource}}
|
||||
<dt>URL</dt>
|
||||
<dt>Tarball</dt>
|
||||
<dd><a href="{{tarballSourceURI}}">{{tarballSourceURI}}</a></dd>
|
||||
{{#subdir}}
|
||||
<dt>Subdir</dt>
|
||||
@ -7,7 +7,7 @@
|
||||
{{/subdir}}
|
||||
{{/TarballSource}}
|
||||
{{#GitHubSource}}
|
||||
<dt>URL</dt>
|
||||
<dt>GitHub</dt>
|
||||
<dd>
|
||||
{{#subdir}}
|
||||
<a href="https://github.com/{{githubRepo}}/tree/{{githubRev}}/{{subdir}}">https://github.com/{{githubRepo}}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user