Skip to content

Commit

Permalink
Merge branch 'MDL-74813-311' of https://github.com/mihailges/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_311_STABLE
  • Loading branch information
junpataleta committed Jul 6, 2022
2 parents b7d7906 + 60d8572 commit d7f72ff
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
12 changes: 10 additions & 2 deletions lib/outputrenderers.php
Expand Up @@ -2725,10 +2725,18 @@ public function render_file_picker(file_picker $fp) {
$html .= <<<EOD
<div id="file_info_{$client_id}" class="mdl-left filepicker-filelist" style="position: relative">
<div class="filepicker-filename">
<div class="filepicker-container">$currentfile<div class="dndupload-message">$strdndenabled <br/><div class="dndupload-arrow"></div></div></div>
<div class="filepicker-container">$currentfile
<div class="dndupload-message">$strdndenabled <br/>
<div class="dndupload-arrow d-flex"><i class="fa fa-arrow-circle-o-down fa-3x m-auto"></i></div>
</div>
</div>
<div class="dndupload-progressbars"></div>
</div>
<div><div class="dndupload-target">{$strdroptoupload}<br/><div class="dndupload-arrow"></div></div></div>
<div>
<div class="dndupload-target">{$strdroptoupload}<br/>
<div class="dndupload-arrow d-flex"><i class="fa fa-arrow-circle-o-down fa-3x m-auto"></i></div>
</div>
</div>
</div>
EOD;
}
Expand Down
12 changes: 10 additions & 2 deletions lib/templates/filemanager_page_generallayout.mustache
Expand Up @@ -80,9 +80,17 @@
<div class="fm-content-wrapper">
<div class="fp-content"></div>
<div class="fm-empty-container">
<div class="dndupload-message">{{#str}}dndenabled_inbox{{/str}}<br/><div class="dndupload-arrow"></div></div>
<div class="dndupload-message">{{#str}}dndenabled_inbox{{/str}}<br/>
<div class="dndupload-arrow d-flex">
<i class="fa fa-arrow-circle-o-down fa-3x m-auto"></i>
</div>
</div>
</div>
<div class="dndupload-target">{{#str}}droptoupload{{/str}}<br/>
<div class="dndupload-arrow d-flex">
<i class="fa fa-arrow-circle-o-down fa-3x m-auto"></i>
</div>
</div>
<div class="dndupload-target">{{#str}}droptoupload{{/str}}<br/><div class="dndupload-arrow"></div></div>
<div class="dndupload-progressbars"></div>
<div class="dndupload-uploadinprogress">{{#pix}}i/loading_small{{/pix}}<span class="sr-only">{{#str}}loadinghelp{{/str}}</span></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/scss/moodle/filemanager.scss
Expand Up @@ -839,11 +839,11 @@ a.ygtvspacer:hover {
}

.dndupload-arrow {
background: url([[pix:theme|fp/dnd_arrow]]) center no-repeat;
width: 100%;
height: 80px;
position: absolute;
top: 5px;
color: $gray-500;
}

.fitem.disabled .filepicker-container,
Expand Down
4 changes: 2 additions & 2 deletions theme/boost/style/moodle.css
Expand Up @@ -15025,11 +15025,11 @@ a.ygtvspacer:hover {
display: block; }

.dndupload-arrow {
background: url([[pix:theme|fp/dnd_arrow]]) center no-repeat;
width: 100%;
height: 80px;
position: absolute;
top: 5px; }
top: 5px;
color: #8f959e; }

.fitem.disabled .filepicker-container,
.fitem.disabled .fm-empty-container {
Expand Down
4 changes: 2 additions & 2 deletions theme/classic/style/moodle.css
Expand Up @@ -15249,11 +15249,11 @@ a.ygtvspacer:hover {
display: block; }

.dndupload-arrow {
background: url([[pix:theme|fp/dnd_arrow]]) center no-repeat;
width: 100%;
height: 80px;
position: absolute;
top: 5px; }
top: 5px;
color: #8f959e; }

.fitem.disabled .filepicker-container,
.fitem.disabled .fm-empty-container {
Expand Down

0 comments on commit d7f72ff

Please sign in to comment.