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_selectlayout
|
|
|
19 |
|
|
|
20 |
This template renders the window appearing to select a file.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{}
|
|
|
24 |
}}
|
|
|
25 |
<div class="file-picker fp-select">
|
|
|
26 |
<div class="fp-select-loading">
|
|
|
27 |
<span class="sr-only">{{#str}}loadinghelp{{/str}}</span>
|
|
|
28 |
<svg class="spinner" viewBox="0 0 50 50">
|
|
|
29 |
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle>
|
|
|
30 |
</svg>
|
|
|
31 |
</div>
|
|
|
32 |
<div class="fp-container">
|
|
|
33 |
<form>
|
|
|
34 |
<div class="alert alert-secondary px-4">
|
|
|
35 |
<div class="form-check fp-linktype-2 custom-control custom-radio custom-control-inline">
|
|
|
36 |
<div class="form-check-label">
|
|
|
37 |
<input class="form-check-input custom-control-input" type="radio">
|
|
|
38 |
<label class="custom-control-label ml-2">{{#str}}makefileinternal, repository{{/str}}</label>
|
|
|
39 |
</div>
|
|
|
40 |
</div>
|
|
|
41 |
<div class="form-check fp-linktype-1 custom-control custom-radio custom-control-inline">
|
|
|
42 |
<div class="form-check-label">
|
|
|
43 |
<input class="form-check-input custom-control-input" type="radio">
|
|
|
44 |
<label class="custom-control-label ml-2">{{#str}}makefilelink, repository{{/str}}</label>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
<div class="form-check fp-linktype-4 custom-control custom-radio custom-control-inline">
|
|
|
48 |
<div class="form-check-label">
|
|
|
49 |
<input class="form-check-input custom-control-input" type="radio">
|
|
|
50 |
<label class="custom-control-label ml-2">{{#str}}makefilereference, repository{{/str}}</label>
|
|
|
51 |
</div>
|
|
|
52 |
</div>
|
|
|
53 |
<div class="form-check fp-linktype-8 custom-control custom-radio custom-control-inline">
|
|
|
54 |
<div class="form-check-label">
|
|
|
55 |
<input class="form-check-input custom-control-input" type="radio">
|
|
|
56 |
<label class="custom-control-label ml-2">{{#str}}makefilecontrolledlink, repository{{/str}}</label>
|
|
|
57 |
</div>
|
|
|
58 |
</div>
|
|
|
59 |
</div>
|
|
|
60 |
<div class="fp-saveas form-group row no-gutters">
|
|
|
61 |
<label class="form-control-label my-0 mr-md-2 col-sm-12 col-md-4">{{#str}}saveas, repository{{/str}}</label>
|
|
|
62 |
<div class="col"><input class="form-control" type="text"></div>
|
|
|
63 |
</div>
|
|
|
64 |
<div class="fp-setauthor form-group row no-gutters">
|
|
|
65 |
<label class="form-control-label my-0 mr-md-2 col-sm-12 col-md-4">{{#str}}author, repository{{/str}}</label>
|
|
|
66 |
<div class="col"><input class="form-control" type="text"></div>
|
|
|
67 |
</div>
|
|
|
68 |
<div class="fp-setlicense form-group row no-gutters">
|
|
|
69 |
{{>core/filemanager_chooselicense}}
|
|
|
70 |
</div>
|
|
|
71 |
<div class="form-group row">
|
|
|
72 |
<div class="fp-select-buttons form-group mb-0 w-100 d-inline-flex">
|
|
|
73 |
<button class="fp-select-cancel btn-secondary btn mb-1 col-4">{{#str}}cancel{{/str}}</button>
|
|
|
74 |
<button class="fp-select-confirm btn-primary btn ml-2 mb-1 col justify-content-bettween">{{#str}}getfile, repository{{/str}}</button>
|
|
|
75 |
</div>
|
|
|
76 |
</div>
|
|
|
77 |
</form>
|
|
|
78 |
</div>
|
|
|
79 |
<hr />
|
|
|
80 |
<div class="fp-info clearfix d-inline-flex align-items-start col-12 p-0">
|
|
|
81 |
<div class="row no-gutters w-100">
|
|
|
82 |
<div class="fp-thumbnail col"></div>
|
|
|
83 |
<div class="col fp-fileinfo">
|
|
|
84 |
<div class="fp-datemodified"><strong>{{#str}}lastmodified, repository{{/str}}</strong><br /><span class="fp-value"></span></div>
|
|
|
85 |
<div class="fp-datecreated"><strong>{{#str}}datecreated, repository{{/str}}</strong><br /><span class="fp-value"></span></div>
|
|
|
86 |
<div class="fp-size"><strong>{{#str}}size, repository{{/str}}</strong><br /><span class="fp-value"></span></div>
|
|
|
87 |
<div class="fp-license"><strong>{{#str}}license, repository{{/str}}</strong><br /><span class="fp-value"></span></div>
|
|
|
88 |
<div class="fp-author"><strong>{{#str}}author, repository{{/str}}</strong><br /><span class="fp-value"></span></div>
|
|
|
89 |
<div class="fp-dimensions"><strong>{{#str}}dimensions, repository{{/str}}</strong><br /><span class="fp-value" dir="ltr"></span></div>
|
|
|
90 |
</div>
|
|
|
91 |
</div>
|
|
|
92 |
</div>
|
|
|
93 |
|
|
|
94 |
</div>
|