aboutsummaryrefslogtreecommitdiff
path: root/vfd-main/app/views/index.scala.html
blob: 12ac9bd86c259a7d5009c086c3eb0967ae219564 (plain) (blame)
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
@(socket: String)

@import play.api.Play

@main("Home") {
	
	<div class="container" style="margin-top: 200px">
		<div class="col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3">
			
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">
						<strong>Available vehicles </strong>
					</h3>
				</div>
				<div class="panel-body">
					@app("vfd-index")(
						"socketUrl" -> socket
					)
				</div>
			</div>
			@if(!Play.isProd(Play.current)) {
				<div class="alert alert-warning">
					<strong><i class="fa fa-exclamation-triangle"></i> Warning</strong> running in development mode
				</div>
			}
			<div class="text-center">
				<a href="#"><small></small></a>
				<a href="#"><small>Help</small></a>
			</div>
		</div>
	</div>
	
	
}