Display embed link on the asciicast's page
parent
20cf58e89b
commit
feec862f99
@ -1,7 +0,0 @@
|
||||
<h1>Share</h1>
|
||||
|
||||
<ul class="delimited">
|
||||
<li>
|
||||
Twitter
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1,6 @@
|
||||
h1 Share
|
||||
|
||||
ul.delimited
|
||||
li
|
||||
' Embed on your page
|
||||
input[type="text" class="embed-script" value=@asciicast.embed_script data-behavior="auto-select" readonly]
|
@ -1,25 +0,0 @@
|
||||
<section id="presentation" class="feature">
|
||||
<div class="asciicast-wrapper">
|
||||
<%= player @asciicast %>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="supplimental">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<h1><%= @asciicast.title %></h1>
|
||||
|
||||
<div class="description">
|
||||
<%= @asciicast.description %>
|
||||
</div>
|
||||
|
||||
<%= render :partial => 'other_by_user' %>
|
||||
</div>
|
||||
|
||||
<div class="extras">
|
||||
<%= render :partial => 'author' %>
|
||||
<%= render :partial => 'actions' %>
|
||||
<%= render :partial => 'info' %>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -0,0 +1,15 @@
|
||||
section#presentation.feature
|
||||
.asciicast-wrapper
|
||||
= player @asciicast
|
||||
|
||||
section.supplimental
|
||||
.wrapper
|
||||
.main
|
||||
h1 = @asciicast.title
|
||||
.description = @asciicast.description
|
||||
= render :partial => 'other_by_user'
|
||||
.extras
|
||||
= render :partial => 'author'
|
||||
= render :partial => 'actions'
|
||||
= render :partial => 'info'
|
||||
= render :partial => 'share'
|
Loading…
Reference in New Issue