logster 0.8.4.5.pre → 0.8.4.6.pre
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74e3d5019a8150cc107b5917c2466c6029bdc914
|
4
|
+
data.tar.gz: 0038b79111731c1b7462390775522ebad7419d66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a054e3703b0d7809ef4b702f2b022bd11aa93dbbbac5c081f146f677ee1470c67d85423d564b67b53ab1ee894da085eacd0bea91a1ac13f1aa2b12b89653692
|
7
|
+
data.tar.gz: 2d4e310d6d31dcfd113c6937cc3ab7b04822c46686ee1e0d7a2f70a9c2f9553d04e28a98068365ae4263122d769063f023e765b856a11f4946758ed39e3d7523
|
data/assets/javascript/app.js
CHANGED
@@ -186,10 +186,21 @@ App.MessageCollection = Em.Object.extend({
|
|
186
186
|
total: 0,
|
187
187
|
|
188
188
|
"delete": function(message){
|
189
|
+
var messages = this.get('messages');
|
190
|
+
var idx = messages.indexOf(message);
|
189
191
|
message.delete();
|
190
|
-
|
191
|
-
this.set('currentMessage', null);
|
192
|
+
message.set('selected', false);
|
192
193
|
this.set('total', this.get('total')-1);
|
194
|
+
this.get('messages').removeObject(message);
|
195
|
+
|
196
|
+
if (idx > 0) {
|
197
|
+
message = messages[idx-1];
|
198
|
+
message.set('selected', true);
|
199
|
+
this.set('currentMessage', message);
|
200
|
+
} else {
|
201
|
+
this.set('currentMessage', null);
|
202
|
+
}
|
203
|
+
|
193
204
|
},
|
194
205
|
|
195
206
|
load: function(opts) {
|
@@ -30,13 +30,13 @@
|
|
30
30
|
<div class='message-actions'>
|
31
31
|
|
32
32
|
{{#unless currentMessage.protected}}
|
33
|
-
<button {{action 'remove'}} class="delete btn"><i class='fa fa-trash-o'></i>Delete</button>
|
33
|
+
<button {{action 'remove'}} class="delete btn danger"><i class='fa fa-trash-o'></i>Delete</button>
|
34
34
|
|
35
35
|
<button {{action 'protect'}} class="protect btn"><i class='fa fa-lock'></i>Protect</button>
|
36
36
|
{{else}}
|
37
37
|
<button {{action 'unprotect'}} class="unprotect btn"><i class='fa fa-unlock'></i>Unprotect</button>
|
38
38
|
{{/unless}}
|
39
|
-
<a href="{{currentMessage.shareUrl}}" class="share btn">Share</a>
|
39
|
+
<a href="{{currentMessage.shareUrl}}" class="share btn"><i class='fa fa-share'></i>Share</a>
|
40
40
|
</div>
|
41
41
|
|
42
42
|
{{/if}}
|
@@ -4,15 +4,15 @@
|
|
4
4
|
<tr>
|
5
5
|
<th class="count"></th>
|
6
6
|
<th class="severity"></th>
|
7
|
-
<th class="info"
|
7
|
+
<th class="info"></th>
|
8
8
|
<th class="protected"></th>
|
9
|
-
<th class="time"
|
9
|
+
<th class="time"></th>
|
10
10
|
</tr>
|
11
11
|
</thead>
|
12
12
|
<tbody>
|
13
13
|
{{#if model.moreBefore}}
|
14
14
|
<tr {{action "showMoreBefore"}} class="show-more">
|
15
|
-
<td colspan=5>{{model.totalBefore}} more</td>
|
15
|
+
<td colspan=5>select to see {{model.totalBefore}} more</td>
|
16
16
|
</tr>
|
17
17
|
{{/if}}
|
18
18
|
{{#each model.messages as |message|}}
|
@@ -52,6 +52,6 @@
|
|
52
52
|
<label class="search">
|
53
53
|
{{input type="textfield" placeholder="Search" value=search}}
|
54
54
|
</label>
|
55
|
-
<a class="clear btn danger" href {{action "clear"}}><i class='fa fa-
|
55
|
+
<a class="clear btn danger" href {{action "clear"}}><i class='fa fa-times'></i> Clear logs</a>
|
56
56
|
</div>
|
57
57
|
</div>
|
data/assets/stylesheets/app.css
CHANGED
data/lib/logster/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.4.
|
4
|
+
version: 0.8.4.6.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UI for viewing logs in Rack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|