MDL-54708 message: add notification popover to nav bar
[moodle.git] / theme / clean / layout / columns3.php
CommitLineData
59e31add
ME
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
07403fda 18 * Moodle's Clean theme, an example of how to make a Bootstrap theme
59e31add
ME
19 *
20 * DO NOT MODIFY THIS THEME!
21 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
22 *
23 * For full information about creating Moodle themes, see:
24 * http://docs.moodle.org/dev/Themes_2.0
25 *
07403fda 26 * @package theme_clean
59e31add
ME
27 * @copyright 2013 Moodle, moodle.org
28 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
29 */
30
7956a02f
SH
31// Get the HTML for the settings bits.
32$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
59e31add 33
8133912c 34$regionmainbox = 'span9 desktop-first-column';
73b425be
ME
35$regionmain = 'span8 pull-right';
36$sidepre = 'span4 desktop-first-column';
37$sidepost = 'span3 pull-right';
a31445a8 38
59e31add 39echo $OUTPUT->doctype() ?>
7956a02f 40<html <?php echo $OUTPUT->htmlattributes(); ?>>
59e31add 41<head>
7956a02f
SH
42 <title><?php echo $OUTPUT->page_title(); ?></title>
43 <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" />
59e31add
ME
44 <?php echo $OUTPUT->standard_head_html() ?>
45 <meta name="viewport" content="width=device-width, initial-scale=1.0">
46</head>
47
7956a02f 48<body <?php echo $OUTPUT->body_attributes(); ?>>
59e31add
ME
49
50<?php echo $OUTPUT->standard_top_of_body_html() ?>
51
6e2bf857 52<header role="banner" class="navbar navbar-fixed-top<?php echo $html->navbarclass ?> moodle-has-zindex">
59e31add
ME
53 <nav role="navigation" class="navbar-inner">
54 <div class="container-fluid">
c08b52aa 55 <?php echo $OUTPUT->navbar_home(); ?>
77241abb 56 <?php echo $OUTPUT->navbar_button(); ?>
854a647e 57 <?php echo $OUTPUT->user_menu(); ?>
a0e358a6 58 <?php echo $OUTPUT->notification_menu(); ?>
4040c8b3 59 <?php echo $OUTPUT->search_box(); ?>
59e31add 60 <div class="nav-collapse collapse">
7956a02f
SH
61 <?php echo $OUTPUT->custom_menu(); ?>
62 <ul class="nav pull-right">
63 <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
7956a02f 64 </ul>
59e31add
ME
65 </div>
66 </div>
67 </nav>
68</header>
69
70<div id="page" class="container-fluid">
a75dbde0 71 <?php echo $OUTPUT->full_header(); ?>
7956a02f 72 <div id="page-content" class="row-fluid">
73b425be 73 <div id="region-main-box" class="<?php echo $regionmainbox; ?>">
7956a02f 74 <div class="row-fluid">
73b425be 75 <section id="region-main" class="<?php echo $regionmain; ?>">
7956a02f
SH
76 <?php
77 echo $OUTPUT->course_content_header();
78 echo $OUTPUT->main_content();
79 echo $OUTPUT->course_content_footer();
80 ?>
81 </section>
73b425be 82 <?php echo $OUTPUT->blocks('side-pre', $sidepre); ?>
7956a02f
SH
83 </div>
84 </div>
73b425be 85 <?php echo $OUTPUT->blocks('side-post', $sidepost); ?>
7956a02f 86 </div>
59e31add 87
7956a02f
SH
88 <footer id="page-footer">
89 <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
90 <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p>
91 <?php
92 echo $html->footnote;
034710e8
ME
93 echo $OUTPUT->login_info();
94 echo $OUTPUT->home_link();
7956a02f
SH
95 echo $OUTPUT->standard_footer_html();
96 ?>
97 </footer>
59e31add 98
7956a02f 99 <?php echo $OUTPUT->standard_end_of_body_html() ?>
59e31add
ME
100
101</div>
102</body>
034710e8 103</html>