37 lines
1 KiB
HTML
37 lines
1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ title }} – dab mechanic</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="https://www.mediawiki.org/w/load.php?modules=mediawiki.diff.styles&only=styles">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="m-3">
|
|
<h2>Preview of changes: {{ title }}</h2>
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h5 class="card-title">Edit summary</h5>
|
|
<p class="card-text">{{ edit_summary }}</p>
|
|
</div>
|
|
</div>
|
|
{# <pre>{{ text }}</pre> #}
|
|
|
|
<table class="diff my-3">
|
|
<colgroup>
|
|
<col class="diff-marker">
|
|
<col class="diff-content">
|
|
<col class="diff-marker">
|
|
<col class="diff-content">
|
|
</colgroup>
|
|
<tbody>
|
|
{{ diff | safe }}
|
|
</tbody>
|
|
</table>
|
|
|
|
<button class="btn btn-primary" id="save-btn">Save changes</button>
|
|
|
|
</body>
|
|
</html>
|