Skip to content

Commit

Permalink
add button classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schwab committed Feb 11, 2019
1 parent af3654f commit 741d447
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/AddForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Vue.component('add-form', {
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input class="btn" type="button" value="Submit" v-on:click="submit">
<button class="btn btn-primary" v-on:click="submit">Submit</button>
</div>
</div>
<hr />
Expand Down
2 changes: 1 addition & 1 deletion client/SearchPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Vue.component('search-page', {
template: `
<div id="search-page">
<div>
<p><button class="btn" v-on:click="$emit('page', 'add')">Add a snippet</button></p>
<p><button class="btn btn-primary" v-on:click="$emit('page', 'add')">Add a snippet</button></p>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion client/ViewPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Vue.component('view-page', {
<div id="view-page">
<div id="view-links">
<p><a href="#" v-on:click="$emit('page', 'search')">Back to search results</a></p>
<p><button class="btn" v-on:click="editSnippet">Edit this snippet</button></p>
<p><button class="btn btn-secondary" v-on:click="editSnippet">Edit this snippet</button></p>
<p><button class="btn btn-danger" v-on:click="deleteSnippet">Delete this snippet</button></p>
</div>
<div id="view-results">
Expand Down

0 comments on commit 741d447

Please sign in to comment.