]>
Commit | Line | Data |
---|---|---|
aa7d56f6 CS |
1 | <?php |
2 | class Core extends CI_Model { | |
3 | public function get_menu() { | |
4 | $menu = array( | |
45f2e649 CS |
5 | 'Desktop' => '#', |
6 | 'App' => '#', | |
7 | 'Test' => '#', | |
8 | 'GitHub' => 'https://github.com/mustis/WebOsProject' | |
aa7d56f6 | 9 | ); |
9d2ed0ce CS |
10 | return $menu; |
11 | } | |
12 | public function get_login() { | |
13 | $login_modal = ' | |
14 | <div id="loginModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |
15 | <div class="modal-header"> | |
16 | <h3 id="myModalLabel">Login</h3> | |
17 | </div> | |
18 | <div class="modal-body"> | |
19 | <form class="form-horizontal"> | |
20 | <div class="control-group"> | |
21 | <label class="control-label" for="inputEmail">Email</label> | |
22 | <div class="controls"> | |
23 | <input type="text" id="inputEmail" placeholder="Email"> | |
24 | </div> | |
25 | </div> | |
26 | <div class="control-group"> | |
27 | <label class="control-label" for="inputPassword">Password</label> | |
28 | <div class="controls"> | |
29 | <input type="password" id="inputPassword" placeholder="Password"> | |
30 | </div> | |
31 | </div> | |
32 | <div class="control-group"> | |
33 | <div class="controls"> | |
34 | <label class="checkbox"> | |
35 | <input type="checkbox"> Remember me | |
36 | </label> | |
37 | </div> | |
38 | </div> | |
39 | </form> | |
40 | </div> | |
41 | <div class="modal-footer"> | |
42 | <button type="submit" class="btn btn-primary">Login</button> | |
43 | </div> | |
44 | </div>'; | |
45 | return $login_modal; | |
aa7d56f6 CS |
46 | } |
47 | } | |
48 | ?> |