Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

PUBLIC / surfer-okd

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 5d6aed10 authored 9 years ago by Johannes Zellner's avatar Johannes Zellner
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Add element ids for better testability

1 parent f6edb785
Hide whitespace changes
Inline Side-by-side
Showing with 4 additions and 4 deletions
  • app/index.html
app/index.html
View file @5d6aed1
......@@ -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>
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
  • Please register or sign in to post a comment