added pertinent author/copyright to files modified in tabs
[openemr.git] / interface / main / tabs / templates / menu_template.php
blob1ed8ffccba9ee9d5ac062e873fa031352263273b
1 <?php
2 /**
3 * Copyright (C) 2016 Kevin Yeh <kevin.y@integralemr.com>
4 * Copyright (C) 2016 Brady Miller <brady.g.miller@gmail.com>
6 * LICENSE: This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 3
9 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
17 * @package OpenEMR
18 * @author Kevin Yeh <kevin.y@integralemr.com>
19 * @author Brady Miller <brady.g.miller@gmail.com>
20 * @link http://www.open-emr.org
24 <script type="text/html" id="menu-action">
25 <i data-bind="css: icon,text:helperText" class="fa closeButton"></i>
26 <div class='menuLabel' data-bind="text:label,click: menuActionClick,css: {menuDisabled: ! enabled()}"></div>
28 </script>
29 <script type="text/html" id="menu-header">
30 <i data-bind="css: icon" class="fa closeButton"></i>
31 <div class="menuSection">
32 <div class='menuLabel' data-bind="text:label"></div>
33 <ul class="menuEntries" name="menuEntries" data-bind="foreach: children">
34 <li data-bind="template: {name:header ? 'menu-header' : 'menu-action', data: $data }"></li>
35 </ul>
36 </div>
37 </script>
38 <script type="text/html" id="menu-template">
39 <div style="margin-right:200px;">
40 <div class='appMenu' data-bind="foreach: menu">
41 <span data-bind="template: {name:header ? 'menu-header' : 'menu-action', data: $data }"></span>
42 </div>
43 </div>
44 </script>