Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Boxxie now uses Canvas

  • Loading branch information...
commit 6b30b2126ab73977dcdd7c87e2c43202039a4276 1 parent 43d65a9
Patrick Malley authored
View
101 theme/boxxie/config.php
@@ -8,7 +8,7 @@
////////////////////////////////////////////////////
-$THEME->parents = array('base');
+$THEME->parents = array('canvas','base');
/////////////////////////////////////////////////////
// Which existing theme(s) in the /theme/ directory
@@ -21,7 +21,7 @@
////////////////////////////////////////////////////
-$THEME->sheets = array('pagelayout', 'boilerplate', 'screen');
+$THEME->sheets = array('core');
////////////////////////////////////////////////////
// Name of the stylesheet(s) you've including in
@@ -38,74 +38,62 @@
$THEME->layouts = array(
'base' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
'general' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
'course' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post'
),
'coursecategory' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
'incourse' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
'frontpage' => array(
- 'theme' => 'boxxie',
'file' => 'frontpage.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
'admin' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
),
'mydashboard' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
'options' => array('langmenu'=>true),
),
'mypublic' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
'login' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array(),
'options' => array('langmenu'=>true),
),
'popup' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true),
),
'frametop' => array(
- 'theme' => 'boxxie',
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true),
@@ -117,7 +105,6 @@
'options' => array('nofooter'=>true, 'nonavbar'=>true),
),
'embedded' => array(
- 'theme' => 'boxxie',
'file' => 'embedded.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>true),
@@ -132,4 +119,86 @@
// all in this way allows some flexibility down the road
// if you want to add a different layout template to a
// specific page.
-///////////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////
+
+// $THEME->csspostprocess
+
+////////////////////////////////////////////////////
+// Allows the user to provide the name of a function
+// that all CSS should be passed to before being
+// delivered.
+////////////////////////////////////////////////////
+
+// $THEME->filter_mediaplugin_colors
+
+////////////////////////////////////////////////////
+// Used to control the colours used in the small
+// media player for the filters
+////////////////////////////////////////////////////
+
+// $THEME->javascripts
+
+////////////////////////////////////////////////////
+// An array containing the names of JavaScript files
+// located in /javascript/ to include in the theme.
+// (gets included in the head)
+////////////////////////////////////////////////////
+
+// $THEME->javascripts_footer
+
+////////////////////////////////////////////////////
+// As above but will be included in the page footer.
+////////////////////////////////////////////////////
+
+// $THEME->larrow
+
+////////////////////////////////////////////////////
+// Overrides the left arrow image used throughout
+// Moodle
+////////////////////////////////////////////////////
+
+// $THEME->rarrow
+
+////////////////////////////////////////////////////
+// Overrides the right arrow image used throughout Moodle
+////////////////////////////////////////////////////
+
+// $THEME->layouts
+
+////////////////////////////////////////////////////
+// An array setting the layouts for the theme
+////////////////////////////////////////////////////
+
+// $THEME->parents_exclude_javascripts
+
+////////////////////////////////////////////////////
+// An array of JavaScript files NOT to inherit from
+// the themes parents
+////////////////////////////////////////////////////
+
+// $THEME->parents_exclude_sheets
+
+////////////////////////////////////////////////////
+// An array of stylesheets not to inherit from the
+// themes parents
+////////////////////////////////////////////////////
+
+// $THEME->plugins_exclude_sheets
+
+////////////////////////////////////////////////////
+// An array of plugin sheets to ignore and not
+// include.
+////////////////////////////////////////////////////
+
+// $THEME->renderfactory
+
+////////////////////////////////////////////////////
+// Sets a custom render factory to use with the
+// theme, used when working with custom renderers.
+////////////////////////////////////////////////////
+
+// $THEME->resource_mp3player_colors
+
+////////////////////////////////////////////////////
+// Controls the colours for the MP3 player
+////////////////////////////////////////////////////
View
8 theme/boxxie/layout/frontpage.php
@@ -45,14 +45,6 @@
<?php } ?>
</div>
-
- <?php if ($hasnavbar) { ?>
- <div class="navbar clearfix">
- <div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
- <div class="navbutton"> <?php echo $PAGE->button; ?></div>
- </div>
- <?php } ?>
-
<?php } ?>
<div id="page-content">
View
0  theme/boxxie/style/screen.css → theme/boxxie/style/core.css
File renamed without changes
View
57 theme/boxxie/style/pagelayout.css
@@ -1,57 +0,0 @@
-
-/*-----------------------------------------------------------------------------------|
-|--------------LEFT--------------------MIDDLE-------------------RIGHT----------------|
-|--------------210px--------------------------------------------210px----------------|
-|-----------------------------------------------------------------------------------*/
-
-#page-content #region-main-box {
- left: 210px; /* Width of left sideblock */
-}
-
-#page-content #region-main-box #region-post-box {
- margin-left: -420px; /* Twice width of left sideblock */
- padding-top: 5px;
-}
-
-#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
- margin-left: 420px; /* Twice width of left sideblock */
- padding: 0 15px; /* Padding around middle column */
-}
-
-#page-content #region-main-box #region-post-box #region-pre {
- left: 210px; /* Width of left sideblock */
- width: 210px; /* Width of left sideblock */
-}
-
-#page-content #region-main-box #region-post-box #region-post {
- width: 210px; /* Width of right sideblock */
-}
-
-#page-content #region-main-box .region-content {
- padding: 0;
-}
-
-/** Only side pre **/
-
-.side-pre-only #page-content #region-main-box #region-post-box {
- margin-left: -210px;
-}
-
-.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
- margin-left: 210px;
-}
-
-/** Only side post **/
-
-.side-post-only #page-content #region-main-box #region-post-box {
- margin-left: -210px;
-}
-
-.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
- margin-left: 210px;
-}
-
-
-.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
- margin-left: 210px;
-}
Please sign in to comment.
Something went wrong with that request. Please try again.