From 7f6d08ee1674838124cbb7ca81f2d38833453458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Thu, 18 Aug 2022 00:15:46 +0200 Subject: [PATCH] Bugfixes --- VERSION | 2 +- templates/layouts/default.html.ep | 3 +++ templates/shortcuts.html.ep | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 3eefcb9..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 +1.0.1 diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index ea4edf6..775326d 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -33,6 +33,7 @@ </head> <body> + <nav class="navbar navbar--simple __js-root"> <ui-app inline-template> <ui-navbar inline-template> @@ -101,5 +102,7 @@ </section> </div> +<script src="https://cdn-unpkg.pirati.cz/vue@2.7.8/dist/vue.min.js"></script> +<script src="<%= $c->config->{styleguide} %>js/main.bundle.js"></script> </body> </html> diff --git a/templates/shortcuts.html.ep b/templates/shortcuts.html.ep index a5b98c2..1c7fa00 100644 --- a/templates/shortcuts.html.ep +++ b/templates/shortcuts.html.ep @@ -77,16 +77,16 @@ $(function() { }, fields: [ - { name: "shortcut", title: "Zkratka", type: "text", width: 50, editing: false }, - { name: "url", title: "URL", type: "text", width: 250, validate: "url" }, - { name: "code", title: "Týp přesměrování", type: "select", width: 70, items: [ + { name: "shortcut", title: "Zkratka", type: "text", width: '5em', editing: false }, + { name: "url", title: "URL", type: "text", width: '100%', validate: "url" }, + { name: "code", title: "Typ přesměrování", type: "select", width: '10em', items: [ { name: "302 dočasné", code: 302 }, { name: "301 trvalé", code: 301 }, ], valueField: "code", textField: "name" }, - { type: "control", editButton: false, width: 30 } + { type: "control", editButton: false, width: 60 } ] }); }); -- GitLab