aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2016-03-03 10:54:33 +0100
committerJohannes Zellner <johannes@nebulon.de>2016-03-03 10:54:33 +0100
commit5d6aed10eb7fbec782f621dcd31b4fbc59e95c07 (patch)
tree9e2148b115b3026d8d9f422f955a1aa95996cecf /app
parentf6edb78513bc1f2410a0890c42f3edd3fd34b84d (diff)
downloadSurfer-5d6aed10eb7fbec782f621dcd31b4fbc59e95c07.tar.gz
Surfer-5d6aed10eb7fbec782f621dcd31b4fbc59e95c07.tar.zst
Surfer-5d6aed10eb7fbec782f621dcd31b4fbc59e95c07.zip
Add element ids for better testability
Diffstat (limited to 'app')
-rw-r--r--app/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/index.html b/app/index.html
index 071803a..adb7591 100644
--- a/app/index.html
+++ b/app/index.html
@@ -27,7 +27,7 @@
27 <!-- Collect the nav links, forms, and other content for toggling --> 27 <!-- Collect the nav links, forms, and other content for toggling -->
28 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> 28 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
29 <ul class="nav navbar-nav navbar-right"> 29 <ul class="nav navbar-nav navbar-right">
30 <li v-show="session.valid"><a href="#" v-on:click="logout()">Logout</a></li> 30 <li v-show="session.valid"><a href="#" v-on:click="logout()" id="logoutButton">Logout</a></li>
31 </ul> 31 </ul>
32 </div> 32 </div>
33 </div> 33 </div>
@@ -88,7 +88,7 @@
88 <div class="container" v-show="!session.valid && !busy" v-cloak> 88 <div class="container" v-show="!session.valid && !busy" v-cloak>
89 <div class="row"> 89 <div class="row">
90 <div class="col-lg-6 col-lg-offset-3"> 90 <div class="col-lg-6 col-lg-offset-3">
91 <form v-on:submit.prevent="login()"> 91 <form id="loginForm" v-on:submit.prevent="login()">
92 <div class="form-group"> 92 <div class="form-group">
93 <label for="inputUsername">Username</label> 93 <label for="inputUsername">Username</label>
94 <input type="text" class="form-control" id="inputUsername" v-model="loginData.username" placeholder="Username"> 94 <input type="text" class="form-control" id="inputUsername" v-model="loginData.username" placeholder="Username">
@@ -107,8 +107,8 @@
107 <div class="row"> 107 <div class="row">
108 <div class="col-lg-12"> 108 <div class="col-lg-12">
109 <center> 109 <center>
110 <input type='file' v-el:upload style="display: none"/> 110 <input type='file' v-el:upload style="display: none" id="uploadInput"/>
111 <button class="btn btn-primary" v-on:click="upload()">Upload</button> 111 <button class="btn btn-primary" v-on:click="upload()" id="uploadButton">Upload</button>
112 </center> 112 </center>
113 <br/> 113 <br/>
114 </div> 114 </div>