FEATURE: Add close link (from r97751) (from r99088)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102843 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-14 04:07:12 +00:00
parent ab9dffb735
commit 676fc61421
2 changed files with 14 additions and 3 deletions

View File

@ -85,9 +85,9 @@
#SilverStripeNavigatorLinkPopup { #SilverStripeNavigatorLinkPopup {
display: none; display: none;
position: absolute; position: absolute;
top: -50px; top: -60px;
height: 40px; height: 50px;
width: 280px; width: 350px;
left: 200px; left: 200px;
background-color: white; background-color: white;
border: 1px solid black; border: 1px solid black;
@ -99,3 +99,13 @@
#SilverStripeNavigatorLinkPopup input { #SilverStripeNavigatorLinkPopup input {
width: 250px; width: 250px;
} }
#SilverStripeNavigatorLinkPopup a.close {
color: blue;
text-align: right;
width: 80%;
border: none !important;
cursor: pointer;
}

View File

@ -3,6 +3,7 @@
<% _t('SilverStripeNavigatorLink.ShareLink','Share link') %> <% _t('SilverStripeNavigatorLink.ShareLink','Share link') %>
</a> </a>
<div id="SilverStripeNavigatorLinkPopup"> <div id="SilverStripeNavigatorLinkPopup">
<a class="close"><% _t('SilverStripeNavigatorLinkl.CloseLink','Close') %></a>
<p> <p>
<% _t('SilverStripeNavigatorLink.ShareInstructions','To share a this to this page, copy and paste the link below.') %></p> <% _t('SilverStripeNavigatorLink.ShareInstructions','To share a this to this page, copy and paste the link below.') %></p>
<input value="$Link" /> <input value="$Link" />