MDL-54708 message: add notification popover to nav bar
[moodle.git] / theme / clean / layout / columns2.php
CommitLineData
7956a02f
SH
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
69f727f8
SH
17/**
18 * The two column layout.
19 *
20 * @package theme_clean
21 * @copyright 2013 Moodle, moodle.org
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23 */
24
7956a02f
SH
25// Get the HTML for the settings bits.
26$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
27
73b425be
ME
28$regionmain = 'span9 pull-right';
29$sidepre = 'span3 desktop-first-column';
73b425be 30
7956a02f
SH
31echo $OUTPUT->doctype() ?>
32<html <?php echo $OUTPUT->htmlattributes(); ?>>
33<head>
34 <title><?php echo $OUTPUT->page_title(); ?></title>
35 <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" />
36 <?php echo $OUTPUT->standard_head_html() ?>
37 <meta name="viewport" content="width=device-width, initial-scale=1.0">
38</head>
39
40<body <?php echo $OUTPUT->body_attributes('two-column'); ?>>
41
42<?php echo $OUTPUT->standard_top_of_body_html() ?>
43
6e2bf857 44<header role="banner" class="navbar navbar-fixed-top<?php echo $html->navbarclass ?> moodle-has-zindex">
7956a02f
SH
45 <nav role="navigation" class="navbar-inner">
46 <div class="container-fluid">
c08b52aa 47 <?php echo $OUTPUT->navbar_home(); ?>
77241abb 48 <?php echo $OUTPUT->navbar_button(); ?>
854a647e 49 <?php echo $OUTPUT->user_menu(); ?>
a0e358a6 50 <?php echo $OUTPUT->notification_menu(); ?>
4040c8b3 51 <?php echo $OUTPUT->search_box(); ?>
7956a02f
SH
52 <div class="nav-collapse collapse">
53 <?php echo $OUTPUT->custom_menu(); ?>
54 <ul class="nav pull-right">
55 <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
7956a02f
SH
56 </ul>
57 </div>
58 </div>
59 </nav>
60</header>
61
62<div id="page" class="container-fluid">
a75dbde0 63 <?php echo $OUTPUT->full_header(); ?>
7956a02f 64 <div id="page-content" class="row-fluid">
73b425be 65 <section id="region-main" class="<?php echo $regionmain; ?>">
2e3fb23f
GB
66 <?php
67 echo $OUTPUT->course_content_header();
68 echo $OUTPUT->main_content();
69 echo $OUTPUT->course_content_footer();
70 ?>
71 </section>
73b425be 72 <?php echo $OUTPUT->blocks('side-pre', $sidepre);
7956a02f
SH
73 ?>
74 </div>
75
76 <footer id="page-footer">
77 <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
78 <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p>
79 <?php
80 echo $html->footnote;
034710e8
ME
81 echo $OUTPUT->login_info();
82 echo $OUTPUT->home_link();
7956a02f
SH
83 echo $OUTPUT->standard_footer_html();
84 ?>
85 </footer>
86
87 <?php echo $OUTPUT->standard_end_of_body_html() ?>
88
89</div>
90</body>
034710e8 91</html>