media/courgette: cleaner design of links page

Signed-off-by: Jerome Jutteau <mojo@couak.net>
This commit is contained in:
Jerome Jutteau 2015-04-25 11:53:52 +02:00
parent 05833d4c31
commit 8999b491d1
2 changed files with 22 additions and 12 deletions

View File

@ -95,36 +95,33 @@ if (jirafeau_has_upload_password ($cfg))
?>
<div id="upload_finished">
<p><?php echo t('File uploaded !') ?></p>
<br />
<div id="upload_finished_download_page">
<?php echo t('Download page') ?>
<p><?php echo t('Download page') ?></p>
<p><a id="upload_link" href=""></a></p>
<br />
</div>
<?php if ($cfg['preview'] == true) { ?>
<div id="upload_finished_preview">
<p><?php echo t('View link') ?>:</p>
<p><a id="preview_link" href=""></a></p>
<br />
</div>
<?php } ?>
<div id="upload_direct_download">
<p><?php echo t('Direct download link') ?>:</p>
<p><a id="direct_link" href=""></a></p>
<br />
</div>
<div>
<p><?php echo t('Delete link') ?>:</p>
<p><a id="delete_link" href=""></a></p>
<br />
<p id="validity">
<?php echo t('This file is valid until the following date'); ?>:
<br /><strong><div id="date"></div></strong>
</p>
</div>
<div id="validity">
<p><?php echo t('This file is valid until the following date'); ?>:</p>
<p id="date"></p>
</div>
</div>
<div id="uploading">

View File

@ -224,7 +224,20 @@ input[type="submit"]:focus {
padding-left: 3em;
}
#upload_finished a,
#upload_finished > p:nth-child(1) {
color: #0D9CB2;
font-weight: bold;
}
#upload_finished div p:nth-child(1) {
font-weight: bold;
}
#upload_finished a {
text-decoration: none;
color: #795548;
}
#uploading a {
font-weight: bold;
text-decoration: none;