Commit 0942f75c authored by Zosman's avatar Zosman
Browse files

moving stuff to where it should be

parent 2de9f6bb
Pipeline #800 passed with stage
in 1 minute and 39 seconds
...@@ -30,25 +30,6 @@ SRCT Go • Administration Panel ...@@ -30,25 +30,6 @@ SRCT Go • Administration Panel
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<h3>Users awaiting moderation</h3> <h3>Users awaiting moderation</h3>
<script>
function myFunction() {
var input, filter, table, tr, td, i;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
table = document.getElementById("myTable");
tr = table.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
td = tr[i].getElementsByTagName("td")[2];
if (td) {
if (td.innerHTML.toUpperCase().indexOf(filter) > -1) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
}
}
</script>
<form method="post" action="useradmin"> <form method="post" action="useradmin">
<!-- csrf protection --> <!-- csrf protection -->
{% csrf_token %} {% csrf_token %}
......
function myFunction() {
var input, filter, table, tr, td, i;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
table = document.getElementById("myTable");
tr = table.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
td = tr[i].getElementsByTagName("td")[2];
if (td) {
if (td.innerHTML.toUpperCase().indexOf(filter) > -1) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment