Tailwind实现一个后台管理系统仪表盘效果代码

代码语言:html

所属分类:布局界面

代码描述:Tailwind实现一个后台管理系统仪表盘效果代码,结合Chart插件实现图表。

代码标签: Tailwind 后台 管理 系统 仪表盘

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
   
<meta charset="UTF-8">
   
<meta name="viewport" content="width=device-width, initial-scale=1.0">
   
<meta http-equiv="X-UA-Compatible" content="ie=edge">
   
<title>Tailwind Admin Starter Template : Tailwind Toolbox</title>
   
<meta name="author" content="name">
   
<meta name="description" content="description here">
   
<meta name="keywords" content="keywords,here">

<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.6.1.css">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/tailwind.2.2.7.css"> <!--Replace with your tailwind.css once created-->
   
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/Chart.bundle.2.8.0.js"></script>

</head>

<body class="bg-gray-800 font-sans leading-normal tracking-normal mt-12">

<header>
   
<!--Nav-->
   
<nav aria-label="menu nav" class="bg-gray-800 pt-2 md:pt-1 pb-1 px-1 mt-0 h-auto fixed w-full z-20 top-0">

       
<div class="flex flex-wrap items-center">
           
<div class="flex flex-shrink md:w-1/3 justify-center md:justify-start text-white">
               
<a href="#" aria-label="Home">
                   
<span class="text-xl pl-2">Logo</span>
               
</a>
           
</div>

           
<div class="flex flex-1 md:w-1/3 justify-center md:justify-start text-white px-2">
               
<span class="relative w-full">
                   
<input aria-label="search" type="search" id="search" placeholder="Search" class="w-full bg-gray-900 text-white transition border border-transparent focus:outline-none focus:border-gray-400 rounded py-3 px-2 pl-10 appearance-none leading-normal">
                   
<div class="absolute search-icon" style="top: 1rem; left: .8rem;">
                       
<svg class="fill-current pointer-events-none text-white w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
                           
<path d="M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"></path>
                       
</svg>
                   
</div>
               
</span>
           
</div>

           
<div class="flex w-full pt-2 content-center justify-between md:w-1/3 md:justify-end">
               
<ul class="list-reset flex justify-between flex-1 md:flex-none items-center">
                   
<li class="flex-1 md:flex-none md:mr-3">
                       
<a class="inline-block py-2 px-4 text-white no-underline" href="#">Active</a>
                   
</li>
                   
<li class="flex-1 md:flex-none md:mr-3">
                       
<a class="inline-block text-gray-400 no-underline hover:text-gray-200 hover:text-underline py-2 px-4" href="#">link</a>
                   
</li>
                   
<li class="flex-1 md:flex-none md:mr-3">
                       
<div class="relative inline-block">
                           
<button onclick="toggleDD('myDropdown')" class="drop-button text-white py-2 px-2"> <span class="pr-2"><i class="em em-robot_face"></i></span> Hi, User <svg class="h-3 fill-current inline" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
                               
<path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z" /></svg></button>
                           
<div id="myDropdown" class="dropdownlist absolute bg-gray-800 text-white right-0 mt-3 p-3 overflow-auto z-30 invisible">
                               
<input type="text" class="drop-search p-2 text-gray-600" placeholder="Search.." id="myInput" onkeyup="filterDD('myDropdown','myInput')">
                               
<a href="#" class="p-2 hover:bg-gray-800 text-white text-sm no-underline hover:no-underline block"><i class="fa fa-user fa-fw"></i> Profile</a>
                               
<a href="#" class="p-2 hover:bg-gray-800 text-white text-sm no-underline hover:no-underline block"><i class="fa fa-cog fa-fw"></i> Settings</a>
                               
<div class="border border-gray-800"></div>
                                <a href="#" class=.........完整代码请登录后点击上方下载按钮下载查看

网友评论0