Header changes for admin menu, etc.
这个提交包含在:
		
							父节点
							
								
									5a003c5665
								
							
						
					
					
						当前提交
						0de2883468
					
				
					共有  1 个文件被更改,包括 33 次插入 和 2 次删除
				
			
		|  | @ -15,6 +15,10 @@ | ||||||
| 		// Accordion
 | 		// Accordion
 | ||||||
| 		$("#tabs").tabs(); | 		$("#tabs").tabs(); | ||||||
| 		$( "button, input:submit", ".wrap_content" ).button(); | 		$( "button, input:submit", ".wrap_content" ).button(); | ||||||
|  | 		$( "#admin" ).click(function() { | ||||||
|  | 			$( "#submenu" ).toggle( 'blind', null, 500 ); | ||||||
|  | 			return false; | ||||||
|  | 		}); | ||||||
| 	}); | 	}); | ||||||
| </script> | </script> | ||||||
| 	<style type="text/css" media="screen" > | 	<style type="text/css" media="screen" > | ||||||
|  | @ -22,10 +26,22 @@ body { background-color: #e6e6e6; font-family: Arial, "Trebuchet MS", sans-serif | ||||||
| td { padding: 1px;} | td { padding: 1px;} | ||||||
| .tr1 td { background:none repeat scroll 0 0 #F0FFFF; }
 | .tr1 td { background:none repeat scroll 0 0 #F0FFFF; }
 | ||||||
| .partial td, .logbook td, .users td { padding: 5px; } | .partial td, .logbook td, .users td { padding: 5px; } | ||||||
|  | #submenu { height: 30px; background-color: #ffd; color:#ffffff; border-bottom: 1px solid #9bc9ed; clear: both; <?php
 | ||||||
|  | 
 | ||||||
|  | switch ($this->uri->segment(1)) { | ||||||
|  | 	case "user": | ||||||
|  | 		?> display: normal; <?php
 | ||||||
|  | 		break; | ||||||
|  | 	default: | ||||||
|  | 		?> display: none; <?php
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | ?>}
 | ||||||
| #nav { background-image: url('<?php echo base_url(); ?>/images/nav_bg.gif'); height: 39px; color:#ffffff; border-bottom: 1px solid #9bc9ed; }
 | #nav { background-image: url('<?php echo base_url(); ?>/images/nav_bg.gif'); height: 39px; color:#ffffff; border-bottom: 1px solid #9bc9ed; }
 | ||||||
| .log_title { background-image: url('<?php echo base_url(); ?>/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
 | .log_title { background-image: url('<?php echo base_url(); ?>/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
 | ||||||
| .auth_title { background-image: url('<?php echo base_url(); ?>/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
 | .auth_title { background-image: url('<?php echo base_url(); ?>/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
 | ||||||
| .small { font-size: 9px; } | .small { font-size: 9px; } | ||||||
|  | .error { color: #a00; }
 | ||||||
| 
 | 
 | ||||||
| /* Nav List CSS */ | /* Nav List CSS */ | ||||||
| ul#navlist { font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
 | ul#navlist { font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
 | ||||||
|  | @ -35,6 +51,14 @@ ul#navlist li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: | ||||||
| #navlist a { float: left; display: block; color: #ebebeb; text-decoration: none; padding-top: 7px; padding-left: 6px; padding-right: 5px; text-align:center; }
 | #navlist a { float: left; display: block; color: #ebebeb; text-decoration: none; padding-top: 7px; padding-left: 6px; padding-right: 5px; text-align:center; }
 | ||||||
| #navlist a:hover {  }
 | #navlist a:hover {  }
 | ||||||
| 
 | 
 | ||||||
|  | /* Submenu List CSS */ | ||||||
|  | ul#sublist { font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
 | ||||||
|  | ul#sublist li.active { float: left; background-image: none; background-color: #fff; margin: 2px 2px 0 3px; height:34px; text-align:center; }
 | ||||||
|  | ul#sublist li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: none; text-align:center; }
 | ||||||
|  | #sublist .active a{ color: #ebebeb ; }
 | ||||||
|  | #sublist a { float: left; display: block; color: #000; text-decoration: none; padding-top: 0px; padding-left: 6px; padding-right: 5px; text-align:center; }
 | ||||||
|  | #sublist a:hover {  }
 | ||||||
|  | 
 | ||||||
| ul#user { float: right; font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
 | ul#user { float: right; font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
 | ||||||
| ul#user li.active { background-image: none; background-color: #fff; margin: 2px 2px 0 3px; height:34px; text-align:center; }
 | ul#user li.active { background-image: none; background-color: #fff; margin: 2px 2px 0 3px; height:34px; text-align:center; }
 | ||||||
| ul#user li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: none; text-align:center; }
 | ul#user li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: none; text-align:center; }
 | ||||||
|  | @ -115,7 +139,7 @@ margin: 10px 0; | ||||||
| 			<?php } ?>
 | 			<?php } ?>
 | ||||||
| 			<li><a href="<?php echo site_url('statistics');?>" title="Statistics">Statistics</a></li> | 			<li><a href="<?php echo site_url('statistics');?>" title="Statistics">Statistics</a></li> | ||||||
| 			<?php if($this->config->item('use_auth') && $this->session->userdata('user_type') >= 99) { ?>
 | 			<?php if($this->config->item('use_auth') && $this->session->userdata('user_type') >= 99) { ?>
 | ||||||
| 			<li><a href="<?php echo site_url('user');?>" title="Users">Users</a></li> | 			<li><a href="#" id="admin">Admin</a></li> | ||||||
| 			<?php } ?>
 | 			<?php } ?>
 | ||||||
| 		</ul> | 		</ul> | ||||||
| 
 | 
 | ||||||
|  | @ -130,4 +154,11 @@ margin: 10px 0; | ||||||
| 		</ul> | 		</ul> | ||||||
| 		<?php } ?>
 | 		<?php } ?>
 | ||||||
| 	</div> | 	</div> | ||||||
|  | 	<div id="submenu"> | ||||||
|  | 		<ul id="sublist"> | ||||||
|  | 			<?php if($this->config->item('use_auth') && $this->session->userdata('user_type') >= 99) { ?>
 | ||||||
|  | 			<li><a href="<?php echo site_url('user');?>" title="Users">Users</a></li> | ||||||
|  | 			<?php } ?>
 | ||||||
|  | 		</ul> | ||||||
|  | 	</div> | ||||||
| <div class="clear"></div> | <div class="clear"></div> | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用