[tor-commits] [compass/master] Moved the loading icon to the right place.
karsten at torproject.org
karsten at torproject.org
Mon Jan 7 07:09:40 UTC 2013
commit cd8eba8388d42c0c09d29e2b1a983debc16ed6e1
Author: Chris Wacek <cwacek at cs.georgetown.edu>
Date: Sun Dec 23 00:30:40 2012 -0500
Moved the loading icon to the right place.
---
templates/index.html | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/templates/index.html b/templates/index.html
index 741a176..87c0d4b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -152,14 +152,17 @@
</div>
</div>
<div class="form-actions">
- <button class="btn btn-primary" ng-click="request(query)">Submit</button>
+ <button class="btn btn-primary" ng-click="request()">Submit</button>
<button class="btn" ng-click="reset()">Reset</button>
- <div ng-show="state == loading" class="loading"><img src="/static/img/loader.gif" /></div>
+ <span>{{state}}</span>
</div>
</fieldset>
</form>
</div>
+ <div class="hero-unit" ng-show="state == 'loading'" >
+ <div class='loading'><img src="/static/img/loader.gif" /></div>
+ </div>
<div class="hero-unit" ng-show="state == 'result_empty'">
<p>No results found</p>
</div>
More information about the tor-commits
mailing list