-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhello.html
45 lines (38 loc) · 1.16 KB
/
hello.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<head>
<title>Travelling Salesman Problem</title>
<meta name="viewport" content="width=device-width, user-scalable=no">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="outer">
<div class="logo"></div>
<h1 class="title">Route Optimizer</h1>
<div class="subtitle">with Travelling Salesman Problem</div>
{{> leaderboard}}
</div>
</body>
<template name="leaderboard">
<ol class="leaderboard">
{{#each cities}}
{{> city}}
{{/each}}
</ol>
<form class="new-task">
<button class="add">+</button>
<input type="text" name="text" placeholder="Enter City name or Zipcode" />
</form>
<div class="submit">
<button class="request">Find Optimal Route</button>
</div>
</template>
<template name="city">
<li class="city {{selected}}">
<span class="name">{{name}}</span>
<button class="delete">×</button>
</li>
</template>
<template name="map">
<div class="map-container">
{{> googleMap name="exampleMap" options=exampleMapOptions}}
</div>
</template>