ish_manager 0.1.8.119 → 0.1.8.120

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
  SHA1:
3
- metadata.gz: 0abf206c5edd8a6764a7bdf12c21edac20c4822b
4
- data.tar.gz: b88a1f06c3c9d16cbe134ccf59965ba26299e825
3
+ metadata.gz: 121e3b116deb996b432db939fdd1b947265eac74
4
+ data.tar.gz: c616ba4408a0e7a3ebd1467d7a89c47e9b537fd1
5
5
  SHA512:
6
- metadata.gz: 92101d14f01750ab3370d19d894ae5b5b240a50e10f378d5d7b558908e18329518f920834a28c805699ea091d6c0443f8e1690295f34ddb2f6168280046b46c8
7
- data.tar.gz: 4cee22e00d8262b4e515183dfc530715dc7345b4935eda5d316e2534d7396d37fc83083191e8843604ee8fdb0f108eb0386c5425f46d393b8cbc9c00909acce1
6
+ metadata.gz: 0ecfc76da6025142de8e9949152b77d0806ecd71816ef33b9f6c8e4a0e45ec65cc28434f314266dd938e43d07228d0230c755283145341514ef20a04f9b1f90e
7
+ data.tar.gz: 493227a1a82eaf8e7c4bcdd8bc59cbe61b032bcbe4cdf590f1686c2d42a5b191d944e53e4ee0b99fc0bfb7f2c01b03bdf9591a9f70171fe535c45485e6bdff63
@@ -61,6 +61,7 @@ hr {
61
61
 
62
62
  .float-left {
63
63
  float: left;
64
+ padding-right: 1em;
64
65
  }
65
66
  .float-right {
66
67
  float: right;
@@ -81,6 +82,10 @@ hr {
81
82
  cursor: pointer;
82
83
  }
83
84
 
85
+ .youtube_img {
86
+ width: 100px;
87
+ }
88
+
84
89
  /**
85
90
  * manager...
86
91
  */
@@ -120,9 +125,6 @@ nav.pagination
120
125
  border: 1px solid red;
121
126
  padding: 1em;
122
127
  }
123
- .descr .float-left {
124
- padding-right: 1em;
125
- }
126
128
 
127
129
  /**
128
130
  * tags
@@ -242,4 +242,8 @@ module IshManager::ImagesHelper
242
242
  raw('<i class="fa fa-pencil-square"></i>')
243
243
  end
244
244
 
245
+ def youtube_image_tag video
246
+ image_tag "https://img.youtube.com/vi/#{video.youtube_id}/0.jpg", :class => [ :youtube_img ]
247
+ end
248
+
245
249
  end
@@ -1,4 +1,5 @@
1
- -## tags/show
1
+
2
+ -# ish_manager / tags / show
2
3
 
3
4
  - content_for :title do
4
5
  Topic #{@tag.name}
@@ -15,7 +15,8 @@
15
15
  .panel-content
16
16
  .row
17
17
  .col-xs-12
18
- .center
18
+ .float-left= youtube_image_tag( video )
19
+ .a
19
20
  = link_to video.name, video_path( video )
20
21
  = link_to image_edit, edit_video_path( video )
21
22
  .inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
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.119
4
+ version: 0.1.8.120
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-13 00:00:00.000000000 Z
11
+ date: 2017-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails