tailog 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/application.css +18 -0
- data/app/views/layout.erb +12 -6
- data/lib/tailog/version.rb +1 -1
- data/lib/tailog.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c55e4322db5a7c2c4ccff3b87fb1eaf1af6aabc
|
4
|
+
data.tar.gz: 69d4ed2229b49a2185408ec520cb1f3d302aee69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e64c9eae042da797b8ec3a422c914640a3074e6757bb228ef63f7b836a03d54d0c205253b1f078a4a611ffcedd1611c9cd878faa35a1e2d5f6af6e6af6b271f6
|
7
|
+
data.tar.gz: 378a1fc7b2194c631ca63abb4d7266ea7f81498c66cecd67290991cdca6499b470e1c5edaf875b4f969d6e162c396f492a49f7f4029029e638db2bc7f82f51fa
|
@@ -1,6 +1,12 @@
|
|
1
|
+
html {
|
2
|
+
position: relative;
|
3
|
+
min-height: 100%;
|
4
|
+
}
|
5
|
+
|
1
6
|
body {
|
2
7
|
font-family: "Lucida Console", Monaco, monospace;
|
3
8
|
padding-top: 20px;
|
9
|
+
margin-bottom: 60px;
|
4
10
|
padding-bottom: 20px;
|
5
11
|
}
|
6
12
|
|
@@ -14,6 +20,18 @@ p {
|
|
14
20
|
outline: 0 !important;
|
15
21
|
}
|
16
22
|
|
23
|
+
.footer {
|
24
|
+
position: absolute;
|
25
|
+
bottom: 0;
|
26
|
+
width: 100%;
|
27
|
+
height: 60px;
|
28
|
+
background-color: #f5f5f5;
|
29
|
+
}
|
30
|
+
|
31
|
+
.footer p {
|
32
|
+
line-height: 60px;
|
33
|
+
}
|
34
|
+
|
17
35
|
.fixed-top-right {
|
18
36
|
position: fixed;
|
19
37
|
top: 25px;
|
data/app/views/layout.erb
CHANGED
@@ -38,11 +38,17 @@
|
|
38
38
|
|
39
39
|
</div> <!-- /container -->
|
40
40
|
|
41
|
-
<
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
41
|
+
<footer class="footer">
|
42
|
+
<div class="container">
|
43
|
+
<p class="text-muted"><a href="https://github.com/bbtfr/tailog">TAILOG <%= Tailog::VERSION %></a>. Page generated by <%= Tailog.server_hostname %> - <%= Tailog.process_uuid %></p>
|
44
|
+
</div>
|
45
|
+
</footer>
|
46
|
+
|
47
|
+
<script type="text/javascript">
|
48
|
+
$(".data-tables").DataTable({
|
49
|
+
lengthMenu: [ [10, 25, 50, -1], [10, 25, 50, "All"] ],
|
50
|
+
pageLength: -1
|
51
|
+
});
|
52
|
+
</script>
|
47
53
|
</body>
|
48
54
|
</html>
|
data/lib/tailog/version.rb
CHANGED
data/lib/tailog.rb
CHANGED
@@ -50,7 +50,7 @@ module Tailog
|
|
50
50
|
get '/logs/download' do
|
51
51
|
begin
|
52
52
|
file_path = File.join Tailog.log_path, params[:file]
|
53
|
-
send_file file_path
|
53
|
+
send_file file_path, filename: "#{Tailog.server_hostname}-#{params[:file]}"
|
54
54
|
rescue => error
|
55
55
|
content = erb :error, locals: { error: error }, layout: false
|
56
56
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tailog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bbtfr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|