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}} {{!< 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> <h1 class="text-center"><b>Are the courts open?</b></h1>
</div> </div>
<hr></hr> <hr></hr>

View File

@ -1,6 +1,6 @@
{{!< default}} {{!< 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> <h1 class="text-center">TT Tennis Courts Are...</h1>
</div> </div>

View File

@ -1,19 +1,21 @@
{{!< default}} {{!< 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> <h1 class="text-center">TT Tennis Courts Are...</h1>
</div> </div>
<form action="/{{loc}}/login" method="post"> <div>
<div> <form action="/{{loc}}/login" method="post">
<label>Username:</label> <div>
<input type="text" name="username"/><br/> <label>Username:</label>
</div> <input type="text" name="username"/><br/>
<div> </div>
<label>Password:</label> <div>
<input type="password" name="password"/> <label>Password:</label>
</div> <input type="password" name="password"/>
<div> </div>
<input type="submit" value="Submit"/> <div>
</div> <input type="submit" value="Submit"/>
</form> </div>
</form>
</div>