简洁自适应后台dashboard仪表盘效果

代码语言:html

所属分类:布局界面

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


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700'>
<link rel='stylesheet' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/tachyons.min.css">
<style>
body {
  font-family: 'Roboto';
  -webkit-font-smoothing: antialiased;
}

.bg-green {
  background: #1BC98E;
}

.bg-red {
  background: #E64759;
}

.bg-purple {
  background: #9F86FF;
}

.divide:before {
  background: rgba(0, 0, 0, 0.1);
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 8px;
  width: 100%;
  z-index: -1;
}
</style>

</head>
<body translate="no">
<main>
<div class="mw8 center pv4 ph3" id="dashboard">
<section class="flex-m flex-l nl3-m nr3-m nl3-l nr3-l">
<nav class="w-100 w-25-m w-25-l mb4 mb0-l ph3-m ph3-l">
<header class="mb2">
<i class="material-icons f2 black-70">dashboard</i>
</header>
<form class="mb4 w-100 w-70-m w-80-l">
<input type="text" placeholder="Search" class="input-reset ba b--black-20 pa1 br2 f5 w-100" />
</form>
<h2 class="ttu mt0 mb2 f6 fw5 silver">Vector</h2>
<ul class="list pl0 mt0 mb4">
<li class="mb2">
<a href="#" class="block link dim blue">Overview</a>
</li>
<li class="mb2">
<a href="#" class="block link dim blue">Servers History</a>
</li>
<li class="mb2">
<a href="#" class="block link dim blue">SONIC</a>
</li>
<li>
<a href="#" class="block link dim blue">Infrastructures</a>
</li>
</ul>
<h2 class="ttu mt0 mb2 f6 fw5 silver">More</h2>
<ul class="list pl0 mt0 mb2">
<li class="mb2">
<a href="#" class="block link dim blue">Intelligence Center</a>
</li>
<li class="mb2">
<a href="#" class="block link dim blue">Reports</a>
</li>
<li class="mb2">
<a href="#" class="block link dim blue">Dark UI</a>
</li>
<li>
<a href="#" class="block link dim blue">Details</a>
</li>
</ul>
</nav>
<article class="w-100 w-75-m w-75-l ph3-m ph3-l">
<header class="mb3">
<h2 class="ttu mt0 mb1 f6 fw5 silver">Status</h2>
<h1 class="fw3 dark-gray mt0 mb0">PROTECTED</h1>
</header>
<hr class="o-20" />
<div class="flex-m flex-l flex-wrap items-center justify-between nl3 nr3 pt4 mb4">
<div class="w-100 w-50-m w-33-l ph3 tc mb4 mb0-l">
<div class="w-50 w-50-m w-75-l center">
<doughnut :labels="newVsReturning.labels" :data="newVsReturning.data"></doughnut>
</div>
<h3 class="mt3 mb1 f6 fw5 silver">Traffic</h3>
<h4 class="dark-gray f3 fw3 mv0">Inbound vs. Outboud</h4>
</div>
<div class="w-100 w-50-m w-33-l ph3 tc mb4 mb0-l">
<div class="w-50 w-50-m w-75-l center">
 <doughnut :labels="newVsRecurring.labels" :data="newVsRecurring.data"></doughnut>
</div>
<h3 class="mt3 mb1 f6 fw5 silver">Network</h3>
<h4 class="dark-gray f3 fw3 mv0">Infrastructures</h4>
</div>
<div class="w-100 w-50-m w-33-l ph3 tc mb4 mb0-l">
<div class="w-50 w-50-m w-75-l center">
<doughnut :labels="directVsReferrals.labels" :data="directVsReferrals.data"></doughnut>
</div>
<h3 class="mt3 mb1 f6 fw5 silver">Threat Analysis</h3>
<h4 class="dark-gray f3 fw3 mv0">Sonic Scanning</h4>
</div>
</div>
<div class="divide tc relative">
<h5 class="fw4 ttu mv0 dib bg-white ph3">Quick Stats</h5>
</div>
<div class="flex flex-wrap mt3 nl3 nr3">
<div class="w-50 w-25-l mb4 mb0-l relative flex flex-column ph3">
<sparkline title="Stations" class="bg-green" value="20"></sparkline>
</div>
<div class="w-50 w-25-l mb4 mb0-l relative flex flex-column ph3">
<sparkline title="Criticals" class="bg-red" value="758"></sparkline>
</div>
<div class="w-50 w-25-l mb4 mb0-l relative flex flex-column ph3">
<sparkline title="Users" class="bg-purple" value="20"></sparkline>
</div>
<div class="w-50 w-25-l mb4 mb0-l relative flex flex-column ph3">
<sparkline title="Files" class="bg-blue" value="75,800"></sparkline>
</div>
</div>
<hr class="o-20 mt4" />
<div class="flex flex-wrap pt3 nl3 nr3">
<div class="w-100 w-50-l ph3 mb3 mb0-l">
<div class="bt bl br b--black-10 br2">
<div class="pa3 bb b--black-10">
<h4 class="mv0">Traffic Location</h4>
</div>
<metric-list-item v-for="(country, index) in countryData" :key="index" :show-bar="country.showBar" :name="country.name" :value="country.value">
</metric-list-item>
</div>
<a href="#" class="no-underline fw5 mt3 br2 ph3 pv2 dib ba b--blue blue bg-white hover-bg-blue hover-white">All Countries</a>
</div>
<div class="w-100 w-50-l ph3 mb3 mb0-l">
<div class="bt bl br b--black-10 br2">
<div class="pa3 bb b--black-10">
<h4 class="mv0">Directory Analysis</h4>
</div>
<metric-list-item v-for="(page, index) in pageData" :key="index" :show-bar="page.showBar" :name="page.name" :value="page.value">
</metric-list-item>
</div>
<a href="#" class="no-underline fw5 mt3 br2 ph3 pv2 dib ba b--blue blue bg-white hover-bg-blue hover-white">See All</a>
</div>
</div>
<div class=&q.........完整代码请登录后点击上方下载按钮下载查看

网友评论0