Skip to content

Instantly share code, notes, and snippets.

@Saminu
Last active July 10, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Saminu/bb0949caad74d35b72f9126a6e06476a to your computer and use it in GitHub Desktop.
Save Saminu/bb0949caad74d35b72f9126a6e06476a to your computer and use it in GitHub Desktop.
index.html - Visualizing Uncertainty in Models using Pandas, Scikit Learn, Jinja, Flask, and D3.js
<!DOCTYPE html>
<html>
<head>
<title>Home</title>
<!-- <link rel="stylesheet" type="text/css" href="../static/style.css"> -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<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>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
</head>
<body class="text-center">
<div class="cover-container d-flex h-100 p-3 mx-auto flex-column">
<header class="masthead mb-auto">
<div class="inner">
<h3 class="masthead-brand">IEEE Vis Predictor</h3>
<nav class="nav nav-masthead justify-content-center">
<a class="nav-link active" href="#">Data</a>
<a class="nav-link" href="#">Info</a>
<a class="nav-link" href="#">Contact</a>
</nav>
</div>
</header>
<main role="main" class="inner cover">
<h1 class="cover-heading">IEEE VIS Paper Class Predictor</h1>
<p class="lead">Please Enter your Abstract Here</p>
<form action="{{ url_for('predict')}}" method="POST">
<div class="form-group">
<label for="exampleFormControlTextarea1"></label>
<textarea name="message" class="form-control" id="exampleFormControlTextarea1" rows="4"></textarea>
</div>
<button type="submit" class="btn btn-primary" value="predict">Submit</button>
</form>
</main>
<footer class="mastfoot mt-auto">
<div class="inner">
<p>Read More on <a href="https://getbootstrap.com/">Medium</a>.</p>
</div>
</footer>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment