Initial Commit
This commit is contained in:
18
views/404.html
Normal file
18
views/404.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>404 Error!</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="jumbotron text-center">
|
||||
<h1>404 Error!</h1>
|
||||
<p>PAGE NOT FOUND</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
348
views/index.html
Normal file
348
views/index.html
Normal file
@@ -0,0 +1,348 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>COM2014 TSP Workshop</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
|
||||
|
||||
<!-- Jquery -->
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- SocketIO -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/3.0.4/socket.io.js"></script>
|
||||
|
||||
<!-- Console Log -->
|
||||
<script type="application/javascript" src="//cdn.rawgit.com/Alorel/console-log-html/master/console-log-html.min.js"></script>
|
||||
|
||||
<!-- FullPage -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.9.7/jquery.fullpage.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.9.7/jquery.fullpage.js"></script>
|
||||
|
||||
<!-- File Input -->
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.1.3/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" crossorigin="anonymous">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.1.3/js/fileinput.min.js"></script>
|
||||
<script src="/static/themes/fas/theme.js" type="text/javascript"></script>
|
||||
<script src="/static/themes/explorer-fas/theme.js" type="text/javascript"></script>
|
||||
|
||||
<!-- My Script -->
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<script src="/static/js/postrequest.js"></script>
|
||||
<script src="/static/js/getrequest.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body data-spy="scroll" data-target="#main-nav" data-offset="0">
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar navbar-expand-md bg-dark navbar-dark sticky-top" id="main-nav">
|
||||
<a class="navbar-brand" href="/">TSP Workshop <span class="badge badge-primary"><span id="user_counts">0</span> Online</span></a>
|
||||
<button class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
|
||||
<span class="navbar-toggler-icon "></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse navbar-right" id="navbarCollapse">
|
||||
<ul class="nav navbar-nav ml-auto">
|
||||
<li class="nav-item" >
|
||||
<a class="nav-link" href="#overview">Overview</a>
|
||||
</li>
|
||||
<li class="nav-item" >
|
||||
<a class="nav-link" href="#leaderboard">Leaderboard</a>
|
||||
</li>
|
||||
<li class="nav-item" >
|
||||
<a class="nav-link" href="#submission">Submission</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div id="fullpage">
|
||||
<div id="overview">
|
||||
<section class="section" id="section2">
|
||||
<div class="slide">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="display-4 mt-5 mb-5 text-center">Traveling Salesman Problem</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-5">
|
||||
<div class="col-12">
|
||||
<div class="embed-responsive embed-responsive-16by9 box-shadow">
|
||||
<iframe class="embed-responsive-item" src="/static/preview.html" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="leaderboard">
|
||||
<section class="section" id="section0">
|
||||
<div class="slide">
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="col-12">
|
||||
<div class="display-3 mb-5">Leaderboard</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">ulysses16.tsp</th>
|
||||
<th scope="col">att48.tsp</th>
|
||||
<th scope="col">st70.tsp</th>
|
||||
<th scope="col">a280.tsp</th>
|
||||
<th scope="col">pcb442.tsp</th>
|
||||
<th scope="col">dsj1000.tsp</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">1</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">2</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">3</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">4</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">6</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">7</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">8</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">9</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">10</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="submission">
|
||||
<section class="section" id="section1">
|
||||
<div class="slide">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-12">
|
||||
<h1 class="mt-5 mb-5">Your Submission</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-12">
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">Problem</th>
|
||||
<th scope="col">Your Solution</th>
|
||||
<th scope="col">Best Solution</th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="col">ulysses16.tsp</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">att48.tsp</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">st70.tsp</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">a280.tsp</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">pcb442.tsp</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">dsj1000.tsp</th>
|
||||
<td>Inf</td>
|
||||
<td>Inf</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col col-4">
|
||||
<label for="">Your Name</label>
|
||||
<input class="form-control form-control-lg" type="text" placeholder="Your Name">
|
||||
</div>
|
||||
<div class="col col-8">
|
||||
<label for="">Description</label>
|
||||
<input class="form-control form-control-lg" type="text" placeholder="Precisely describe your submission.">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-12">
|
||||
<form class="" method="POST" enctype="multipart/form-data" id="fileUploadForm">
|
||||
<div class="form-group">
|
||||
<input type="file" class="form-control form-control-lg form-control-file mb-3" id="uploadfile" placeholder="Upload File" name="uploadfile" accept=".py" data-browse-on-zone-click="true" data-allowed-file-extensions='["py"]' ></input>
|
||||
<button type="submit" class="btn btn-primary form-control mt-3" id="btnSubmit" disabled>Upload</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="row mb-5" id="console-box">
|
||||
<ul id="console"></ul> <!-- I will hold the log messages -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- SubFooter -->
|
||||
<footer id="sub-footer" class="subfooter">
|
||||
<div class="container">
|
||||
<div class="row p-4">
|
||||
<div class="col-md-4 about">
|
||||
<span>ABOUT ETAL</span>
|
||||
<p class="text-justify font-weight-light small">
|
||||
Exeter Trustworthy AI Lab (ETAL) Group is affiliated with College of Engineering, Mathematics and Physical Sciences, University of Exeter, UK.</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="d-none d-md-block col-md-4 link">
|
||||
<img class="exeter" alt="" srcset="">
|
||||
</div>
|
||||
<div class="d-none d-md-block col-md-4 link">
|
||||
<img class="russell" alt="" srcset="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer id="main-footer" class="footer text-center">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md">
|
||||
<span>Copyright © Exeter Trustworthy AI Lab</span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user