<script type="text/template" id="view-login-template">
  <div>
    <br/>
    <br/>
    <div class="container">
      <div class="row">
        <div class="col-md-4 col-md-offset-4 white-boxes shadow">
          <h3>Login</h3>
          <form @submit.prevent="login()">
            <div class="form-group" :class="{ 'has-error': error }">
              <label class="control-label">Username</label>
              <input type="text" class="form-control" id="inputUsername" v-model="username" :disabled="busy" required autofocus/>
            </div>
            <div class="form-group" :class="{ 'has-error': error }">
              <label class="control-label">Password</label>
              <input type="password" class="form-control" v-model="password" :disabled="busy" required/>
            </div>
            <button type="submit" class="btn btn-success pull-right" :disabled="busy"><i class="spinner alt" v-show="busy"></i> Login</button>
          </form>
        </div>
      </div>
    </div>
  </div>
</script>

<script type="text/javascript"><%- include view-login.js %></script>

<script type="text/template" id="view-login-template">
  <div>
    <br/>
    <br/>
    <div class="container">
      <div class="row">
        <div class="col-md-4 col-md-offset-4 white-boxes shadow">
          <h3>Login</h3>
          <form @submit.prevent="login()">
            <div class="form-group" :class="{ 'has-error': error }">
              <label class="control-label">Username</label>
              <input type="text" class="form-control" id="inputUsername" v-model="username" :disabled="busy" required autofocus/>
            </div>
            <div class="form-group" :class="{ 'has-error': error }">
              <label class="control-label">Password</label>
              <input type="password" class="form-control" v-model="password" :disabled="busy" required/>
            </div>
            <button type="submit" class="btn btn-success" :disabled="busy"><i class="spinner alt" v-show="busy"></i> Login</button>
          </form>
        </div>
      </div>
    </div>
  </div>
</script>

<script type="text/javascript"><%- include view-login.js %></script>

Fix login button on mobile
Fix login button on mobile

Fixes #63
