Über-Karte in der Administration, docker-publish entfernt
Some checks are pending
CI / PHP Lint (push) Waiting to run
CI / PHP Lint-1 (push) Waiting to run
CI / Unit Tests & Static Analysis (push) Waiting to run
CI / PHP Lint (pull_request) Successful in 35s
CI / PHP Lint-1 (pull_request) Successful in 46s
CI / Unit Tests & Static Analysis (pull_request) Successful in 37s
Some checks are pending
CI / PHP Lint (push) Waiting to run
CI / PHP Lint-1 (push) Waiting to run
CI / Unit Tests & Static Analysis (push) Waiting to run
CI / PHP Lint (pull_request) Successful in 35s
CI / PHP Lint-1 (pull_request) Successful in 46s
CI / Unit Tests & Static Analysis (pull_request) Successful in 37s
Die Lizenzhinweise standen bisher nur in den Dateien. Unter Integration & Wartung gibt es jetzt eine Karte "Über diese Installation" mit Version, PHP-Version, Lizenz, Entwickler und Quellcode sowie einer Tabelle der mitgelieferten Komponenten Dritter, die direkt auf die ausgelieferten Lizenztexte verlinkt. Die Liste kommt aus Ui::thirdParty(), damit Oberfläche und THIRD-PARTY-NOTICES.md nicht auseinanderlaufen; drei Tests prüfen, dass jede gelistete Komponente ihren Lizenztext wirklich mitliefert, in den Notices auftaucht und LICENSE vorhanden ist. Außerdem: - docker-publish.yml entfernt – der Workflow veröffentlichte nach ghcr.io und stammte noch aus der GitHub-Zeit - Readme: der Actions-Runner läuft jetzt, entsprechende Hinweise angepasst; Test-Badge durch das echte CI-Badge der Forgejo-Instanz ersetzt Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
9b43eee9e6
commit
f5081a4b11
8 changed files with 196 additions and 47 deletions
|
|
@ -203,6 +203,64 @@ $adminBase = '';
|
|||
<button class="btn btn-primary" type="submit" name="save"><?= __('btn_save') ?></button>
|
||||
</form>
|
||||
|
||||
<div class="card about-card">
|
||||
<h2><?= __('about_title') ?></h2>
|
||||
<p class="muted"><?= __('about_hint') ?></p>
|
||||
|
||||
<dl class="about-list">
|
||||
<dt><?= __('about_app') ?></dt>
|
||||
<dd>UniFi Voucher Management System</dd>
|
||||
|
||||
<dt><?= __('about_version') ?></dt>
|
||||
<dd><?= Ui::version() !== '' ? htmlspecialchars(Ui::version()) : '–' ?></dd>
|
||||
|
||||
<dt><?= __('about_php') ?></dt>
|
||||
<dd><?= htmlspecialchars(PHP_VERSION) ?></dd>
|
||||
|
||||
<dt><?= __('about_license') ?></dt>
|
||||
<dd><?= Ui::LICENSE ?> –
|
||||
<a href="<?= Ui::LICENSE_URL ?>" target="_blank" rel="noopener"><?= __('about_license_view') ?></a>
|
||||
</dd>
|
||||
|
||||
<dt><?= __('about_developer') ?></dt>
|
||||
<dd><a href="<?= Ui::CREDIT_URL ?>" target="_blank" rel="noopener"><?= Ui::CREDIT_NAME ?></a></dd>
|
||||
|
||||
<dt><?= __('about_repository') ?></dt>
|
||||
<dd><a href="<?= Ui::REPOSITORY_URL ?>" target="_blank" rel="noopener">git.loheide.cloud</a></dd>
|
||||
</dl>
|
||||
|
||||
<h3><?= __('about_third_party') ?></h3>
|
||||
<p class="muted"><?= __('about_third_party_hint') ?></p>
|
||||
<div class="table-container">
|
||||
<table class="table table-stack">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= __('about_component') ?></th>
|
||||
<th><?= __('about_version') ?></th>
|
||||
<th><?= __('about_license') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach (Ui::thirdParty() as $component): ?>
|
||||
<tr>
|
||||
<td data-label="<?= __('about_component') ?>">
|
||||
<a href="<?= htmlspecialchars($component['url']) ?>" target="_blank" rel="noopener">
|
||||
<?= htmlspecialchars($component['name']) ?>
|
||||
</a>
|
||||
</td>
|
||||
<td data-label="<?= __('about_version') ?>"><?= htmlspecialchars($component['version']) ?></td>
|
||||
<td data-label="<?= __('about_license') ?>">
|
||||
<a href="<?= htmlspecialchars('../' . $component['license_file']) ?>" target="_blank" rel="noopener">
|
||||
<?= htmlspecialchars($component['license']) ?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
<script src="../assets/global.js"></script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue