mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
4ce883ae21
- Replace .form-group Boostrap helper class with .mb-3. The .form-group class was only adding margin bottom styles, so it is an straightforward change. - Replace .form-group references in SCSS files with .fitem now .form-group has been removed. - There were some other .form-group occurrences in the code that were using it not for styling but incorrectly for managing some logic. These have been also replaced with .fitem or removed.
90 lines
4.0 KiB
Plaintext
90 lines
4.0 KiB
Plaintext
{{!
|
|
This file is part of Moodle - http://moodle.org/
|
|
|
|
Moodle is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Moodle is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
}}
|
|
{{!
|
|
@template core/filemanager_selectlayout
|
|
|
|
This template renders the window appearing to select a file.
|
|
|
|
Example context (json):
|
|
{}
|
|
}}
|
|
<div class="file-picker fp-select">
|
|
<div class="fp-select-loading">
|
|
<span class="sr-only">{{#str}}loadinghelp{{/str}}</span>
|
|
{{#pix}}i/loading_small{{/pix}}
|
|
</div>
|
|
<div class="container">
|
|
<form>
|
|
<fieldset class="mb-3 row flex-column">
|
|
<div class="form-check fp-linktype-2">
|
|
<label class="form-check-label">
|
|
<input class="form-check-input" type="radio">
|
|
{{#str}}makefileinternal, repository{{/str}}
|
|
</label>
|
|
</div>
|
|
<div class="form-check fp-linktype-1">
|
|
<label class="form-check-label">
|
|
<input class="form-check-input" type="radio">
|
|
{{#str}}makefilelink, repository{{/str}}
|
|
</label>
|
|
</div>
|
|
<div class="form-check fp-linktype-4">
|
|
<label class="form-check-label">
|
|
<input class="form-check-input" type="radio">
|
|
{{#str}}makefilereference, repository{{/str}}
|
|
</label>
|
|
</div>
|
|
<div class="form-check fp-linktype-8">
|
|
<label class="form-check-label">
|
|
<input class="form-check-input" type="radio">
|
|
{{#str}}makefilecontrolledlink, repository{{/str}}
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
<div class="fp-saveas mb-3 row">
|
|
<label class="col-form-label">{{#str}}saveas, repository{{/str}}</label>
|
|
<input class="form-control" type="text">
|
|
</div>
|
|
<div class="fp-setauthor mb-3 row">
|
|
<label class="col-form-label">{{#str}}author, repository{{/str}}</label>
|
|
<input class="form-control" type="text">
|
|
</div>
|
|
<div class="fp-setlicense mb-3 row">
|
|
{{>core/filemanager_chooselicense}}
|
|
</div>
|
|
<div class="mb-3 row">
|
|
<div class="fp-select-buttons">
|
|
<button class="fp-select-confirm btn-primary btn">{{#str}}getfile, repository{{/str}}</button>
|
|
<button class="fp-select-cancel btn-secondary btn">{{#str}}cancel{{/str}}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="fp-info clearfix">
|
|
<hr>
|
|
<p class="fp-thumbnail"></p>
|
|
<div class="fp-fileinfo">
|
|
<div class="fp-datemodified">{{#str}}lastmodified, repository{{/str}}<span class="fp-value"></span></div>
|
|
<div class="fp-datecreated">{{#str}}datecreated, repository{{/str}}<span class="fp-value"></span></div>
|
|
<div class="fp-size">{{#str}}size, repository{{/str}}<span class="fp-value"></span></div>
|
|
<div class="fp-license">{{#str}}license, repository{{/str}}<span class="fp-value"></span></div>
|
|
<div class="fp-author">{{#str}}author, repository{{/str}}<span class="fp-value"></span></div>
|
|
<div class="fp-dimensions">{{#str}}dimensions, repository{{/str}}<span class="fp-value" dir="ltr"></span></div>
|
|
</div>
|
|
</div>
|
|
</div>
|