dalli-ui 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/views/layouts/dalli/ui/application.html.erb +8 -5
- data/readme.md +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c36ec2525178542b7501ac3c981baddcb980c60
|
4
|
+
data.tar.gz: 2d53e95d56310d8a149ca38fe4865e8776f59c81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
<
|
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
|
+
[ ](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
|
+

|
8
|
+
|
5
9
|
## Rails 4 installation
|
6
10
|
|
7
11
|
Add **dalli** and **dalli-ui** to your gemfile and `bundle install`.
|