mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
Add share button to dashboard header
This commit is contained in:
parent
79e8885ae5
commit
25ee91a759
2 changed files with 17 additions and 4 deletions
|
@ -110,9 +110,19 @@
|
||||||
.interior .header-Outro .col.col-50.signup-Area {
|
.interior .header-Outro .col.col-50.signup-Area {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
.interior .header-Outro.dashboard .col.col-50.signup-Area {
|
.interior .header-Outro.dashboard {
|
||||||
width: 293px!important;
|
.col.col-50.signup-Area {
|
||||||
float: left;
|
width: 293px!important;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.site-url {
|
||||||
|
margin-top: -9px;
|
||||||
|
}
|
||||||
|
.btn-Action {
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 7px 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.interior .header-Outro a {color:#E93250}
|
.interior .header-Outro a {color:#E93250}
|
||||||
.interior .header-Outro .btn-Action {color:#fff}
|
.interior .header-Outro .btn-Action {color:#fff}
|
||||||
|
|
|
@ -29,7 +29,10 @@
|
||||||
|
|
||||||
<div class="col col-50">
|
<div class="col col-50">
|
||||||
<h2 class="eps"><%= current_site.title %></h2>
|
<h2 class="eps"><%= current_site.title %></h2>
|
||||||
<p class="site-url" style="margin-top: -9px;"><a href="//<%= current_site.host %>" target="_blank"><%= current_site.host %></a></p>
|
<p class="site-url">
|
||||||
|
<a href="//<%= current_site.host %>" target="_blank"><%= current_site.host %></a>
|
||||||
|
<a href="#" id="shareButton" class="btn-Action" data-container="body" data-toggle="popover" data-placement="bottom" data-content='<%== erb :'_share', layout: false, locals: {site: current_site} %>'><i class="fa fa-share-alt"></i> <span>Share</span></a>
|
||||||
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<% if current_site.site_updated_at %>
|
<% if current_site.site_updated_at %>
|
||||||
<li>Last updated <%= current_site.site_updated_at.ago.downcase %></li>
|
<li>Last updated <%= current_site.site_updated_at.ago.downcase %></li>
|
||||||
|
|
Loading…
Add table
Reference in a new issue