Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Merge requests
!107
Resolve "Filter na tabulku dostupných modulů"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Filter na tabulku dostupných modulů"
49-filter-na-tabulku-dostupnych-modulu
into
master
Overview
0
Commits
5
Pipelines
1
Changes
3
Merged
David Hrbáč
requested to merge
49-filter-na-tabulku-dostupnych-modulu
into
master
8 years ago
Overview
0
Commits
5
Pipelines
1
Changes
3
Expand
Closes #49
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
040c39a4
5 commits,
8 years ago
3 files
+
44
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
docs.it4i/snippets/modules_matrix_search.md
0 → 100644
+
35
−
0
Options
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.slim.min.js"
integrity=
"sha256-/SIrNqv8h6QGKDuNoLGA4iret+kyesCkHGzVUUV0shc="
crossorigin=
"anonymous"
></script>
<script>
$("#searchInput").keyup(function () {
//split the current value of searchInput
var data = this.value.split(" ");
//create a jquery object of the rows
var jo = $("tbody").find("tr");
if (this.value == "") {
jo.show();
return;
}
//hide all the rows
jo.hide();
//Recusively filter the jquery object to get results.
jo.filter(function (i, v) {
var $t = $(this);
for (var d = 0; d < data.length; ++d) {
if ($t.is(":contains('" + data[d] + "')")) {
return true;
}
}
return false;
})
//show the rows that match.
.show();
}).focus(function () {
this.value = "";
$(this).css({
"color": "black"
});
}).css({
"color": "#C0C0C0"
});
</script>
Loading