skeleton-ui 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/skeleton +1 -1
- data/lib/skeleton/version.rb +1 -1
- data/server/index.css +0 -18
- data/server/template.html.erb +20 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e62376e2717c2c788568405072cd5f1b4ea43329d0a95105c5eeefd11dd0eaa
|
4
|
+
data.tar.gz: f88b62225cb6f511a7d9f977600c1cbea6533840309835331342a21cd6479ef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6854756e571e31bf01941616708d9443471de9cf968d96dec0673ccf3639e3a77b02e524350e9bf7609ee8c4b1e0cce7558d643328da1a385970b54358a81d7
|
7
|
+
data.tar.gz: 1aeb603fa7ab0077882e9c4020f6587078ebb477d4cb9d6dc18a818a4c54f6728bcd0835dd2d044f23e6c4e789c4670d0677a627c23fe8dac0d9e5e21f7affca
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# skeleton
|
2
|
-
|
2
|
+
Tool for fast generating multi language page objects from iOS and Android screens.
|
3
3
|
|
4
4
|
|
5
5
|
Prerequisites:
|
@@ -32,7 +32,7 @@ Usage:
|
|
32
32
|
|
33
33
|
DESCRIPTION:
|
34
34
|
|
35
|
-
|
35
|
+
Tool for fast generating multi language page objects from iOS and Android screens.
|
36
36
|
|
37
37
|
COMMANDS:
|
38
38
|
|
data/bin/skeleton
CHANGED
@@ -7,7 +7,7 @@ require_relative '../lib/skeleton/logger'
|
|
7
7
|
|
8
8
|
module Skeleton
|
9
9
|
program :version, VERSION
|
10
|
-
program :description, '
|
10
|
+
program :description, 'Tool for fast generating multi language page objects from iOS and Android screens.'
|
11
11
|
|
12
12
|
command :scan do |c|
|
13
13
|
c.syntax = 'skeleton scan [options]'
|
data/lib/skeleton/version.rb
CHANGED
data/server/index.css
CHANGED
@@ -2,24 +2,6 @@
|
|
2
2
|
max-width: 1240px;
|
3
3
|
}
|
4
4
|
|
5
|
-
.aside {
|
6
|
-
position: relative;
|
7
|
-
height: 100%;
|
8
|
-
}
|
9
|
-
|
10
|
-
.aside__img {
|
11
|
-
position: absolute;
|
12
|
-
left: 0;
|
13
|
-
right: 0;
|
14
|
-
bottom: 0;
|
15
|
-
top: 0;
|
16
|
-
-webkit-background-size: cover;
|
17
|
-
-o-background-size: cover;
|
18
|
-
background-size: cover;
|
19
|
-
background-position: center;
|
20
|
-
background-repeat: no-repeat;
|
21
|
-
}
|
22
|
-
|
23
5
|
.content {
|
24
6
|
background-color: #FFF;
|
25
7
|
padding: 3rem;
|
data/server/template.html.erb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
<title>Skeleton</title>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
7
|
+
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
|
7
8
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
|
8
9
|
<link rel="stylesheet" type="text/css" href="/index.css"/>
|
9
10
|
</head>
|
@@ -13,15 +14,27 @@
|
|
13
14
|
<div class="py-5 text-center">
|
14
15
|
<h2>Skeleton</h2>
|
15
16
|
</div>
|
16
|
-
<div class="row"
|
17
|
-
<div class="col-md-
|
18
|
-
<
|
19
|
-
|
20
|
-
|
17
|
+
<div class="row">
|
18
|
+
<div class="col-md-3">
|
19
|
+
<img id="screenshot" src="screenshot.png" style="width:100%; outline: 1px solid gray;"/>
|
20
|
+
<div id="coordinates" class="md-3 text-right">💀</div>
|
21
|
+
<script>
|
22
|
+
$image = $('#screenshot');
|
23
|
+
imgPos = [
|
24
|
+
$image.offset().left,
|
25
|
+
$image.offset().top,
|
26
|
+
$image.offset().left + $image.outerWidth(),
|
27
|
+
$image.offset().top + $image.outerHeight()
|
28
|
+
];
|
29
|
+
|
30
|
+
$image.mousemove(function(e){
|
31
|
+
$('#coordinates').html((e.pageX-imgPos[0] + 0.5) + ', '+ (Math.round((e.pageY-imgPos[1]) * 1.5)));
|
32
|
+
});
|
33
|
+
</script>
|
21
34
|
</div>
|
22
|
-
<div class="col-md-
|
35
|
+
<div class="col-md-9">
|
23
36
|
<h4 class="mb-3">Screen Objects:</h4>
|
24
|
-
<div class="content" id="content" style="max-height:
|
37
|
+
<div class="content" id="content" style="max-height: 456px; overflow-y: auto;">
|
25
38
|
<pre><code><%= @screen_objects %></code></pre>
|
26
39
|
</div>
|
27
40
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skeleton-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a.alterpesotskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|