ish_manager 0.1.8.467 → 0.1.8.468

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8b67a0b7afbfa9d1004831b4bdc1d109e78156d3861f2c9aedef5e398180277
4
- data.tar.gz: 19a33c1f6d6b5f4e61bd1052cd7c2ea198fc14f1cc8dbc189e046c30c96dd2da
3
+ metadata.gz: a492c50e41c699fff1935a0b1ad87337f6087cab2698ec5f5f3a6f4402db423f
4
+ data.tar.gz: 8fcde4b2cb64b7861af5f4833e5b45d8abdf716ebd8d35c79bda5262ac0775ce
5
5
  SHA512:
6
- metadata.gz: 5e67bfdd3bce54fbf561fd41b9db0b36cb72bed30afee3868e15810103ba761502aa5374277a15d19d409aaa7bb3cacd916d945d8fbb1b2f2aff71e0bc32eeba
7
- data.tar.gz: b81ff5ed28ab05f2bca362b6aa3f9cdb8e9ba33fe75910394bff2fdea436b5d831bf0b92900141b66e5b61423c9b67399bd95eb86da0fa8a3aebc71a258381b1
6
+ metadata.gz: 4a90d269c7d3290e3867d83e7bd47d2ec8f20c7505930f5d1e93155cc72ef7f722d6b2589adc27f3803d03b1fc0df2f607708c403ee904370e3cb6ce6e38636d
7
+ data.tar.gz: 16cd96ad71d52fcfda0f8753f2cdd21d1043aa0b28e114fe04c0c222b3f78654c1f615b08c48e440aadd08cb40b193d604164d6a621b5bdb5324cfd857c02664
@@ -161,6 +161,14 @@ $(function () {
161
161
  $( $(".n-selected")[0] ).html( $("input[type='checkbox'].i-sel:checked").length )
162
162
  })
163
163
 
164
+ // set jwt token
165
+ let jwt_token = localStorage.getItem('jwt_token')
166
+ $('.jwt-token').html( jwt_token )
167
+ $('button.set-jwt-token').click(function () {
168
+ localStorage.setItem('jwt_token', window.jwt_token)
169
+ $('button.set-jwt-token').html('set!')
170
+ })
171
+
164
172
 
165
173
  });
166
174
 
@@ -529,3 +529,14 @@ textarea.large {
529
529
  width: 100px;
530
530
  }
531
531
 
532
+ div.set-jwt-token {
533
+ border: 1px solid orange;
534
+ width: 100%;
535
+
536
+ display: flex;
537
+ overflow: hidden;
538
+
539
+ .jwt-token {
540
+ flex-grow: 1;
541
+ }
542
+ }
@@ -23,6 +23,10 @@
23
23
 
24
24
  .col-sm-4
25
25
  = button_to 'Logout', main_app.destroy_user_session_path, :method => :delete, data: { confirm: 'Are you sure?' }
26
+ .set-jwt-token
27
+
28
+ = button_tag 'Set JWT', class: 'set-jwt-token'
29
+ .jwt-token
26
30
  = form_for @current_profile, url: profile_path(@current_profile), as: :profile do |f|
27
31
  .flex-row
28
32
  = f.label :per_page
@@ -2,39 +2,50 @@
2
2
  .application-home.max-width
3
3
  %h5 Welcome home
4
4
 
5
- .bordered-card
6
- = form_tag "https://www.cgtrader.com/free-3d-models", method: :get, target: :_blank do
7
- %p Search CGTrader:
8
- = hidden_field_tag "polygons", "lt_5k"
9
- = text_field_tag "keywords"
10
- = submit_tag 'search'
11
-
12
- .bordered-card
13
- = form_tag "https://www.youtube.com/results", method: :get, target: :_blank do
14
- %p Search Youtube:
15
- = text_field_tag "search_query"
16
- = submit_tag 'search'
17
-
18
- .bordered-card
19
- = form_tag "https://wiki.wasya.co/index.php", method: :get, target: :_blank do
20
- %p Search wiki.wasya.co:
21
- = text_field_tag "search"
22
- = submit_tag 'search'
23
-
24
-
25
-
26
- .bordered-card
27
- %h5.center.text-center USD to COP
28
- #root{ width: 500, height: 300 }
29
- %script{src: "/recharts-example-out.js", type: "module"}
30
- %script{type: "module"}
31
-
32
-
33
- import App from '/recharts-example-out.js';
34
-
35
- const el = document.querySelector('#root')
36
- const e = React.createElement;
37
-
38
- const domContainer = document.querySelector('#root');
39
- const root = ReactDOM.createRoot(domContainer);
40
- root.render(e(App));
5
+ .a
6
+
7
+ .bordered-card
8
+ = form_tag "https://www.cgtrader.com/free-3d-models", method: :get, target: :_blank do
9
+ %p Search CGTrader:
10
+ = hidden_field_tag "polygons", "lt_5k"
11
+ = text_field_tag "keywords"
12
+ = submit_tag 'search'
13
+
14
+ .bordered-card
15
+ = form_tag "https://www.youtube.com/results", method: :get, target: :_blank do
16
+ %p Search Youtube:
17
+ = text_field_tag "search_query"
18
+ = submit_tag 'search'
19
+
20
+ .bordered-card
21
+ = form_tag "https://wiki.wasya.co/index.php", method: :get, target: :_blank do
22
+ %p Search wiki.wasya.co:
23
+ = text_field_tag "search"
24
+ = submit_tag 'search'
25
+
26
+
27
+ .bordered-card
28
+ %h5.center KPI's
29
+ %ul
30
+ %li= link_to 'WasyaCo Visits', '#'
31
+
32
+ .bordered-card
33
+ %h5.center KPI sent contexts
34
+ #kpiSentContexts{ width: 500, height: 300 }
35
+ %script{type: "module"}
36
+ import App from '/bundle-kpi-sent-contexts.js';
37
+ const el = document.querySelector('#kpiSentContexts')
38
+ const e = React.createElement;
39
+ const root = ReactDOM.createRoot(el);
40
+ root.render(e(App));
41
+
42
+
43
+ .bordered-card
44
+ %h5.center.text-center USD to COP
45
+ #root{ width: 500, height: 300 }
46
+ %script{type: "module"}
47
+ import App from '/recharts-example-out.js';
48
+ const e = React.createElement;
49
+ const el = document.querySelector('#root');
50
+ const root = ReactDOM.createRoot(el);
51
+ root.render(e(App));
@@ -39,6 +39,7 @@
39
39
  %script{crossorigin: "", src: "https://unpkg.com/react@18/umd/react.development.js"}
40
40
  %script{crossorigin: "", src: "https://unpkg.com/react-dom@18/umd/react-dom.development.js"}
41
41
  %script{src: "https://unpkg.com/prop-types@15.6/prop-types.min.js"}
42
+ %script{src: "https://unpkg.com/axios/dist/axios.min.js"}
42
43
  %script{src: "https://unpkg.com/recharts/umd/Recharts.js"}
43
44
 
44
45
  = csrf_meta_tags
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.467
4
+ version: 0.1.8.468
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2023-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails