1 |
efrain |
1 |
{{!
|
|
|
2 |
This file is part of Moodle - http://moodle.org/
|
|
|
3 |
|
|
|
4 |
Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
it under the terms of the GNU General Public License as published by
|
|
|
6 |
the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
(at your option) any later version.
|
|
|
8 |
|
|
|
9 |
Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
GNU General Public License for more details.
|
|
|
13 |
|
|
|
14 |
You should have received a copy of the GNU General Public License
|
|
|
15 |
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
}}
|
|
|
17 |
{{!
|
|
|
18 |
@template core/filemanager_default_searchform
|
|
|
19 |
|
|
|
20 |
This template renders the default repository searchform to be passed to Filepicker.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{}
|
|
|
24 |
}}
|
|
|
25 |
<div class="fp-def-search search-input-group d-inline-flex justify-content-between w-100">
|
|
|
26 |
<label class="sr-only" for="reposearch">{{#str}}searchrepo, repository{{/str}}</label>
|
|
|
27 |
<span class="search-input-icon">
|
|
|
28 |
<svg width="20" height="20" fill="none" viewBox="0 0 24 24">
|
|
|
29 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.25 19.25L15.5 15.5M4.75 11C4.75 7.54822 7.54822 4.75 11 4.75C14.4518 4.75 17.25 7.54822 17.25 11C17.25 14.4518 14.4518 17.25 11 17.25C7.54822 17.25 4.75 14.4518 4.75 11Z"></path>
|
|
|
30 |
</svg>
|
|
|
31 |
</span>
|
|
|
32 |
<input type="search" class="search-input w-100 withclear" id="reposearch" name="s" placeholder="{{#str}}search, repository{{/str}}"/>
|
|
|
33 |
</div>
|