Video asset: Show link to login as well as subscribe
This commit is contained in:
parent
54b5e8e3d4
commit
5012d19180
@ -1011,26 +1011,23 @@ section.node-preview
|
||||
height: 100%
|
||||
|
||||
.video-dummy
|
||||
min-height: 320px
|
||||
display: flex
|
||||
width: 100%
|
||||
align-items: center
|
||||
justify-content: center
|
||||
color: white
|
||||
background:
|
||||
repeat: no-repeat
|
||||
size: cover
|
||||
position: center
|
||||
height: 100%
|
||||
position: absolute
|
||||
top: 0
|
||||
bottom: 0
|
||||
left: 0
|
||||
right: 0
|
||||
|
||||
&-content
|
||||
background-color: rgba(black, .8)
|
||||
padding: 15px
|
||||
border-radius: 3px
|
||||
position: relative
|
||||
z-index: 2
|
||||
display: flex
|
||||
+position-center-translate
|
||||
align-items: center
|
||||
background-color: rgba(darken($color-primary, 25%), .8)
|
||||
color: $color-text-light
|
||||
display: flex
|
||||
height: 100%
|
||||
justify-content: center
|
||||
padding: 15px
|
||||
width: 100%
|
||||
z-index: 2
|
||||
|
||||
&-icon
|
||||
font-size: 4em
|
||||
@ -1039,10 +1036,13 @@ section.node-preview
|
||||
font-size: 1.6em
|
||||
span
|
||||
display: block
|
||||
|
||||
hr
|
||||
border-color: rgba(white, .5)
|
||||
a
|
||||
display: inline-block
|
||||
color: white
|
||||
font-size: .8em
|
||||
font-size: .7em
|
||||
|
||||
em
|
||||
font-style: normal
|
||||
|
@ -22,10 +22,13 @@
|
||||
.video-dummy.sorry(
|
||||
style="{% if node.picture %}background-image: url({{ node.picture.thumbnail('l', api=api) }});{% endif %}")
|
||||
.video-dummy-content
|
||||
i.pi-lock.video-dummy-content-icon
|
||||
.video-dummy-content-text
|
||||
span Only available to Blender Cloud subscribers.
|
||||
a(href="{{ url_for('cloud.join') }}") Support Blender and get awesome stuff. <em>Subscribe now!</em>
|
||||
span Available to Blender Cloud subscribers
|
||||
span
|
||||
small Support Blender and get awesome stuff!
|
||||
hr
|
||||
a.subscribe(href="{{ url_for('cloud.join') }}") <em>Subscribe</em>
|
||||
a(href="{{ url_for('users.login') }}") Already a subscriber? Log in
|
||||
| {% endif %}
|
||||
|
||||
|
||||
@ -75,13 +78,6 @@ script(type="text/javascript").
|
||||
var content_type = $("li.node-details-meta-list-item.type").text();
|
||||
$("li.node-details-meta-list-item.type").text(content_type.substring(content_type.indexOf("/") + 1));
|
||||
|
||||
{% if not node.video_sources %}
|
||||
$('.sorry').click(function() {
|
||||
$.get('/403', function(data) {
|
||||
$('#node-overlay').html(data).addClass('active');
|
||||
})
|
||||
});
|
||||
{% endif %}
|
||||
});
|
||||
|
||||
include ../../_scripts
|
||||
|
Loading…
x
Reference in New Issue
Block a user