MDL-54708 message: add notification popover to nav bar
[moodle.git] / theme / clean / layout / columns1.php
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/>.
17 /**
18  * The one 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  */
25 // Get the HTML for the settings bits.
26 $html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
28 echo $OUTPUT->doctype() ?>
29 <html <?php echo $OUTPUT->htmlattributes(); ?>>
30 <head>
31     <title><?php echo $OUTPUT->page_title(); ?></title>
32     <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" />
33     <?php echo $OUTPUT->standard_head_html() ?>
34     <meta name="viewport" content="width=device-width, initial-scale=1.0">
35 </head>
37 <body <?php echo $OUTPUT->body_attributes(); ?>>
39 <?php echo $OUTPUT->standard_top_of_body_html() ?>
41 <header role="banner" class="navbar navbar-fixed-top<?php echo $html->navbarclass ?> moodle-has-zindex">
42     <nav role="navigation" class="navbar-inner">
43         <div class="container-fluid">
44             <?php echo $OUTPUT->navbar_home(); ?>
45             <?php echo $OUTPUT->navbar_button(); ?>
46             <?php echo $OUTPUT->user_menu(); ?>
47             <?php echo $OUTPUT->notification_menu(); ?>
48             <?php echo $OUTPUT->search_box(); ?>
49             <div class="nav-collapse collapse">
50                 <?php echo $OUTPUT->custom_menu(); ?>
51                 <ul class="nav pull-right">
52                     <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
53                 </ul>
54             </div>
55         </div>
56     </nav>
57 </header>
59 <div id="page" class="container-fluid">
61     <?php echo $OUTPUT->full_header(); ?>
63     <div id="page-content" class="row-fluid">
64         <section id="region-main" class="span12">
65             <?php
66             echo $OUTPUT->course_content_header();
67             echo $OUTPUT->main_content();
68             echo $OUTPUT->course_content_footer();
69             ?>
70         </section>
71     </div>
73     <footer id="page-footer">
74         <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
75         <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p>
76         <?php
77         echo $html->footnote;
78         echo $OUTPUT->login_info();
79         echo $OUTPUT->home_link();
80         echo $OUTPUT->standard_footer_html();
81         ?>
82     </footer>
84     <?php echo $OUTPUT->standard_end_of_body_html() ?>
86 </div>
87 </body>
88 </html>