dalli-ui 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 351ef4201908c15cbff4ccd2e105df63749ac11e
4
- data.tar.gz: eb3dee89f9b42b416a5fe8616e517bfcd40ec801
3
+ metadata.gz: 5c36ec2525178542b7501ac3c981baddcb980c60
4
+ data.tar.gz: 2d53e95d56310d8a149ca38fe4865e8776f59c81
5
5
  SHA512:
6
- metadata.gz: d1ca82398d1355fa59cf92eed2bc76720535eee2a972417be1dcc7876afa06420e922314b9c5013bbc5959fd2588e5003d47a3cdf3ccda522dad6d489bb65225
7
- data.tar.gz: 23353777c93aa6687ce2f053a7cd5493a778d07cde02785fe8abfe6fc2ee2939eed6f734c66d410754196ff4410a1ee49e86a37431475e26bed7a37355c2d62b
6
+ metadata.gz: d60f09e1eccc6869073d8f6b8d7f40ccb7de670cc2d28837cd24ddb046898a5976e33b5f7b5d3ee103e75e30f8f038095794fc2edbec6a81ef9ce3ce1f5bd191
7
+ data.tar.gz: 120ac42db0b9c59b1074df8bec2aac02bc2181590eb3bb3f543f4d1f36188239f6cd0269960a8f74c900e34e8e7176e94233f519fd0a6bee75a30e35d552da5e
@@ -22,17 +22,20 @@
22
22
 
23
23
  <form action="<%= dalli_ui_flush_path %>" method="POST" class="navbar-form navbar-right">
24
24
  <%= tag(:input, :type => "hidden", :name => request_forgery_protection_token.to_s, :value => form_authenticity_token) %>
25
- <input type="submit" value="Flush cache!" class="btn btn-danger">
25
+ <button type="submit" class="btn btn-danger">
26
+ <i class="glyphicon glyphicon-trash"></i>
27
+ Flush cache!
28
+ </button>
26
29
  </form>
27
30
 
28
31
  </div><!-- /.container -->
29
32
  </nav>
30
33
 
31
- <% if flash[:dalli_ui_notice] %>
32
- <div class="ui-notification"><p><%= flash[:dalli_ui_notice] %></p></div>
33
- <% end %>
34
-
35
34
  <div class="container">
35
+ <% if flash[:dalli_ui_notice] %>
36
+ <div class="alert alert-success" role="alert"><p><%= flash[:dalli_ui_notice] %></p></div>
37
+ <% end %>
38
+
36
39
  <%= yield %>
37
40
  </div>
38
41
 
data/readme.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # Dalli UI
2
2
 
3
+ [ ![Codeship Status for phawk/dalli-ui](https://codeship.io/projects/97682f30-2dfb-0132-c2b8-5e5bd29e6176/status)](https://codeship.io/projects/39299)
4
+
3
5
  Dalli UI is a mountable engine for Rails apps that displays information about your [dalli](https://github.com/mperham/dalli) memcached instance and allows you to flush it from a web interface.
4
6
 
7
+ ![Dalli UI Sample](./docs/sample.png)
8
+
5
9
  ## Rails 4 installation
6
10
 
7
11
  Add **dalli** and **dalli-ui** to your gemfile and `bundle install`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dalli-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Hawkins