analysis.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Roboto+Mono:wght@500&display=swap"
rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/analysis.css">
</link>
<link rel="shortcut icon" type="image/png" href="/images/favicon.png">
<title>Wizdwarfs</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.8.0/chart.min.js"></script>
<script src="https://js.pusher.com/7.0/pusher.min.js"></script>
<script src="https://js.pusher.com/7.0/pusher-with-encryption.min.js"></script>
<body>
<div class='main-dashboard-div'>
<nav class="navbar navbar-expand-md navbar-light custom-navbar" style=" background-color: #ededed;display: flex;">
<a class="navbar-brand" href="/">
<img src="/images/logo.png" alt="Logo" class="logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown" style="position: absolute;left: 37pc;">
<ul class="navbar-nav">
<li class="nav-item active pl-3">
<a class="nav-link" href="/dashboard">
<i class="fa fa-home icon-light" aria-hidden="true"></i>
</a>
</li>
<li class="nav-item dropdown pl-3">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<i class="fa fa-envelope" aria-hidden="true"></i>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item active" href="/messages" title="Private Conversation"><i class="fa fa-envelope-o" aria-hidden="true"></i> Private </a>
<a class="dropdown-item" href="/messages" title="Gossips"> <i class="fa fa-comments-o" aria-hidden="true"></i> Public </a>
</div>
</li>
<li class="nav-item dropdown pl-3">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<i class="fa fa-user-circle-o" aria-hidden="true"></i>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item active" href="/dashboard/profile" title="Edit Profile"><i class="fa fa-sliders" aria-hidden="true"></i>
Edit Your Profile
</a>
<a class="dropdown-item" href="/dashbaord/setting" title="Custom Settings"><i class="fa fa-cogs" aria-hidden="true"></i>
Preferences
</a>
<a class="dropdown-item" href="/logout" title="Lock the account"><i class="fa fa-sign-out icon icon-light"
aria-hidden="true"></i>Logout</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
<div class ="user" style="position: relative;top: -19pc;width: 20pc;height: 16pc;left: 1pc;border-radius: 30px;">
<div class="profile" style="position: absolute;width: 10pc;height: 10pc;left: 4pc;">
<img src="{{.Avatar_Path}}" alt="profile-picture" style="background: silver;border-radius: 130px;">
</div>
<div class="username" style="position: absolute;top: 13pc;left: 7pc; font-size:large; color: slategray">
{{.Record.Name}}
</div>
<div class="usermail" style="position: absolute;top: 16pc;left: 5pc;font-size: small; color: slategray">
{{.Record.Email}}
</div>
<div class="me" style="position: relative;width: 20pc;height: 9pc;top: 16pc;transform: perspective(10px);transform-style: preserve-3d;z-index: 3;border-radius: 16px;">
<i class="fa fa-user-circle-o" aria-hidden="true" style="position: absolute;font-size: xxx-large;top: 42px;left: 2pc;color: cadetblue;"></i> <a href="/dashboard/profile/view" alt="edit profile" title="edit profile" style="position: absolute;top: 104px;left: 11px;color: cadetblue;"> View Profile </a>
<span class="last" style="position: absolute;top: 38px;left: 4.4pc;color: cadetblue;">
<span class="badge badge-success">0</span>
<span class="sr-only">Last</span>
</span>
<i class="fa fa-star" aria-hidden="true" style="position: absolute;border: none;font-size: xxx-large;top: 2.5pc;left: 10pc;color: cornflowerblue;background: floralwhite;"></i>
<span class="like-count" style="position: absolute;top: 104px;left: 9pc;color: cornflowerblue;">
Likes <span class="badge badge-success">0</span>
<span class="sr-only">Top trend</span>
</span>
<i class="fa fa-users" aria-hidden="true" style="position: absolute;border: none;font-size: xxx-large;top: 2.5pc;left: 16pc;color: seagreen;background: floralwhite;"></i>
<span class="inspire" style="position: absolute;top: 104px;left: 15pc;color: seagreen;">
Inspire <span class="badge badge-success">0</span>
<span class="sr-only">Leader</span>
</span>
</div>
</div>
<div class="visual" style="position: relative;top: -35pc;left: 22pc;width: 59pc;height: 14pc;background: darkcyan;border-radius: 1pc;">
<button class="btn btn-light matices" id="analytics" type="button" title="bar-chart">
<i class="fa fa-bar-chart" aria-hidden="true"></i>
</button>
<button class="btn btn-light line-chart" id="analytics" type="button" title="line-chart" style="display: flex;position: relative;top: 42px;left: 20px;transform: scale(1);background: darkcyan;color: floralwhite;">
<i class="fa fa-line-chart" aria-hidden="true"></i>
</button>
<div class="chart-container" style="position:absolute;top:-11px; left:108px;">
<canvas id="chart" width="500px" height="250px"></canvas>
</div>
</div>
<div class="percentage" style="position: absolute;top: 21pc;left: 1pc;width: 20pc;height: 12pc;/* background-color: cadetblue; */border-radius: 2pc;">
<i class="fa fa-percent" aria-hidden="true" style="position: absolute;top: 15pc;left: 8pc;font-size: xxx-large;color: cadetblue;"></i>
<span class="percent_value" style="position: absolute;top: 16pc;left: 12pc;color: black;font-size: large;">
{{.Percentage}}
</span>
</div>
<div class="data" style="position: absolute;top: 25pc;left: 22pc;width: 20pc;height: 12pc;/* background-color: springgreen; */border-radius: 2pc;">
<i class="fa fa-flask" aria-hidden="true" style="position: absolute;top: 12pc;left: 39pc;font-size: xxx-large;color: springgreen;"></i>
<span class="result_value" style="position: absolute;top: 13pc;left: 32pc;color: black;font-size: smaller;">
{{.Immune_Test}}
</span>
</div>
<div class="time" style="position: absolute;top: 25pc;left: 43pc;width: 20pc;height: 12pc;/* background-color: lightblue; */border-radius: 2pc;">
<i class="fa fa-clock-o" aria-hidden="true" style="position: absolute;top: 24pc;left: 18pc;font-size: xxx-large;color: blue;"></i>
<span class="time_value" style="position: absolute;top: 25pc;left: 14pc;color: black;font-size: smaller;">
{{.Elapse}}
</span>
</div>
<div class="uv" style="position: absolute;top: 47pc;left: 29pc;width: 27pc;height: 18pc;/*background-color: crimson; */border-radius: 2pc;">
<i class="fa fa-sun-o" aria-hidden="true" style="position: absolute;top: 3pc;left: -20pc;font-size: xxx-large;color: crimson;"></i>
<span class="uv_value" style="position: absolute;top: 3pc;left: -16pc;color: black;font-size: smaller;width: 20pc;">
{{.UVinfo}}
</span>
</div>
<div class="menu-div" style="position: absolute;top: 10pc;left: 70pc;width: 14pc;height: 47pc;border-radius: 6pc;visibility: hidden;">
<div class="dropdown" style="position: absolute;top: 765px;">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background: black;color: floralwhite;">
<i class="fa fa-angle-double-right" aria-hidden="true"></i> Non Polar
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="background:black; border-radius:41px;">
<a class="dropdown-item" href="/valine" style="color:floralwhite">Valine</a>
<a class="dropdown-item" href="/tryptophan" style="color:floralwhite">Tryptophan</a>
<a class="dropdown-item" href="/phenylalanine" style="color:floralwhite">Phenylalanine</a>
<a class="dropdown-item" href="/methionine" style="color:floralwhite">Methionine</a>
<a class="dropdown-item" href="/leucine" style="color:floralwhite">Leucine</a>
<a class="dropdown-item" href="/isoleucine" style="color:floralwhite">Isoleucine</a>
<a class="dropdown-item" href="/alanine" style="color:floralwhite">Alanine</a>
</div>
</div>
<div class="dropdown" style="position: absolute;top: 638px;">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background: black;color: floralwhite;">
<i class="fa fa-bolt" aria-hidden="true"></i> Charged
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="background:black; border-radius:41px;">
<a class="dropdown-item" href="/lysine" style="color:floralwhite">Lysine</a>
<a class="dropdown-item" href="/histidine" style="color:floralwhite">Histidine</a>
<a class="dropdown-item" href="/arginine" style="color:floralwhite">Arginine</a>
</div>
</div>
<div class="dropdown" style="position: absolute;top: 510px;">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background: black;color: floralwhite;">
<i class="fa fa-angle-double-left" aria-hidden="true"></i> Polar
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="background:black; border-radius:41px;">
<a class="dropdown-item" href="/tyrosine" style="color:floralwhite">Tyrosine</a>
<a class="dropdown-item" href="/serine" style="color:floralwhite">Serine</a>
<a class="dropdown-item" href="/glutamine" style="color:floralwhite">Glutamine</a>
<a class="dropdown-item" href="/asparagine" style="color:floralwhite">Asparagine</a>
<a class="dropdown-item" href="/threonine" style="color: floralwhite">Threonine</a>
</div>
</div>
<div class="dropdown" style="position: absolute;top: 343px;">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background: black;color: floralwhite;">
<i class="fa fa-angle-left" aria-hidden="true"></i> Aliphatic
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="background:black; border-radius:41px;">
<a class="dropdown-item" href="/proline" style="color:floralwhite">Proline</a>
<a class="dropdown-item" href="/valine" style="color:floralwhite">Valine</a>
<a class="dropdown-item" href="/methionine" style="color:floralwhite">Methionine</a>
<a class="dropdown-item" href="/leucine" style="color:floralwhite">Leucine</a>
<a class="dropdown-item" href="/isoleucine" style="color:floralwhite">Isoleucine</a>
<a class="dropdown-item" href="/asparagine" style="color:floralwhite">Asparagine</a>
<a class="dropdown-item" href="/arginine" style="color:floralwhite">Arginine</a>
<a class="dropdown-item" href="/alanine" style="color:floralwhite">Alanine</a>
</div>
</div>
<div class="dropdown" style="position: absolute;top: 165px;">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background: black;color: floralwhite;">
<i class="fa fa-tint" aria-hidden="true"></i> Hydrobophic
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="background:black; border-radius:41px;">
<a class="dropdown-item" href="/glycine" style="color:floralwhite">Glycine</a>
<a class="dropdown-item" href="/tyrosine" style="color:floralwhite">Tyrosine</a>
<a class="dropdown-item" href="/phenylalanine" style="color:floralwhite">Phenylalanine</a>
</div>
</div>
<div class="dropdown" style="position: absolute;top: -26px">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background: black;color: floralwhite;">
<i class="fa fa-question-circle" aria-hidden="true"></i> Unknown
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" style="background:black; border-radius:41px;">
<a class="dropdown-item" href="/glutamic" style="color:floralwhite">Glutamic</a>
<a class="dropdown-item" href="/cysteine" style="color:floralwhite">Cysteine</a>
<a class="dropdown-item" href="/aspartic" style="color:floralwhite">Aspartic</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="/js/analysis.js"></script>
</body>
</html>