html/css optimizations

This commit is contained in:
creme 2020-01-19 19:08:04 +01:00
parent 6564dde70d
commit cc905b0ff0
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 5 additions and 5 deletions

View File

@ -279,7 +279,7 @@ print_category() {
fi
printf '<table id="table_pkg">\n'
printf '\t<tr> <th width="140px">Package</th> <th width="280px">Version</th> <th>Description</th></tr>\n'
printf '\t<tr> <th class="tw140">Package</th> <th class="tw280">Version</th> <th>Description</th> </tr>\n'
if [ "$category" = 'services' ]; then
for pkg in "${arr[@]}"; do
@ -319,8 +319,8 @@ include 'header.php';
<div id="main" style="padding-bottom: 4em;">
<div class="block">
<pre>
<h1><em>sysinfo</em></h1>
<pre>
<em>full data source: <a href="/sysinfo.json">https://$DOMAIN/sysinfo.json</a></em>
<em>webserver stats: <a href="/stats/">https://$DOMAIN/stats/</a></em>
@ -334,8 +334,9 @@ this is a static list of the package informations. it updates once per day.
<strong>&#35; can i get [package] installed?</strong>
probably! send an email with your suggestion to <a href="mailto:sudoers@$DOMAIN">sudoers@$DOMAIN</a>.
</pre>
<br />
$(print_category 'services' "${sorted_services[@]}")
<p></p>
$(print_category 'shells' "${sorted_shells[@]}")

View File

@ -23,9 +23,8 @@ include 'header.php';
<div id=\"main\">
<div class=\"block\">
<pre>
<h1><em>recently user updates</em></h1>
</pre>
<br />
</div>
<pre>