running_station 0.1.0 → 0.1.1
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/running_station/index.css +14 -0
- data/app/views/layouts/running_station/_sidebar.html.slim +4 -0
- data/app/views/layouts/running_station/application.html.slim +27 -0
- data/app/views/running_station/runners/show.html.slim +18 -19
- data/app/views/running_station/station/index.html.slim +0 -6
- data/lib/running_station/version.rb +1 -1
- metadata +5 -3
- data/app/views/layouts/running_station/application.html.erb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a196ce4d6f4c0fa341dbc2322374fe45c8fa9664480c6d7ec7fce0dda773a5e6
|
4
|
+
data.tar.gz: 9d5ec526f137e3a1ef2c0fbd14118269e323e1211c1a6233d04d6cfe739a8c72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5f78417e396853abbef823110cd57c6d8c568a122d0d3d42c11fefe933a995df229073369f2799ad3a84c9ca95116bad23cfc09dbbf43c4a5a82fad1b13b084
|
7
|
+
data.tar.gz: 464412f78c0485a0687f1d9b724f77bb13113ed3fcd79f426361d76059a315bcb158396661efbc375f094728fe5174b98c568114511433c372656e53bcc8e867
|
@@ -0,0 +1,27 @@
|
|
1
|
+
doctype html
|
2
|
+
html
|
3
|
+
head
|
4
|
+
title Running Station
|
5
|
+
= csrf_meta_tags
|
6
|
+
= csp_meta_tag
|
7
|
+
link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"
|
8
|
+
link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/styles/default.min.css"
|
9
|
+
= stylesheet_link_tag "running_station/application", media: "all"
|
10
|
+
= javascript_include_tag "running_station/application"
|
11
|
+
body
|
12
|
+
nav.navbar.navbar-dark.bg-dark
|
13
|
+
= link_to 'RunningStation', running_station.root_path, { class: 'navbar-brand' }
|
14
|
+
|
15
|
+
.container
|
16
|
+
.row
|
17
|
+
.col-xs-12.col-md-3
|
18
|
+
= render partial: "layouts/running_station/sidebar"
|
19
|
+
.col-xs-12.col-md-9
|
20
|
+
= yield
|
21
|
+
|
22
|
+
script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"
|
23
|
+
script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"
|
24
|
+
script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"
|
25
|
+
script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/highlight.min.js"
|
26
|
+
javascript:
|
27
|
+
hljs.initHighlightingOnLoad();
|
@@ -1,28 +1,27 @@
|
|
1
|
-
h2
|
1
|
+
h2.my-3
|
2
2
|
span 🏃
|
3
3
|
= @runner.script_name
|
4
4
|
|
5
|
-
pre
|
6
|
-
code
|
7
|
-
= @runner.code
|
8
|
-
|
9
5
|
- unless @status
|
6
|
+
pre.pre-scrollable
|
7
|
+
code.source-code.lang-ruby
|
8
|
+
= @runner.code
|
10
9
|
= form_tag(running_station.runner_path(@runner.name), method: :put)
|
11
|
-
button
|
12
|
-
|
13
|
-
- if @status
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
button.btn.btn-block.btn-primary Execute
|
11
|
+
- else
|
12
|
+
- if @status.success?
|
13
|
+
.alert.alert-success
|
14
|
+
span Success!
|
15
|
+
- else
|
16
|
+
.alert.alert-danger
|
17
|
+
span Failure!
|
17
18
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
code
|
19
|
+
h5 stdout
|
20
|
+
pre.pre-scrollable
|
21
|
+
code.terminal.lang-console
|
22
22
|
= @stdout
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
code
|
24
|
+
h5 stderr
|
25
|
+
pre.pre-scrollable
|
26
|
+
code.terminal.lang-console
|
28
27
|
= @stderr
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: running_station
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kimromi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- app/assets/config/running_station_manifest.js
|
94
94
|
- app/assets/javascripts/running_station/application.js
|
95
95
|
- app/assets/stylesheets/running_station/application.css
|
96
|
+
- app/assets/stylesheets/running_station/index.css
|
96
97
|
- app/controllers/running_station/application_controller.rb
|
97
98
|
- app/controllers/running_station/runners_controller.rb
|
98
99
|
- app/controllers/running_station/station_controller.rb
|
@@ -101,7 +102,8 @@ files:
|
|
101
102
|
- app/mailers/running_station/application_mailer.rb
|
102
103
|
- app/models/running_station/application_record.rb
|
103
104
|
- app/models/running_station/runner.rb
|
104
|
-
- app/views/layouts/running_station/
|
105
|
+
- app/views/layouts/running_station/_sidebar.html.slim
|
106
|
+
- app/views/layouts/running_station/application.html.slim
|
105
107
|
- app/views/running_station/runners/show.html.slim
|
106
108
|
- app/views/running_station/station/index.html.slim
|
107
109
|
- config/routes.rb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Running station</title>
|
5
|
-
<%= csrf_meta_tags %>
|
6
|
-
<%= csp_meta_tag %>
|
7
|
-
|
8
|
-
<%= stylesheet_link_tag "running_station/application", media: "all" %>
|
9
|
-
<%= javascript_include_tag "running_station/application" %>
|
10
|
-
</head>
|
11
|
-
<body>
|
12
|
-
|
13
|
-
<%= yield %>
|
14
|
-
|
15
|
-
</body>
|
16
|
-
</html>
|