codeigniter_test/application/views/admin/template/header.php

73 lines
2.9 KiB
PHP
Raw Normal View History

2020-01-02 22:49:45 +07:00
<!DOCTYPE HTML>
<html>
<head>
<title>Dashboard Admin</title>
<!--meta-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!--style-->
<link href="<?php echo base_url(); ?>bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo base_url(); ?>css/style_css.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
table textarea {width:100%;margin:0;}
table textarea, #notes-preview {border:1px solid gray;height:100px;}
#notes-preview {overflow-x:hidden;overflow-y:scroll;}
@media (max-width: 980px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
float: none;
padding-left: 5px;
padding-right: 5px;
}
}
</style>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/wmd-master/wmd.css"/>
<link href="<?php echo base_url(); ?>js/facebox-master/src/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<link href="<?php echo base_url(); ?>bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<script src="<?php echo base_url(); ?>bootstrap/js/jquery.js"></script>
</head>
<header>
<div class="navbar navbar-inverse navbar-fixed-top" >
<div class="navbar-inner">
<div class="container-fluid">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">Project name</a>
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li id="fat-menu" class="dropdown">
<a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown"><?php echo $this->auth->CI->session->userdata('nama'); ?> <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>">View Site</a></li>
<li role="presentation" class="divider"></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>admin/logout">Logout</a></li>
</ul>
</li>
</ul>
<!--
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
-->
</div><!--/.nav-collapse -->
</div><!--/.container-fluid-->
</div>
</div>
</header>