Always load banner image from domain root.

This commit is contained in:
jkaplon 2016-07-12 18:01:55 -04:00
parent 6433d1a69d
commit a709d950c1
3 changed files with 18 additions and 16 deletions

View File

@ -1,6 +1,6 @@
{{!< default}}
<div style="background: url(banner-bg.jpg) no-repeat center center; background-size: cover; color: #fff" class="jumbotron">
<div style="background: url(/banner-bg.jpg) no-repeat center center; background-size: cover; color: #fff" class="jumbotron">
<h1 class="text-center"><b>Are the courts open?</b></h1>
</div>
<hr></hr>

View File

@ -1,6 +1,6 @@
{{!< default}}
<div style="background: url(banner-bg.jpg) no-repeat center center; background-size: cover; color: #fff" class="jumbotron">
<div style="background: url(/banner-bg.jpg) no-repeat center center; background-size: cover; color: #fff" class="jumbotron">
<h1 class="text-center">TT Tennis Courts Are...</h1>
</div>

View File

@ -1,19 +1,21 @@
{{!< default}}
<div style="background: url(banner-bg.jpg) no-repeat center center; background-size: cover; color: #fff" class="jumbotron">
<div style="background: url(/banner-bg.jpg) no-repeat center center; background-size: cover; color: #fff" class="jumbotron">
<h1 class="text-center">TT Tennis Courts Are...</h1>
</div>
<form action="/{{loc}}/login" method="post">
<div>
<label>Username:</label>
<input type="text" name="username"/><br/>
</div>
<div>
<label>Password:</label>
<input type="password" name="password"/>
</div>
<div>
<input type="submit" value="Submit"/>
</div>
</form>
<div>
<form action="/{{loc}}/login" method="post">
<div>
<label>Username:</label>
<input type="text" name="username"/><br/>
</div>
<div>
<label>Password:</label>
<input type="password" name="password"/>
</div>
<div>
<input type="submit" value="Submit"/>
</div>
</form>
</div>