diff --git a/VERSION b/VERSION index 3eefcb9dd5b38e2c1dc061052455dd97bcd51e6c..7dea76edb3dc51b6e5e8223e9f941a35c1e364d6 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 ea4edf698a8996abd222ac9283eddcef26488eb4..775326d23926f3ffcda17e8555b8682b6014d188 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 a5b98c29725a242ebec13048a5ca6e562fbfa10e..1c7fa00001f7f3e6f5ccf1fdeadf746e4628d955 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 } ] }); });