panel/admin: Continue moving out information

This page further splits up the admin page into several parts.
This commit is contained in:
Tom Wiesing 2023-11-10 19:30:05 +01:00
parent ff92df3a87
commit 419902c59b
No known key found for this signature in database
12 changed files with 645 additions and 271 deletions

View file

@ -0,0 +1,94 @@
<div class="pure-u-1-1">
<h2 id="info">Drupal Information</h2>
</div>
<div class="pure-u-1-1">
<div class="padding">
<div class="overflow">
<table class="pure-table pure-table-bordered">
<thead>
<tr>
<th colspan="2">
Drupal Info
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Drupal Version
</td>
<td>
<code>{{ .DrupalVersion }}</code>
</td>
</tr>
<tr>
<td>
Default Theme
</td>
<td>
<code>{{ .DefaultTheme }}</code>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="pure-u-1-1">
<h2 id="requirements">Status Report</h2>
<p>
This mirrors the <em>Status Report</em> page found inside drupal.
</p>
</div>
<div class="pure-u-1">
<div class="padding">
<div class="overflow">
<table class="pure-table pure-table-bordered">
<thead>
<tr>
<th>
ID
</th>
<th>
Severity
</th>
<th>
Title
</th>
<th>
Value
</th>
<th>
Description
</th>
</tr>
</thead>
<tbody>
{{ range $name, $req := .Requirements }}
<tr>
<td>
<code>{{ $req.ID }}</code>
</td>
<td>
{{ $req.Level }}
</td>
<td>
{{ $req.Title }}
</td>
<td>
{{ $req.Value }}
</td>
<td>
{{ $req.Description }}
</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</div>
</div>