]> git.p6c8.net - jirafeau_project.git/commitdiff
media/courgette: cleaner design of links page
authorJerome Jutteau <mojo@couak.net>
Sat, 25 Apr 2015 09:53:52 +0000 (11:53 +0200)
committerJerome Jutteau <mojo@couak.net>
Sat, 25 Apr 2015 09:53:52 +0000 (11:53 +0200)
Signed-off-by: Jerome Jutteau <mojo@couak.net>
index.php
media/courgette/style.css.php

index e06086fec7c5534ec602f5d27edcfbf466554e3d..86220f7e9399e7f178efc71921d74ccb0c392493 100644 (file)
--- a/index.php
+++ b/index.php
@@ -95,36 +95,33 @@ if (jirafeau_has_upload_password ($cfg))
 ?>
 <div id="upload_finished">
     <p><?php echo t('File uploaded !') ?></p>
 ?>
 <div id="upload_finished">
     <p><?php echo t('File uploaded !') ?></p>
-    <br />
 
     <div id="upload_finished_download_page">
 
     <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>
     <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>
     </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>
     </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>
 
+    <div>
     <p><?php echo t('Delete link') ?>:</p>
     <p><a id="delete_link" href=""></a></p>
     <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">
 </div>
 
 <div id="uploading">
index 1c0c18a0df4c9dcb6c438edbf40db991b94a608d..3bb25a9cc827cac5fc304c547b365dfafffa3a68 100644 (file)
@@ -224,7 +224,20 @@ input[type="submit"]:focus {
   padding-left: 3em;
 }
 
   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;
 #uploading a {
   font-weight: bold;
   text-decoration: none;

patrick-canterino.de