Compare commits
3 Commits
9158e4ad2a
...
b3fd09c7d0
Author | SHA1 | Date | |
---|---|---|---|
b3fd09c7d0 | |||
47ef86b744 | |||
9fe281205a |
|
@ -1,3 +1,7 @@
|
|||
<FilesMatch "\.(jpg|png)$">
|
||||
Header set Cache-Control "public, max-age=31536000, no-transform"
|
||||
</FilesMatch>
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^doppelklinge/?$ /?p=doppelklinge [L]
|
||||
RewriteRule ^doppelklinge/([a-zA-Z0-9]{8})/?$ /?p=doppelklinge&c=$1 [L]
|
||||
|
|
7
public/css/bootstrap.min.css
vendored
7
public/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -19,6 +19,10 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
#logo {
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
.sidebar-sticky {
|
||||
height: calc(100vh - 48px);
|
||||
overflow-x: hidden;
|
||||
|
|
BIN
public/img/logo.png
(Stored with Git LFS)
Normal file
BIN
public/img/logo.png
(Stored with Git LFS)
Normal file
Binary file not shown.
4
public/js/bootstrap-native.min.js
vendored
4
public/js/bootstrap-native.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3,38 +3,40 @@
|
|||
{% block title %}irgendwas mit Doppelklinge{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/doppelklinge" method="post">
|
||||
<p>Gesamten Mainframe von Position X: 80 Y: 126 einfügen (strg-a, strg-c):</p>
|
||||
<textarea name="progress" rows="4" cols="60">{{ $progress }}</textarea>
|
||||
<br />
|
||||
<input type="submit" value="abschnalzen" />
|
||||
</form>
|
||||
<form action="/doppelklinge" method="post">
|
||||
<div class="form-floating">
|
||||
<textarea class="form-control" name="progress" id="progress" style="height: 100px">{{ $progress }}</textarea>
|
||||
<label for="progress">Gesamten Mainframe von Position X: 80 Y: 126 einfügen (strg-a, strg-c)</label>
|
||||
</div>
|
||||
<br>
|
||||
<input class="btn btn-primary" type="submit" value="abschnalzen">
|
||||
</form>
|
||||
|
||||
{% if(isset($list)): %}
|
||||
<hr />
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Aufgabe</th>
|
||||
<th>Fortschritt</th>
|
||||
<th>Ziel</th>
|
||||
<th>übrig</th>
|
||||
<th>Prozent</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for($i = 0; $i < count($list); $i++): %}
|
||||
<tr style="background-color: {{ $i >= 5 ? 'red' : 'white' }}">
|
||||
<td>{{ $list[$i]->task }}</td>
|
||||
<td>{{ number_format($list[$i]->act, 0, '', '.') }}</td>
|
||||
<td>{{ number_format($list[$i]->max, 0, '', '.') }}</td>
|
||||
<td>{{ number_format($list[$i]->left, 0, '', '.') }}</td>
|
||||
<td>{{ $list[$i]->percent }}</td>
|
||||
</tr>
|
||||
{% endfor; %}
|
||||
</tbody>
|
||||
</table>
|
||||
<p>insgesamt {{ $percent }}% erledigt (ø {{ $avg }}%).</p>
|
||||
<p>Stand: {{ $dt }}</p>
|
||||
{% if(isset($list)): %}
|
||||
<hr />
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Aufgabe</th>
|
||||
<th>Fortschritt</th>
|
||||
<th>Ziel</th>
|
||||
<th>übrig</th>
|
||||
<th>Prozent</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for($i = 0; $i < count($list); $i++): %}
|
||||
<tr style="background-color: {{ $i >= 5 ? 'red' : 'white' }}">
|
||||
<td>{{ $list[$i]->task }}</td>
|
||||
<td>{{ number_format($list[$i]->act, 0, '', '.') }}</td>
|
||||
<td>{{ number_format($list[$i]->max, 0, '', '.') }}</td>
|
||||
<td>{{ number_format($list[$i]->left, 0, '', '.') }}</td>
|
||||
<td>{{ $list[$i]->percent }}</td>
|
||||
</tr>
|
||||
{% endfor; %}
|
||||
</tbody>
|
||||
</table>
|
||||
<p>insgesamt {{ $percent }}% erledigt (ø {{ $avg }}%).</p>
|
||||
<p>Stand: {{ $dt }}</p>
|
||||
{% endif; %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Freewartools">
|
||||
<meta name="keywords" content="fwtrash, Freewar, Browsergame, Browserspiel">
|
||||
|
||||
<base href="{{ $basepath ?? "https://fwtrash.de" }}">
|
||||
<title>{% yield title %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
|
||||
|
@ -11,7 +14,7 @@
|
|||
<body>
|
||||
<header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
|
||||
<a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href="./">
|
||||
<img src="./img/logo-big.png" style="height: 38px"> fwtrash.de
|
||||
<img src="./img/logo.png" id="logo" alt="logo"> fwtrash.de
|
||||
</a>
|
||||
<button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
|
|
@ -3,11 +3,13 @@
|
|||
{% block title %}irgendwas mit Vermessungen{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/vermessung" method="post">
|
||||
<p>Gesamtes Clanprotokoll einfügen (strg-a, strg-c):</p>
|
||||
<textarea name="protocol" rows="4" cols="60">{{ $protocol }}</textarea>
|
||||
<br />
|
||||
<input type="submit" value="abschnalzen" />
|
||||
<form action="/vermessung" method="post">
|
||||
<div class="form-floating">
|
||||
<textarea class="form-control" name="protocol" id="protocol" style="height: 100px">{{ $protocol }}</textarea>
|
||||
<label for="protocol">Gesamtes Clanprotokoll einfügen (strg-a, strg-c)</label>
|
||||
</div>
|
||||
<br>
|
||||
<input class="btn btn-primary" type="submit" value="abschnalzen">
|
||||
</form>
|
||||
|
||||
{% if(isset($newest)): %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user