admin theme pack

This commit is contained in:
2024-12-23 14:14:59 +03:00
parent 093b04c2c9
commit de690dfd39
111 changed files with 187 additions and 55 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace kernel\filters;
use Itguild\Tables\Filter\Filter;
class CustomSelectFilter extends Filter
{
public function fetch()
{
$this->html = "<td><select class='form-control' name='$this->name'>";
foreach ($this->param as $value) {
if ($value === $this->value) {
$this->html .= "<option value='$value' selected>$value</option>";
} else {
$this->html .= "<option value='$value'>$value</option>";
}
}
$this->html .= "value='$this->value'</select></td>";
return $this->html;
}
}