mirror of
https://github.com/YunoHost/install-app.git
synced 2024-09-03 20:06:19 +02:00
Add a discover widget
Add a small widget linking to the YunoHost website for people who do not know YunoHost
This commit is contained in:
parent
115b79e025
commit
1a7f88a876
3 changed files with 16 additions and 4 deletions
10
index.php
10
index.php
|
@ -84,10 +84,10 @@ if(isset($_POST['server']) AND !empty($_POST['server']) AND $app_status == 'offi
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 id="logo" class="logo">
|
<h1 id="logo" class="logo">
|
||||||
<img src="logo-ynh-white.svg"/>
|
<img src="assets/img/logo-ynh-white.svg"/><span class="element-invisible">Yunohost</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
|
|
||||||
<div class="ynh-wrapper login">
|
<div class="ynh-wrapper login">
|
||||||
|
|
||||||
|
@ -152,8 +152,14 @@ else {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class="wrapper messages success">
|
||||||
|
<h3><?php echo $locale['noserver']; ?></h3>
|
||||||
|
<p><?php echo $locale['yunohost']; ?></p>
|
||||||
|
<p><a href="https://yunohost.org/#/" title="<?php echo $locale['discover']; ?>" class="btn link-btn"><?php echo $locale['discover']; ?></a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="assets/js/global.js"></script>
|
<script src="assets/js/global.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -8,5 +8,8 @@
|
||||||
"app_notfound": "This application is neither officially nor community maintained.",
|
"app_notfound": "This application is neither officially nor community maintained.",
|
||||||
"working": "working",
|
"working": "working",
|
||||||
"inprogress": "in progress",
|
"inprogress": "in progress",
|
||||||
"notworking": "not working"
|
"notworking": "not working",
|
||||||
|
"noserver": "No YunoHost server yet?",
|
||||||
|
"yunohost": "YunoHost is a server operating system aiming to make self-hosting accessible to everyone.",
|
||||||
|
"discover": "Discover YunoHost"
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,8 @@
|
||||||
"app_notfound": "Cette application n'est maintenue ni officiellemment, ni par la communauté.",
|
"app_notfound": "Cette application n'est maintenue ni officiellemment, ni par la communauté.",
|
||||||
"working": "fonctionnel",
|
"working": "fonctionnel",
|
||||||
"inprogress": "non fonctionnel",
|
"inprogress": "non fonctionnel",
|
||||||
"notworking": "en cours de développement"
|
"notworking": "en cours de développement",
|
||||||
|
"noserver": "Pas encore de serveur YunoHost ?",
|
||||||
|
"yunohost": "YunoHost est un outil qui vous permet d’installer et d’utiliser facilement votre propre serveur.",
|
||||||
|
"discover": "Découvrez YunoHost"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue