Commit 5d6aed10 by Johannes Zellner

Add element ids for better testability

1 parent f6edb785
Showing with 4 additions and 4 deletions
......@@ -27,7 +27,7 @@
<!-- 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>
......@@ -88,7 +88,7 @@
<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">
......@@ -107,8 +107,8 @@
<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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!