Skip to content

Commit

Permalink
Implement button loader on demo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Nov 17, 2016
1 parent 0a8f169 commit dba4f37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/october/demo/components/todo/default.htm
Expand Up @@ -10,7 +10,7 @@ <h3 class="panel-title">To Do List</h3>
<div class="input-group"> <div class="input-group">
<input type="text" id="input-item" class="form-control" value="" name="newItem" placeholder="What needs to be done?"> <input type="text" id="input-item" class="form-control" value="" name="newItem" placeholder="What needs to be done?">
<span class="input-group-btn"> <span class="input-group-btn">
<button type="submit" class="btn btn btn-primary">Add</button> <button type="submit" class="btn btn btn-primary" data-attach-loading>Add</button>
</span> </span>
</div> </div>
</div> </div>
Expand Down
2 changes: 1 addition & 1 deletion themes/demo/pages/ajax.htm
Expand Up @@ -53,7 +53,7 @@ <h3 class="panel-title">Calculator</h3>
<option>/</option> <option>/</option>
</select> </select>
<input type="text" class="form-control" value="5" name="value2" style="width:100px"> <input type="text" class="form-control" value="5" name="value2" style="width:100px">
<button type="submit" class="btn btn btn-primary">Calculate</button> <button type="submit" class="btn btn btn-primary" data-attach-loading>Calculate</button>
</form> </form>
</div> </div>
<div class="panel-footer" id="result"> <div class="panel-footer" id="result">
Expand Down

0 comments on commit dba4f37

Please sign in to comment.