diff options
Diffstat (limited to 'app/genealogy')
-rw-r--r-- | app/genealogy/.gitlab-ci.yml | 15 | ||||
-rw-r--r-- | app/genealogy/LICENSE | 21 | ||||
-rw-r--r-- | app/genealogy/index.php | 2 | ||||
-rw-r--r-- | app/genealogy/private/header.php | 7 |
4 files changed, 39 insertions, 6 deletions
diff --git a/app/genealogy/.gitlab-ci.yml b/app/genealogy/.gitlab-ci.yml new file mode 100644 index 0000000..4402674 --- /dev/null +++ b/app/genealogy/.gitlab-ci.yml @@ -0,0 +1,15 @@ +# Generic Minteck GitLab CI/CD Checks +# PHP applications +image: php:zts-buster + +cache: + paths: + - vendor/ + +before_script: + - apt-get update + - apt-get install -y git + +test: + script: + - bash -c '[[ $(find . -name \*.php -exec php -l {} \; | grep -v "No syntax errors") ]] && exit 2 || exit 0' diff --git a/app/genealogy/LICENSE b/app/genealogy/LICENSE new file mode 100644 index 0000000..318113a --- /dev/null +++ b/app/genealogy/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021- Minteck + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/app/genealogy/index.php b/app/genealogy/index.php index 892e511..fa67073 100644 --- a/app/genealogy/index.php +++ b/app/genealogy/index.php @@ -1,6 +1,6 @@ <?php $_TITLE = "Accueil"; require_once $_SERVER['DOCUMENT_ROOT'] . "/private/header.php"; ?>
<div class="container" style="text-align: center;">
- <h1>Familine Recall</h1>
+ <h1>Familine Généalogie</h1>
<p><i>La généalogie familiale simplifiée et accessible à tous</i></p>
<h2>Pour vous</h2>
diff --git a/app/genealogy/private/header.php b/app/genealogy/private/header.php index 665e6c0..c579fed 100644 --- a/app/genealogy/private/header.php +++ b/app/genealogy/private/header.php @@ -36,7 +36,7 @@ $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/private/data <link href="/dllib/jquery.flexdatalist.min.css" rel="stylesheet" type="text/css"> <script src="/dllib/jquery.js"></script> <script src="/dllib/org.js"></script> - <title><?= $_TITLE ?> | Familine Recall</title> + <title><?= $_TITLE ?> | Familine Généalogie</title> <style> :root { --primary-color: #217ca3; @@ -94,7 +94,7 @@ $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/private/data </head> <body> <nav class="navbar navbar-expand-sm bg-light navbar-light"> - <a class="navbar-brand" href="/">Familine Recall</a> + <a class="navbar-brand" href="/">Familine Généalogie</a> <ul class="navbar-nav" style="width: 100%;"> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown"> @@ -116,9 +116,6 @@ $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/private/data <li class="nav-item"> <a class="nav-link" href="/me">Ma famille</a> </li> - <li class="nav-item"> - <a class="nav-link" href="/import">Importer une généalogique</a> - </li> </ul> <span class="navbar-text" style="width:100%;text-align:right;"> |