Automatically generated installer lang files
[moodle.git] / lib / templates / filemanager_selectlayout.mustache
blobd97b92e1f657d9245c8a601af9695692ca6df470
1 {{!
2     This file is part of Moodle - http://moodle.org/
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.
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.
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/>.
17 {{!
18     @template core/filemanager_selectlayout
20     This template renders the window appearing to select a file.
22     Example context (json):
23     {}
25 <div class="file-picker fp-select">
26     <div class="fp-select-loading">
27         <span class="sr-only">{{#str}}loadinghelp{{/str}}</span>
28         {{#pix}}i/loading_small{{/pix}}
29     </div>
30     <div class="container">
31         <form>
32             <fieldset class="form-group row flex-column">
33                 <div class="form-check fp-linktype-2">
34                     <label class="form-check-label">
35                         <input class="form-check-input" type="radio">
36                         {{#str}}makefileinternal, repository{{/str}}
37                     </label>
38                 </div>
39                 <div class="form-check fp-linktype-1">
40                     <label class="form-check-label">
41                         <input class="form-check-input" type="radio">
42                         {{#str}}makefilelink, repository{{/str}}
43                     </label>
44                 </div>
45                 <div class="form-check fp-linktype-4">
46                     <label class="form-check-label">
47                         <input class="form-check-input" type="radio">
48                         {{#str}}makefilereference, repository{{/str}}
49                     </label>
50                 </div>
51                 <div class="form-check fp-linktype-8">
52                     <label class="form-check-label">
53                         <input class="form-check-input" type="radio">
54                         {{#str}}makefilecontrolledlink, repository{{/str}}
55                     </label>
56                 </div>
57             </fieldset>
58             <div class="fp-saveas form-group row">
59                 <label class="col-form-label">{{#str}}saveas, repository{{/str}}</label>
60                 <input class="form-control" type="text">
61             </div>
62             <div class="fp-setauthor form-group row">
63                 <label class="col-form-label">{{#str}}author, repository{{/str}}</label>
64                 <input class="form-control" type="text">
65             </div>
66             <div class="fp-setlicense form-group row">
67                 {{>core/filemanager_chooselicense}}
68             </div>
69             <div class="form-group row">
70                 <div class="fp-select-buttons">
71                     <button class="fp-select-confirm btn-primary btn">{{#str}}getfile, repository{{/str}}</button>
72                     <button class="fp-select-cancel btn-secondary btn">{{#str}}cancel{{/str}}</button>
73                 </div>
74             </div>
75         </form>
76     </div>
77     <div class="fp-info clearfix">
78         <hr>
79         <p class="fp-thumbnail"></p>
80         <div class="fp-fileinfo">
81             <div class="fp-datemodified">{{#str}}lastmodified, repository{{/str}}<span class="fp-value"></span></div>
82             <div class="fp-datecreated">{{#str}}datecreated, repository{{/str}}<span class="fp-value"></span></div>
83             <div class="fp-size">{{#str}}size, repository{{/str}}<span class="fp-value"></span></div>
84             <div class="fp-license">{{#str}}license, repository{{/str}}<span class="fp-value"></span></div>
85             <div class="fp-author">{{#str}}author, repository{{/str}}<span class="fp-value"></span></div>
86             <div class="fp-dimensions">{{#str}}dimensions, repository{{/str}}<span class="fp-value" dir="ltr"></span></div>
87         </div>
88     </div>
89 </div>