Added direct link in public share page

Fixes #1167
This commit is contained in:
Vincent Petry 2013-10-18 17:40:41 +02:00
parent b201e87af6
commit 7abfe2bd4f
3 changed files with 11 additions and 0 deletions

View File

@ -132,3 +132,11 @@ thead{
top: -2px;
color: #555;
}
.directLink {
margin-bottom: 20px;
}
.directLink input{
margin-left: 10px;
width: 600px;
}

View File

@ -67,4 +67,6 @@ $(document).ready(function() {
procesSelection();
});
$('#directLink').focus();
});

View File

@ -95,6 +95,7 @@
</li>
</ul>
<?php endif; ?>
<div class="directLink"><label for="directLink"><?php p($l->t('Direct link')) ?></label><input id="directLink" type="text" readonly value="<?php p($_['downloadURL']); ?>"></input></div>
<?php endif; ?>
</div>
<footer>