MDL-58356 icons: Revert file type icons
@ -170,48 +170,6 @@ class icon_system_fontawesome extends icon_system_font {
|
||||
'core:e/undo' => 'fa-undo',
|
||||
'core:e/visual_aid' => 'fa-universal-access',
|
||||
'core:e/visual_blocks' => 'fa-audio-description',
|
||||
'core:f/archive' => 'fa-file-zip-o',
|
||||
'core:f/audio' => 'fa-file-audio-o',
|
||||
'core:f/avi' => 'fa-file-movie-o',
|
||||
'core:f/base' => 'fa-file-o',
|
||||
'core:f/bmp' => 'fa-file-image-o',
|
||||
'core:f/calc' => 'fa-file-excel-o',
|
||||
'core:f/chart' => 'fa-bar-chart',
|
||||
'core:f/database' => 'fa-database',
|
||||
'core:f/document' => 'fa-file',
|
||||
'core:f/draw' => 'fa-file-image-o',
|
||||
'core:f/eps' => 'fa-file-pdf-o',
|
||||
'core:f/epub' => 'fa-book',
|
||||
'core:f/flash' => 'fa-flash',
|
||||
'core:f/folder' => 'fa-folder-o',
|
||||
'core:f/folder-open' => 'fa-folder-open-o',
|
||||
'core:f/gif' => 'fa-file-image-o',
|
||||
'core:f/html' => 'fa-file-code-o',
|
||||
'core:f/image' => 'fa-file-image-o',
|
||||
'core:f/impress' => 'fa-file-powerpoint-o',
|
||||
'core:f/isf' => 'fa-file-image-o',
|
||||
'core:f/jpeg' => 'fa-file-image-o',
|
||||
'core:f/markup' => 'fa-file-code-o',
|
||||
'core:f/math' => 'fa-calculator',
|
||||
'core:f/moodle' => 'fa-graduation-cap',
|
||||
'core:f/mp3' => 'fa-file-audio-o',
|
||||
'core:f/mpeg' => 'fa-file-video-o',
|
||||
'core:f/oth' => 'fa-file-o',
|
||||
'core:f/pdf' => 'fa-file-pdf-o',
|
||||
'core:f/png' => 'fa-file-image-o',
|
||||
'core:f/powerpoint' => 'fa-file-powerpoint-o',
|
||||
'core:f/psd' => 'fa-file-image-o',
|
||||
'core:f/publisher' => 'fa-file-image-o',
|
||||
'core:f/quicktime' => 'fa-file-video-o',
|
||||
'core:f/sourcecode' => 'fa-file-code-o',
|
||||
'core:f/spreadsheet' => 'fa-file-excel-o',
|
||||
'core:f/text' => 'fa-file-text-o',
|
||||
'core:f/tiff' => 'fa-file-image-o',
|
||||
'core:f/unknown' => 'fa-file-o',
|
||||
'core:f/video' => 'fa-file-video-o',
|
||||
'core:f/wav' => 'fa-file-audio-o',
|
||||
'core:f/wmv' => 'fa-file-video-o',
|
||||
'core:f/writer' => 'fa-file-word-o',
|
||||
'theme:fp/add_file' => 'fa-file-o',
|
||||
'theme:fp/alias' => 'fa-link',
|
||||
'theme:fp/check' => 'fa-check',
|
||||
|
@ -143,13 +143,13 @@ class mod_resource_lib_testcase extends advanced_testcase {
|
||||
$info = resource_get_coursemodule_info(
|
||||
$DB->get_record('course_modules', array('id' => $resource2->cmid)));
|
||||
$this->assertEquals('R2', $info->name);
|
||||
$this->assertEquals('f/text', $info->icon);
|
||||
$this->assertEquals('f/text-24', $info->icon);
|
||||
|
||||
// For third one, it should use the highest sortorder icon.
|
||||
$info = resource_get_coursemodule_info(
|
||||
$DB->get_record('course_modules', array('id' => $resource3->cmid)));
|
||||
$this->assertEquals('R3', $info->name);
|
||||
$this->assertEquals('f/document', $info->icon);
|
||||
$this->assertEquals('f/document-24', $info->icon);
|
||||
}
|
||||
|
||||
public function test_resource_core_calendar_provide_event_action() {
|
||||
|
15
pix/f/FileTypesIcons-LICENSE.txt
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
FileTypesIcons Copyright 2012 Renato Veras
|
||||
|
||||
These icons are 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.
|
||||
|
||||
This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
15
pix/f/Oxygen-LICENSE.txt
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
FileTypesIcons Copyright 2012 Oxygen Team
|
||||
|
||||
These icons are 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.
|
||||
|
||||
This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
BIN
pix/f/archive-128.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
pix/f/archive-24.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
pix/f/archive-256.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
pix/f/archive-32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
pix/f/archive-48.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
pix/f/archive-64.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
pix/f/archive-72.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
pix/f/archive-80.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
pix/f/archive-96.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
pix/f/archive.png
Normal file
After Width: | Height: | Size: 567 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M768 384v-128h-128v128h128zm128 128v-128h-128v128h128zm-128 128v-128h-128v128h128zm128 128v-128h-128v128h128zm700-388q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-128v128h-128v-128h-512v1536h1280zm-627-721l107 349q8 27 8 52 0 83-72.5 137.5t-183.5 54.5-183.5-54.5-72.5-137.5q0-25 8-52 21-63 120-396v-128h128v128h79q22 0 39 13t23 34zm-141 465q53 0 90.5-19t37.5-45-37.5-45-90.5-19-90.5 19-37.5 45 37.5 45 90.5 19z"/></svg>
|
Before Width: | Height: | Size: 719 B |
BIN
pix/f/audio-128.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
pix/f/audio-24.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
pix/f/audio-256.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
pix/f/audio-32.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
pix/f/audio-48.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
pix/f/audio-64.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
pix/f/audio-72.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
pix/f/audio-80.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
pix/f/audio-96.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
pix/f/audio.png
Normal file
After Width: | Height: | Size: 793 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-788-814q20 8 20 30v544q0 22-20 30-8 2-12 2-12 0-23-9l-166-167h-131q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h131l166-167q16-15 35-7zm417 689q31 0 50-24 129-159 129-363t-129-363q-16-21-43-24t-47 14q-21 17-23.5 43.5t14.5 47.5q100 123 100 282t-100 282q-17 21-14.5 47.5t23.5 42.5q18 15 40 15zm-211-148q27 0 47-20 87-93 87-219t-87-219q-18-19-45-20t-46 17-20 44.5 18 46.5q52 57 52 131t-52 131q-19 20-18 46.5t20 44.5q20 17 44 17z"/></svg>
|
Before Width: | Height: | Size: 797 B |
BIN
pix/f/avi-128.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
pix/f/avi-24.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
pix/f/avi-256.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
pix/f/avi-32.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
pix/f/avi-48.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
pix/f/avi-64.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
pix/f/avi-72.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
pix/f/avi-80.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
pix/f/avi-96.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
pix/f/avi.png
Normal file
After Width: | Height: | Size: 706 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-640-896q52 0 90 38t38 90v384q0 52-38 90t-90 38h-384q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h384zm492 2q20 8 20 30v576q0 22-20 30-8 2-12 2-14 0-23-9l-265-266v-90l265-266q9-9 23-9 4 0 12 2z"/></svg>
|
Before Width: | Height: | Size: 568 B |
BIN
pix/f/base-128.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
pix/f/base-24.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
pix/f/base-32.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
pix/f/base-48.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
pix/f/base-64.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
pix/f/base-72.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
pix/f/base-80.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
pix/f/base-96.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
pix/f/base.png
Normal file
After Width: | Height: | Size: 1018 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280z"/></svg>
|
Before Width: | Height: | Size: 378 B |
BIN
pix/f/bmp-128.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
pix/f/bmp-24.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
pix/f/bmp-256.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
pix/f/bmp-32.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
pix/f/bmp-48.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
pix/f/bmp-64.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
pix/f/bmp-72.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
pix/f/bmp-80.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
pix/f/bmp-96.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
pix/f/bmp.png
Normal file
After Width: | Height: | Size: 475 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-128-448v320h-1024v-192l192-192 128 128 384-384zm-832-192q-80 0-136-56t-56-136 56-136 136-56 136 56 56 136-56 136-136 56z"/></svg>
|
Before Width: | Height: | Size: 500 B |
BIN
pix/f/calc-128.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
pix/f/calc-24.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
pix/f/calc-32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
pix/f/calc-48.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
pix/f/calc-64.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
pix/f/calc-72.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
pix/f/calc-80.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
pix/f/calc-96.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
pix/f/calc.png
Normal file
After Width: | Height: | Size: 667 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-979-234v106h281v-106h-75l103-161q5-7 10-16.5t7.5-13.5 3.5-4h2q1 4 5 10 2 4 4.5 7.5t6 8 6.5 8.5l107 161h-76v106h291v-106h-68l-192-273 195-282h67v-107h-279v107h74l-103 159q-4 7-10 16.5t-9 13.5l-2 3h-2q-1-4-5-10-6-11-17-23l-106-159h76v-107h-290v107h68l189 272-194 283h-68z"/></svg>
|
Before Width: | Height: | Size: 649 B |
BIN
pix/f/chart-128.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
pix/f/chart-24.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
pix/f/chart-32.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
pix/f/chart-48.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
pix/f/chart-64.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
pix/f/chart-72.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
pix/f/chart-80.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
pix/f/chart-96.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
pix/f/chart.png
Normal file
After Width: | Height: | Size: 458 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M512 896v512h-256v-512h256zm384-512v1024h-256v-1024h256zm1024 1152v128h-2048v-1536h128v1408h1920zm-640-896v768h-256v-768h256zm384-384v1152h-256v-1152h256z"/></svg>
|
Before Width: | Height: | Size: 299 B |
BIN
pix/f/database-128.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
pix/f/database-24.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
pix/f/database-256.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
pix/f/database-32.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
pix/f/database-48.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
pix/f/database-64.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
pix/f/database-72.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
pix/f/database-80.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
pix/f/database-96.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
pix/f/database.png
Normal file
After Width: | Height: | Size: 769 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M896 768q237 0 443-43t325-127v170q0 69-103 128t-280 93.5-385 34.5-385-34.5-280-93.5-103-128v-170q119 84 325 127t443 43zm0 768q237 0 443-43t325-127v170q0 69-103 128t-280 93.5-385 34.5-385-34.5-280-93.5-103-128v-170q119 84 325 127t443 43zm0-384q237 0 443-43t325-127v170q0 69-103 128t-280 93.5-385 34.5-385-34.5-280-93.5-103-128v-170q119 84 325 127t443 43zm0-1152q208 0 385 34.5t280 93.5 103 128v128q0 69-103 128t-280 93.5-385 34.5-385-34.5-280-93.5-103-128v-128q0-69 103-128t280-93.5 385-34.5z"/></svg>
|
Before Width: | Height: | Size: 636 B |
BIN
pix/f/dmg-32.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
pix/f/dmg.gif
Normal file
After Width: | Height: | Size: 222 B |
@ -1 +0,0 @@
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"><path d="M768 384v-128h-128v128h128zm128 128v-128h-128v128h128zm-128 128v-128h-128v128h128zm128 128v-128h-128v128h128zm700-388q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-128v128h-128v-128h-512v1536h1280zm-627-721l107 349q8 27 8 52 0 83-72.5 137.5t-183.5 54.5-183.5-54.5-72.5-137.5q0-25 8-52 21-63 120-396v-128h128v128h79q22 0 39 13t23 34zm-141 465q53 0 90.5-19t37.5-45-37.5-45-90.5-19-90.5 19-37.5 45 37.5 45 90.5 19z"/></svg>
|
Before Width: | Height: | Size: 719 B |
BIN
pix/f/document-128.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
pix/f/document-24.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
pix/f/document-256.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
pix/f/document-32.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
pix/f/document-48.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
pix/f/document-64.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
pix/f/document-72.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
pix/f/document-80.png
Normal file
After Width: | Height: | Size: 6.5 KiB |