mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-17 15:59:56 +03:00
Restyled error templates and removed copyright
This commit is contained in:
parent
ef32f2c129
commit
6ddbbb4ba0
2 changed files with 6 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php $this->layout('ShlinkCore::layout/default') ?>
|
<?php $this->layout('ShlinkCore::layout/default') ?>
|
||||||
|
|
||||||
<?php $this->start('title') ?>
|
<?php $this->start('title') ?>
|
||||||
<?= $this->translate('URL Not Found') ?>
|
<?= $this->translate('Invalid URL') ?>
|
||||||
<?php $this->end() ?>
|
<?php $this->end() ?>
|
||||||
|
|
||||||
<?php $this->start('stylesheets') ?>
|
<?php $this->start('stylesheets') ?>
|
||||||
|
|
|
@ -5,28 +5,19 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
||||||
<link rel="shortcut icon" href="/favicon.ico">
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
<style>
|
<style>
|
||||||
body {padding-top: 60px;}
|
html, body {height: 100%}
|
||||||
.app {display: flex; min-height: 100vh; flex-direction: column;}
|
.app {height: 100vh; display: flex; align-items: center; justify-content: center; flex-flow: column;}
|
||||||
.app-content {flex: 1;}
|
|
||||||
.app-footer p {margin-bottom: 20px;}
|
|
||||||
</style>
|
</style>
|
||||||
<?= $this->section('stylesheets', '') ?>
|
<?= $this->section('stylesheets', '') ?>
|
||||||
</head>
|
</head>
|
||||||
<body class="app">
|
<body>
|
||||||
<div class="app-content">
|
<div class="app">
|
||||||
<main class="container">
|
<main class="container">
|
||||||
<?= $this->section('main', '') ?>
|
<?= $this->section('main', '') ?>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="app-footer">
|
|
||||||
<div class="container">
|
|
||||||
<hr>
|
|
||||||
<p>© <?= date('Y') ?> <a href="https://shlink.io">Shlink</a></p>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Reference in a new issue