Browse Source

add connection tip

main
ghost 1 year ago
parent
commit
9fb8a41ee8
  1. 5
      src/public/action.php
  2. 4
      src/public/assets/theme/default/css/framework.css

5
src/public/action.php

@ -563,6 +563,9 @@ switch (isset($_GET['target']) ? urldecode($_GET['target']) : false)
$response->message = sprintf( // @TODO MVC page for downloads needed $response->message = sprintf( // @TODO MVC page for downloads needed
'<h1 class="display-block margin-b-16 font-size-16">%s</h1> '<h1 class="display-block margin-b-16 font-size-16">%s</h1>
<div class="margin-b-16 text-color-night">
* make sure BitTorrent client listening Yggdrasil interface!
</div>
<a href="%s"> <a href="%s">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-magnet" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-magnet" viewBox="0 0 16 16">
<path d="M8 1a7 7 0 0 0-7 7v3h4V8a3 3 0 0 1 6 0v3h4V8a7 7 0 0 0-7-7Zm7 11h-4v3h4v-3ZM5 12H1v3h4v-3ZM0 8a8 8 0 1 1 16 0v8h-6V8a2 2 0 1 0-4 0v8H0V8Z"/> <path d="M8 1a7 7 0 0 0-7 7v3h4V8a3 3 0 0 1 6 0v3h4V8a7 7 0 0 0-7-7Zm7 11h-4v3h4v-3ZM5 12H1v3h4v-3ZM0 8a8 8 0 1 1 16 0v8h-6V8a2 2 0 1 0-4 0v8H0V8Z"/>
@ -823,7 +826,7 @@ switch (isset($_GET['target']) ? urldecode($_GET['target']) : false)
<a class="button margin-l-8" <a class="button margin-l-8"
rel="nofollow" rel="nofollow"
href="<?php echo $_SERVER['HTTP_REFERER'] ?>"> href="<?php echo $_SERVER['HTTP_REFERER'] ?>">
<?php echo _('return') ?> <?php echo _('back') ?>
</a> </a>
</div> </div>
</div> </div>

4
src/public/assets/theme/default/css/framework.css

@ -48,6 +48,10 @@
color: #5785b7; color: #5785b7;
} }
.text-color-night {
color: #838695;
}
.label { .label {
padding: 4px 8px; padding: 4px 8px;
border-radius: 3px; border-radius: 3px;

Loading…
Cancel
Save