<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
- <li v-show="session.valid"><a href="#" v-on:click="logout()">Logout</a></li>
+ <li v-show="session.valid"><a href="#" v-on:click="logout()" id="logoutButton">Logout</a></li>
</ul>
</div>
</div>
<div class="container" v-show="!session.valid && !busy" v-cloak>
<div class="row">
<div class="col-lg-6 col-lg-offset-3">
- <form v-on:submit.prevent="login()">
+ <form id="loginForm" v-on:submit.prevent="login()">
<div class="form-group">
<label for="inputUsername">Username</label>
<input type="text" class="form-control" id="inputUsername" v-model="loginData.username" placeholder="Username">
<div class="row">
<div class="col-lg-12">
<center>
- <input type='file' v-el:upload style="display: none"/>
- <button class="btn btn-primary" v-on:click="upload()">Upload</button>
+ <input type='file' v-el:upload style="display: none" id="uploadInput"/>
+ <button class="btn btn-primary" v-on:click="upload()" id="uploadButton">Upload</button>
</center>
<br/>
</div>