Changeset 460
- Timestamp:
- 05/07/08 19:19:10 (8 months ago)
- Location:
- trunk/app
- Files:
-
- 3 modified
-
models/vclassroom.php (modified) (1 diff)
-
views/layouts/admin.ctp (modified) (3 diffs)
-
webroot/css/cpanel/cpanel.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/models/vclassroom.php
r456 r460 42 42 'conditions' => '', 43 43 'fields' => 'username, id, email, name', 44 'order' => ' ',44 'order' => 'name', 45 45 'limit' => '', 46 46 'unique' => true, -
trunk/app/views/layouts/admin.ctp
r459 r460 29 29 30 30 <div id="header"> 31 <h1><?php echo $html->link('Karamelo: Control Panel', '/admin/entries/start'); ?></h1> e-Learning platform 32 <?php 33 echo $html->link($cU['User']['username'] . '\'s blog', '/blog/'. $cU['User']['username'], array("style"=>"color:white;text-decoration:none;font-weight:bold;")); 34 ?> 31 <div style="width:300px;float:left;margin-right:15px;"> 32 <h1><?php echo $html->link('Karamelo: Control Panel', '/admin/entries/start'); ?></h1> 33 <?php echo $html->para(null, 'e-Learning platform'); ?> 34 </div> 35 <div style="width:700px;float:left;"> 35 36 Logged in as <strong><?php echo $cU['User']['username']; ?></strong> | 36 <?php echo $html->link($_SERVER['SERVER_NAME'], '/').' '. $html->link('My Account', '/admin/users/edit') .' | '. $html->link('Logout', '/users/logout'); ?> 37 <?php 38 echo $html->link($cU['User']['username'] . '\'s blog', '/blog/'. $cU['User']['username']) . ' | '; 39 echo $html->link($_SERVER['SERVER_NAME'], '/').' | '; 40 echo $html->link('My Account', '/admin/users/edit') .' | '. $html->link('Logout', '/users/logout'); ?> 41 </div> 37 42 </div><!-- header ends--> 38 <div style="clear:both;"></div> 43 39 44 <?php echo $this->renderElement('admin_menu'); ?> 40 45 … … 46 51 <?php echo $html->div('footer', 'Powered by the '. $html->link('Karamelo Project © 2002-2008 GPLv3', 'http://www.chipotle-software.com/', null, false, false)); ?> 47 52 48 <div style="position:absolute;top: 15px;left:800px"><!-- help button-->53 <div style="position:absolute;top:22px;left:950px"><!-- help button--> 49 54 <?php 50 55 // help popup window … … 61 66 ?> 62 67 </div> 63 64 68 </body> 65 69 </html> -
trunk/app/webroot/css/cpanel/cpanel.css
r459 r460 16 16 margin: 0 auto; 17 17 padding: 6px; 18 color:#fff; 18 19 text-align: left; 19 20 font-size: smaller; … … 40 41 #header h1 { 41 42 margin: 0; 42 padding-top: 7px;43 padding-top: 2px; 43 44 color: #fff; 44 font-weight: bold ;45 font-weight: bolder; 45 46 font-size: large; 46 47 } 47 48 48 49 #header h1 a, #header h1 a:hover { 50 color: #fff; 51 text-decoration: none; 52 font-size: smaller; 53 } 54 #header a, #header a:hover { 49 55 color: #fff; 50 56 text-decoration: none; … … 442 448 font-weight: bold; 443 449 } 444 445 450 446 451 /* Layout */
