MDL-55401 theme_noname: Scaffolding
authorFrederic Massart <fred@moodle.com>
Mon, 11 Jul 2016 03:59:50 +0000 (11:59 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 23 Sep 2016 09:49:48 +0000 (10:49 +0100)
Part of MDL-55071

55 files changed:
theme/noname/config.php [new file with mode: 0644]
theme/noname/lang/en/theme_noname.php [new file with mode: 0644]
theme/noname/layout/default.php [new file with mode: 0644]
theme/noname/pix/favicon.ico [new file with mode: 0644]
theme/noname/pix/fp/add_file.png [new file with mode: 0644]
theme/noname/pix/fp/add_file.svg [new file with mode: 0644]
theme/noname/pix/fp/alias.png [new file with mode: 0644]
theme/noname/pix/fp/alias_sm.png [new file with mode: 0644]
theme/noname/pix/fp/check.png [new file with mode: 0644]
theme/noname/pix/fp/create_folder.png [new file with mode: 0644]
theme/noname/pix/fp/create_folder.svg [new file with mode: 0644]
theme/noname/pix/fp/cross.png [new file with mode: 0644]
theme/noname/pix/fp/dnd_arrow.gif [new file with mode: 0644]
theme/noname/pix/fp/download_all.png [new file with mode: 0644]
theme/noname/pix/fp/download_all.svg [new file with mode: 0644]
theme/noname/pix/fp/help.png [new file with mode: 0644]
theme/noname/pix/fp/help.svg [new file with mode: 0644]
theme/noname/pix/fp/link.png [new file with mode: 0644]
theme/noname/pix/fp/link_sm.png [new file with mode: 0644]
theme/noname/pix/fp/logout.png [new file with mode: 0644]
theme/noname/pix/fp/logout.svg [new file with mode: 0644]
theme/noname/pix/fp/path_folder.png [new file with mode: 0644]
theme/noname/pix/fp/path_folder_rtl.png [new file with mode: 0644]
theme/noname/pix/fp/refresh.png [new file with mode: 0644]
theme/noname/pix/fp/refresh.svg [new file with mode: 0644]
theme/noname/pix/fp/search.png [new file with mode: 0644]
theme/noname/pix/fp/search.svg [new file with mode: 0644]
theme/noname/pix/fp/setting.png [new file with mode: 0644]
theme/noname/pix/fp/setting.svg [new file with mode: 0644]
theme/noname/pix/fp/view_icon_active.png [new file with mode: 0644]
theme/noname/pix/fp/view_icon_active.svg [new file with mode: 0644]
theme/noname/pix/fp/view_list_active.png [new file with mode: 0644]
theme/noname/pix/fp/view_list_active.svg [new file with mode: 0644]
theme/noname/pix/fp/view_tree_active.png [new file with mode: 0644]
theme/noname/pix/fp/view_tree_active.svg [new file with mode: 0644]
theme/noname/pix/glyphicons-halflings-white.png [new file with mode: 0644]
theme/noname/pix/glyphicons-halflings.png [new file with mode: 0644]
theme/noname/pix/header.jpg [new file with mode: 0644]
theme/noname/pix/horizontal-menu-submenu-indicator.png [new file with mode: 0644]
theme/noname/pix/mod/quiz/checkmark.png [new file with mode: 0644]
theme/noname/pix/mod/quiz/checkmark.svg [new file with mode: 0644]
theme/noname/pix/mod/quiz/flag-on.png [new file with mode: 0644]
theme/noname/pix/mod/quiz/flag-on.svg [new file with mode: 0644]
theme/noname/pix/mod/quiz/warningtriangle.png [new file with mode: 0644]
theme/noname/pix/mod/quiz/warningtriangle.svg [new file with mode: 0644]
theme/noname/pix/mod/quiz/whitecircle.png [new file with mode: 0644]
theme/noname/pix/mod/quiz/whitecircle.svg [new file with mode: 0644]
theme/noname/pix/screenshot.jpg [new file with mode: 0644]
theme/noname/pix/sprite.png [new file with mode: 0644]
theme/noname/pix/vertical-menu-submenu-indicator.png [new file with mode: 0644]
theme/noname/pix/yui2-treeview-sprite-rtl.gif [new file with mode: 0644]
theme/noname/renderers.php [new file with mode: 0644]
theme/noname/style/build.css [new file with mode: 0644]
theme/noname/style/editor.css [new file with mode: 0644]
theme/noname/version.php [new file with mode: 0644]

diff --git a/theme/noname/config.php b/theme/noname/config.php
new file mode 100644 (file)
index 0000000..c4506ad
--- /dev/null
@@ -0,0 +1,69 @@
+<?php
+// 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/>.
+
+/**
+ * Noname config.
+ *
+ * @package   theme_noname
+ * @copyright 2016 Frédéric Massart
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die();
+
+$THEME->name = 'noname';
+$THEME->sheets = ['build'];
+$THEME->editor_sheets = ['editor'];
+
+$THEME->layouts = [
+    'standard' => [
+        'file' => 'default.php',
+        'regions' => ['side-pre', 'side-post'],
+    ],
+
+    // 'course' => [],
+    // 'coursecategory' => [],
+    // 'incourse' => [],
+    // 'frontpage' => [],
+    // 'admin' => [],
+    // 'mydashboard' => [],
+    // 'mypublic' => [],
+    // 'report' => [],
+    // 'login' => [],
+
+    // General purpose.
+    // 'embedded' => [],
+    // 'frametop' => [],
+    // 'maintenance' => [],
+    // 'popup' => [],
+    // 'print' => [],
+    // 'redirect' => [],
+    // 'secure' => [],
+];
+
+// $THEME->javascripts = array();
+// $THEME->javascripts_footer = array();
+$THEME->parents = [];
+$THEME->rarrow = '▶';
+$THEME->larrow = '◀';
+$THEME->enable_dock = false;
+$THEME->supportscssoptimisation = false;
+$THEME->yuicssmodules = array();
+$THEME->rendererfactory = 'theme_overridden_renderer_factory';
+$THEME->blockrtlmanipulations = array(
+    'side-pre' => 'side-post',
+    'side-post' => 'side-pre'
+);
diff --git a/theme/noname/lang/en/theme_noname.php b/theme/noname/lang/en/theme_noname.php
new file mode 100644 (file)
index 0000000..e0c0c7e
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+// 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/>.
+
+/**
+ * Language file.
+ *
+ * @package   theme_noname
+ * @copyright 2016 Frédéric Massart
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die();
+
+$string['choosereadme'] = 'Hey, change me!';
+$string['pluginname'] = 'NONAME';
+$string['region-side-post'] = 'Right';
+$string['region-side-pre'] = 'Left';
diff --git a/theme/noname/layout/default.php b/theme/noname/layout/default.php
new file mode 100644 (file)
index 0000000..5347c99
--- /dev/null
@@ -0,0 +1,91 @@
+<?php
+// 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/>.
+
+/**
+ * Default layout.
+ *
+ * @package   theme_noname
+ * @copyright 2016 Frédéric Massart - FMCorz.net
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+$regionmain = 'span9 pull-right';
+$sidepre = 'span3 desktop-first-column';
+if (right_to_left()) {
+    $regionmain = 'span9';
+    $sidepre = 'span3 pull-right';
+}
+
+echo $OUTPUT->doctype() ?>
+<html <?php echo $OUTPUT->htmlattributes(); ?>>
+<head>
+    <title><?php echo $OUTPUT->page_title(); ?></title>
+    <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" />
+    <?php echo $OUTPUT->standard_head_html() ?>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+</head>
+
+<body <?php echo $OUTPUT->body_attributes('two-column'); ?>>
+
+<?php echo $OUTPUT->standard_top_of_body_html() ?>
+
+<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
+    <nav role="navigation" class="navbar-inner">
+        <div class="container-fluid">
+            <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php
+                echo format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
+            ?></a>
+            <?php echo $OUTPUT->navbar_button(); ?>
+            <?php echo $OUTPUT->user_menu(); ?>
+            <?php echo $OUTPUT->search_box(); ?>
+            <div class="nav-collapse collapse">
+                <?php echo $OUTPUT->custom_menu(); ?>
+                <ul class="nav pull-right">
+                    <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
+                </ul>
+            </div>
+        </div>
+    </nav>
+</header>
+
+<div id="page" class="container-fluid">
+    <?php echo $OUTPUT->full_header(); ?>
+    <div id="page-content" class="row-fluid">
+        <section id="region-main" class="<?php echo $regionmain; ?>">
+            <?php
+            echo $OUTPUT->course_content_header();
+            echo $OUTPUT->main_content();
+            echo $OUTPUT->course_content_footer();
+            ?>
+        </section>
+        <?php echo $OUTPUT->blocks('side-pre', $sidepre); ?>
+    </div>
+
+    <footer id="page-footer">
+        <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
+        <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p>
+        <?php
+        echo $OUTPUT->login_info();
+        echo $OUTPUT->home_link();
+        echo $OUTPUT->standard_footer_html();
+        ?>
+    </footer>
+
+    <?php echo $OUTPUT->standard_end_of_body_html() ?>
+
+</div>
+</body>
+</html>
diff --git a/theme/noname/pix/favicon.ico b/theme/noname/pix/favicon.ico
new file mode 100644 (file)
index 0000000..f864f1d
Binary files /dev/null and b/theme/noname/pix/favicon.ico differ
diff --git a/theme/noname/pix/fp/add_file.png b/theme/noname/pix/fp/add_file.png
new file mode 100644 (file)
index 0000000..7e868fe
Binary files /dev/null and b/theme/noname/pix/fp/add_file.png differ
diff --git a/theme/noname/pix/fp/add_file.svg b/theme/noname/pix/fp/add_file.svg
new file mode 100644 (file)
index 0000000..7efdd9b
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="-1 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M10 15H1.2c-.1 0-.2-.1-.2-.3V1.2c0-.1.1-.2.2-.2H9v4h4v4h1V5.2c0-.7-.4-1.6-.9-2.1L10.9.9C10.4.4 9.4 0 8.8 0H1.2C.6 0 0 .6 0 1.2v13.5c0 .7.6 1.3 1.2 1.3H10v-1zm0-13.6c.1 0 2.5 2.5 2.6 2.6H10V1.4zM15 14h-2v2h-2v-2H9v-2h2v-2h2v2h2v2z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/alias.png b/theme/noname/pix/fp/alias.png
new file mode 100644 (file)
index 0000000..c7747f9
Binary files /dev/null and b/theme/noname/pix/fp/alias.png differ
diff --git a/theme/noname/pix/fp/alias_sm.png b/theme/noname/pix/fp/alias_sm.png
new file mode 100644 (file)
index 0000000..3fcc54b
Binary files /dev/null and b/theme/noname/pix/fp/alias_sm.png differ
diff --git a/theme/noname/pix/fp/check.png b/theme/noname/pix/fp/check.png
new file mode 100644 (file)
index 0000000..0cbaca0
Binary files /dev/null and b/theme/noname/pix/fp/check.png differ
diff --git a/theme/noname/pix/fp/create_folder.png b/theme/noname/pix/fp/create_folder.png
new file mode 100644 (file)
index 0000000..6725d42
Binary files /dev/null and b/theme/noname/pix/fp/create_folder.png differ
diff --git a/theme/noname/pix/fp/create_folder.svg b/theme/noname/pix/fp/create_folder.svg
new file mode 100644 (file)
index 0000000..e9b3d33
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1.5 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M9 9.5v4H1c-.5 0-1-.5-1-1V1c0-.5.5-1 1-1h6c.5 0 1 .5 1 1v1.5h7c.5 0 1 .5 1 1v6h-1v-2h-4v2H9zm7 1h-2v-2h-2v2h-2v2h2v2h2v-2h2v-2z" fill="#989898"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/cross.png b/theme/noname/pix/fp/cross.png
new file mode 100644 (file)
index 0000000..e595ade
Binary files /dev/null and b/theme/noname/pix/fp/cross.png differ
diff --git a/theme/noname/pix/fp/dnd_arrow.gif b/theme/noname/pix/fp/dnd_arrow.gif
new file mode 100644 (file)
index 0000000..62d1a5b
Binary files /dev/null and b/theme/noname/pix/fp/dnd_arrow.gif differ
diff --git a/theme/noname/pix/fp/download_all.png b/theme/noname/pix/fp/download_all.png
new file mode 100644 (file)
index 0000000..0f08f97
Binary files /dev/null and b/theme/noname/pix/fp/download_all.png differ
diff --git a/theme/noname/pix/fp/download_all.svg b/theme/noname/pix/fp/download_all.svg
new file mode 100644 (file)
index 0000000..007cc99
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M16 9v6c0 .5-.5 1-1 1H1c-.5 0-1-.5-1-1V9c0-.5.5-1 1-1h1c.5 0 1 .5 1 1v4h10V9c0-.5.5-1 1-1h1c.5 0 1 .5 1 1zm-3.6-3.9l-.7-.7c-.4-.4-1-.4-1.4 0l-.8.8V1c0-.5-.4-1-1-1h-1c-.5 0-1 .5-1 1v4.2l-.8-.8c-.4-.4-1-.4-1.4 0l-.7.7c-.4.4-.4 1 0 1.4l3.7 3.7c.2.2.5.3.7.3.3 0 .5-.1.7-.3l3.7-3.7c.4-.3.4-1 0-1.4z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/help.png b/theme/noname/pix/fp/help.png
new file mode 100644 (file)
index 0000000..c955f9c
Binary files /dev/null and b/theme/noname/pix/fp/help.png differ
diff --git a/theme/noname/pix/fp/help.svg b/theme/noname/pix/fp/help.svg
new file mode 100644 (file)
index 0000000..f6b5306
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zM5.8 6.6c-.6 0-1-.4-1-1C4.7 4.5 5.9 3 8.1 3c1.4 0 3.4 1 3.4 2.6 0 .8-.5 1.5-1.5 1.9-1.5.5-.7 1.6-2 1.6-.6 0-1-.3-1-.9 0-1.2 1.2-1.8 1.2-3 0-.3-.1-.7-.5-.7s-.4.4-.4.7c-.1.9-.6 1.4-1.5 1.4zm2.1 6.5c-.8 0-1.5-.7-1.5-1.5S7 10 7.9 10c.8 0 1.5.7 1.5 1.5s-.7 1.6-1.5 1.6z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/link.png b/theme/noname/pix/fp/link.png
new file mode 100644 (file)
index 0000000..bdd370c
Binary files /dev/null and b/theme/noname/pix/fp/link.png differ
diff --git a/theme/noname/pix/fp/link_sm.png b/theme/noname/pix/fp/link_sm.png
new file mode 100644 (file)
index 0000000..90584ac
Binary files /dev/null and b/theme/noname/pix/fp/link_sm.png differ
diff --git a/theme/noname/pix/fp/logout.png b/theme/noname/pix/fp/logout.png
new file mode 100644 (file)
index 0000000..dab5716
Binary files /dev/null and b/theme/noname/pix/fp/logout.png differ
diff --git a/theme/noname/pix/fp/logout.svg b/theme/noname/pix/fp/logout.svg
new file mode 100644 (file)
index 0000000..409824a
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M9 16H1c-.5 0-1-.5-1-1V1c0-.5.5-1 1-1h8v2H3c-.6 0-1 .4-1 1v10c0 .6.4 1 1 1h6v2zM5 7.5v1c0 .5.5 1 1 1h4.7l-1.1 1.1c-.4.4-.4 1 0 1.4l.7.7c.4.4 1 .4 1.4 0l4-4c.4-.4.4-1 0-1.4l-4-4c-.4-.4-1-.4-1.4 0l-.7.7c-.4.4-.4 1 0 1.4l1 1H6c-.5.1-1 .6-1 1.1z" fill="#989898"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/path_folder.png b/theme/noname/pix/fp/path_folder.png
new file mode 100644 (file)
index 0000000..8cd1788
Binary files /dev/null and b/theme/noname/pix/fp/path_folder.png differ
diff --git a/theme/noname/pix/fp/path_folder_rtl.png b/theme/noname/pix/fp/path_folder_rtl.png
new file mode 100644 (file)
index 0000000..a9496d7
Binary files /dev/null and b/theme/noname/pix/fp/path_folder_rtl.png differ
diff --git a/theme/noname/pix/fp/refresh.png b/theme/noname/pix/fp/refresh.png
new file mode 100644 (file)
index 0000000..beb8d71
Binary files /dev/null and b/theme/noname/pix/fp/refresh.png differ
diff --git a/theme/noname/pix/fp/refresh.svg b/theme/noname/pix/fp/refresh.svg
new file mode 100644 (file)
index 0000000..2a3c4bb
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M7.9 16c4 0 7.4-3 7.8-7h-3c-.5 2-2.5 4-4.9 4-2.8 0-5-2.2-5-5s2.2-5 5-5c1.1 0 2.1 0 3 1h-1c-.5 0-.8.5-.8 1.1v1c0 .5.3.9.8.9h5c.6 0 1.2-.4 1.2-.9v-5c0-.6-.6-1.1-1.2-1.1h-1c-.5 0-.8.5-.8 1.1V2C12 .9 9.9.2 8 .2 3.6.2 0 3.7 0 8.1 0 12.4 3.5 16 7.9 16z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/search.png b/theme/noname/pix/fp/search.png
new file mode 100644 (file)
index 0000000..8fc4ca9
Binary files /dev/null and b/theme/noname/pix/fp/search.png differ
diff --git a/theme/noname/pix/fp/search.svg b/theme/noname/pix/fp/search.svg
new file mode 100644 (file)
index 0000000..2b78535
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="-0.1 -0.1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M15.5 13.4l-2.1-2.1c-.2-.2-.4-.3-.6-.3.8-1.2 1.2-2.6 1.2-4 0-3.9-3.1-7-7-7S0 3.1 0 7c0 1.9.7 3.6 2 5 1.3 1.3 3.1 2 5 2 1.4 0 2.8-.4 3.9-1.2l.3.6 2.1 2.1c.6.6 1.5.6 2.1 0s.7-1.6.1-2.1zM7 11v1.5V11c-1.1 0-2.1-.4-2.8-1.2C3.4 9.1 3 8.1 3 7c0-2.2 1.8-4 4-4s4 1.8 4 4c0 1.1-.4 2.1-1.2 2.8-.7.8-1.7 1.2-2.8 1.2z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/setting.png b/theme/noname/pix/fp/setting.png
new file mode 100644 (file)
index 0000000..6cb4579
Binary files /dev/null and b/theme/noname/pix/fp/setting.png differ
diff --git a/theme/noname/pix/fp/setting.svg b/theme/noname/pix/fp/setting.svg
new file mode 100644 (file)
index 0000000..ba1abfb
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M15.9 9.3c.1-.4.1-.9.1-1.3s0-.9-.1-1.3l-2.1-.4c-.1-.4-.3-.8-.5-1.2l1.2-1.8c-.5-.7-1.1-1.3-1.9-1.8l-1.8 1.2c-.4-.2-.8-.4-1.2-.5L9.3.1C8.9 0 8.4 0 8 0s-.9 0-1.3.1l-.4 2.1c-.4.2-.8.3-1.2.5L3.4 1.5C2.6 2 2 2.6 1.5 3.4l1.2 1.8c-.2.3-.3.7-.5 1.1l-2.1.4C0 7.1 0 7.6 0 8s0 .9.1 1.3l2.1.4c.1.4.3.8.5 1.2l-1.2 1.8c.5.7 1.1 1.3 1.9 1.8l1.8-1.2c.4.2.8.4 1.2.5l.4 2.1c.3.1.8.1 1.2.1s.9 0 1.3-.1l.4-2.1c.4-.1.8-.3 1.2-.5l1.8 1.2c.7-.5 1.3-1.1 1.9-1.9l-1.2-1.8c.2-.4.4-.8.5-1.2l2-.3zM8 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/view_icon_active.png b/theme/noname/pix/fp/view_icon_active.png
new file mode 100644 (file)
index 0000000..d6d8d3b
Binary files /dev/null and b/theme/noname/pix/fp/view_icon_active.png differ
diff --git a/theme/noname/pix/fp/view_icon_active.svg b/theme/noname/pix/fp/view_icon_active.svg
new file mode 100644 (file)
index 0000000..04c1f45
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M9 14h7V8H9v6zm5-4v2h-3v-2h3zM7 8H0v6h7V8zm-5 4v-2h3v2H2zM9 0v6h7V0H9zm5 4h-3V2h3v2zM7 0H0v6h7V0zM2 4V2h3v2H2z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/view_list_active.png b/theme/noname/pix/fp/view_list_active.png
new file mode 100644 (file)
index 0000000..be1a89b
Binary files /dev/null and b/theme/noname/pix/fp/view_list_active.png differ
diff --git a/theme/noname/pix/fp/view_list_active.svg b/theme/noname/pix/fp/view_list_active.svg
new file mode 100644 (file)
index 0000000..b52cccb
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M16 14H0v-2h16v2zM0 10h16V8H0v2zm16-6H0v2h16V4zm0-2V0H0v2h16z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/fp/view_tree_active.png b/theme/noname/pix/fp/view_tree_active.png
new file mode 100644 (file)
index 0000000..ee00bd1
Binary files /dev/null and b/theme/noname/pix/fp/view_tree_active.png differ
diff --git a/theme/noname/pix/fp/view_tree_active.svg b/theme/noname/pix/fp/view_tree_active.svg
new file mode 100644 (file)
index 0000000..34755ad
--- /dev/null
@@ -0,0 +1,3 @@
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [\r
+       <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">\r
+]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M10 12h6v2h-6v-2zm-2 2v-2H6v2h2zm0-4h8V8H8v2zM4 8v2h2V8H4zm2-2h10V4H6v2zM2 4v2h2V4H2zm2-4v2h12V0H4zM2 0H0v2h2V0z" fill="#999"/></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/glyphicons-halflings-white.png b/theme/noname/pix/glyphicons-halflings-white.png
new file mode 100644 (file)
index 0000000..a991ece
Binary files /dev/null and b/theme/noname/pix/glyphicons-halflings-white.png differ
diff --git a/theme/noname/pix/glyphicons-halflings.png b/theme/noname/pix/glyphicons-halflings.png
new file mode 100644 (file)
index 0000000..aad6c82
Binary files /dev/null and b/theme/noname/pix/glyphicons-halflings.png differ
diff --git a/theme/noname/pix/header.jpg b/theme/noname/pix/header.jpg
new file mode 100644 (file)
index 0000000..3e85176
Binary files /dev/null and b/theme/noname/pix/header.jpg differ
diff --git a/theme/noname/pix/horizontal-menu-submenu-indicator.png b/theme/noname/pix/horizontal-menu-submenu-indicator.png
new file mode 100644 (file)
index 0000000..f465263
Binary files /dev/null and b/theme/noname/pix/horizontal-menu-submenu-indicator.png differ
diff --git a/theme/noname/pix/mod/quiz/checkmark.png b/theme/noname/pix/mod/quiz/checkmark.png
new file mode 100644 (file)
index 0000000..f225e33
Binary files /dev/null and b/theme/noname/pix/mod/quiz/checkmark.png differ
diff --git a/theme/noname/pix/mod/quiz/checkmark.svg b/theme/noname/pix/mod/quiz/checkmark.svg
new file mode 100644 (file)
index 0000000..460cf0f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve" preserveAspectRatio="xMinYMid meet">
+<style type="text/css">
+       .st0{fill:#FFFFFF;}
+</style>
+<polygon class="st0" points="32.1,9.3 27.5,4.7 12.2,19.9 4.8,12.5 0.1,17.1 12.2,29.2 12.4,29 12.4,29 "/>
+</svg>
diff --git a/theme/noname/pix/mod/quiz/flag-on.png b/theme/noname/pix/mod/quiz/flag-on.png
new file mode 100644 (file)
index 0000000..9624938
Binary files /dev/null and b/theme/noname/pix/mod/quiz/flag-on.png differ
diff --git a/theme/noname/pix/mod/quiz/flag-on.svg b/theme/noname/pix/mod/quiz/flag-on.svg
new file mode 100644 (file)
index 0000000..abf4813
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   version="1.1"
+   width="13"
+   height="13"
+   id="svg2996" preserveAspectRatio="xMinYMid meet">
+  <defs
+     id="defs2998" />
+  <metadata
+     id="metadata3001">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     transform="translate(0,-3)"
+     id="layer1">
+    <path
+       d="M 0,0 13,13 13,0 z"
+       transform="translate(0,3)"
+       id="path3006"
+       style="fill:#ea0000;fill-opacity:1;stroke:none" />
+  </g>
+</svg>
diff --git a/theme/noname/pix/mod/quiz/warningtriangle.png b/theme/noname/pix/mod/quiz/warningtriangle.png
new file mode 100644 (file)
index 0000000..8403377
Binary files /dev/null and b/theme/noname/pix/mod/quiz/warningtriangle.png differ
diff --git a/theme/noname/pix/mod/quiz/warningtriangle.svg b/theme/noname/pix/mod/quiz/warningtriangle.svg
new file mode 100644 (file)
index 0000000..7d06d52
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   version="1.1"
+   id="Layer_1"
+   x="0px"
+   y="0px"
+   viewBox="0 0 32 32"
+   style="enable-background:new 0 0 32 32;"
+   xml:space="preserve"
+   inkscape:version="0.48.4 r9939"
+   width="100%"
+   height="100%"
+   sodipodi:docname="warningtriangle.svg" preserveAspectRatio="xMinYMid meet"><metadata
+   id="metadata3018"><rdf:RDF><cc:Work
+       rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+         rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+   id="defs3016" /><sodipodi:namedview
+   pagecolor="#ffffff"
+   bordercolor="#666666"
+   borderopacity="1"
+   objecttolerance="10"
+   gridtolerance="10"
+   guidetolerance="10"
+   inkscape:pageopacity="0"
+   inkscape:pageshadow="2"
+   inkscape:window-width="1221"
+   inkscape:window-height="862"
+   id="namedview3014"
+   showgrid="true"
+   inkscape:zoom="16.375799"
+   inkscape:cx="15.041926"
+   inkscape:cy="16"
+   inkscape:window-x="0"
+   inkscape:window-y="0"
+   inkscape:window-maximized="0"
+   inkscape:current-layer="Layer_1"><inkscape:grid
+     type="xygrid"
+     id="grid3796" /></sodipodi:namedview>
+<style
+   type="text/css"
+   id="style3010">
+       .st0{fill:#FFFFFF;}
+</style>
+
+<path
+   style="color:#000000;fill:#800000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+   inkscape:transform-center-y="-4.4999999"
+   d="M 16,0 32,32 0,32 z"
+   id="path3800"
+   inkscape:connector-curvature="0"
+   sodipodi:nodetypes="cccc" /></svg>
\ No newline at end of file
diff --git a/theme/noname/pix/mod/quiz/whitecircle.png b/theme/noname/pix/mod/quiz/whitecircle.png
new file mode 100644 (file)
index 0000000..299734b
Binary files /dev/null and b/theme/noname/pix/mod/quiz/whitecircle.png differ
diff --git a/theme/noname/pix/mod/quiz/whitecircle.svg b/theme/noname/pix/mod/quiz/whitecircle.svg
new file mode 100644 (file)
index 0000000..60533a8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve" preserveAspectRatio="xMinYMid meet">
+<style type="text/css">
+       .st0{fill:#FFFFFF;}
+</style>
+<circle class="st0" cx="16" cy="16" r="16"/>
+</svg>
diff --git a/theme/noname/pix/screenshot.jpg b/theme/noname/pix/screenshot.jpg
new file mode 100644 (file)
index 0000000..adfbdc1
Binary files /dev/null and b/theme/noname/pix/screenshot.jpg differ
diff --git a/theme/noname/pix/sprite.png b/theme/noname/pix/sprite.png
new file mode 100644 (file)
index 0000000..b2a31cd
Binary files /dev/null and b/theme/noname/pix/sprite.png differ
diff --git a/theme/noname/pix/vertical-menu-submenu-indicator.png b/theme/noname/pix/vertical-menu-submenu-indicator.png
new file mode 100644 (file)
index 0000000..bbd8044
Binary files /dev/null and b/theme/noname/pix/vertical-menu-submenu-indicator.png differ
diff --git a/theme/noname/pix/yui2-treeview-sprite-rtl.gif b/theme/noname/pix/yui2-treeview-sprite-rtl.gif
new file mode 100644 (file)
index 0000000..5198c1b
Binary files /dev/null and b/theme/noname/pix/yui2-treeview-sprite-rtl.gif differ
diff --git a/theme/noname/renderers.php b/theme/noname/renderers.php
new file mode 100644 (file)
index 0000000..a535625
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+// 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/>.
+
+/**
+ * Noname renderers.
+ *
+ * @package   theme_noname
+ * @copyright 2016 Frédéric Massart
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die();
+
+/**
+ * Noname core renderers class.
+ *
+ * @package   theme_noname
+ * @copyright 2016 Frédéric Massart
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+class theme_noname_core_renderer extends core_renderer {
+}
diff --git a/theme/noname/style/build.css b/theme/noname/style/build.css
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/theme/noname/style/editor.css b/theme/noname/style/editor.css
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/theme/noname/version.php b/theme/noname/version.php
new file mode 100644 (file)
index 0000000..bcfd450
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+// 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/>.
+
+/**
+ * Noname.
+ *
+ * @package    theme_noname
+ * @copyright  2016 Frédéric Massart
+ * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die();
+
+$plugin->version   = 2016071100;
+$plugin->requires  = 2016070700;
+$plugin->component = 'theme_noname';
+$plugin->release   = '1.0';
+$plugin->maturity  = MATURITY_ALPHA;