modified index templates
some meta information moved to index_head_functions_add.html WIP: #2
This commit is contained in:
parent
b5b9655c1e
commit
5205aa089b
|
@ -1,40 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
[# minimalistic template]
|
||||
|
||||
<html lang="{language}">
|
||||
<html lang="{winix_html_lang_attr}">
|
||||
|
||||
<head>
|
||||
[include "index_head_functions_add.html"]
|
||||
<meta charset="UTF-8">
|
||||
<title>[doc_title]</title>
|
||||
</head>
|
||||
|
||||
[if winix_function_is "login"]
|
||||
[# login template: https://zzseba78.github.io/Kick-Off/login.html ]
|
||||
<body class="uk-flex uk-flex-center uk-flex-middle uk-background-muted uk-height-viewport" data-uk-height-viewport>
|
||||
<div>
|
||||
[else]
|
||||
<body class="uk-flex uk-flex-center">
|
||||
<div class="uk-width-2xlarge">
|
||||
[end]
|
||||
<body>
|
||||
|
||||
<div class="uk-container uk-container-small">
|
||||
|
||||
<div class="uk-margin-top" data-uk-height-viewport="expand: true">
|
||||
[include "slog.html"]
|
||||
[content]
|
||||
</div>
|
||||
|
||||
<div class="uk-margin-top uk-margin-bottom uk-text-center">
|
||||
<span class="uk-text-small uk-text-muted">
|
||||
© [current_year] [doc_base_url] - <a href="https://gitea.ttmath.org/tomasz.sowa/winix" title="{winix_backend_tooltip}" target="_blank" data-uk-tooltip>{winix_backend_info} [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</a>
|
||||
| {winix_frontend_info} <a href="http://getuikit.com" title="{winix_frontend_tooltip}" target="_blank" data-uk-tooltip><span data-uk-icon="uikit"></span></a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="uk-position-fixed uk-position-bottom-center uk-position-small uk-visible@m uk-position-z-index">
|
||||
<span class="uk-text-small uk-text-muted">
|
||||
© [current_year] [doc_base_url] - <a href="https://gitea.ttmath.org/tomasz.sowa/winix" title="Winix - a web framework" target="_blank" data-uk-tooltip>Powered by winix [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</a>
|
||||
| Built with <a href="http://getuikit.com" title="Visit UIkit 3 site" target="_blank" data-uk-tooltip><span data-uk-icon="uikit"></span></a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
[include "slog.html"]
|
||||
|
||||
[# each winix function has div.winix in its template defined -- only functions: cat and run don't have div.winix]
|
||||
[# so you can easly use 'content' with your own template]
|
||||
[# and when using other winix functions you automatically get proper styling]
|
||||
[content]
|
||||
</div>
|
||||
|
||||
[include "index_bottom_adder.html"]
|
||||
[include "index_bottom_adder.html"]
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
[# minimalistic template]
|
||||
|
||||
<html lang="{language}">
|
||||
<html lang="{winix_html_lang_attr}">
|
||||
|
||||
<head>
|
||||
[include "index_head_functions_add.html"]
|
||||
<meta charset="UTF-8">
|
||||
<title>[doc_title]</title>
|
||||
</head>
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
[def winix_has_uikit "true"]
|
||||
[def winix_has_jquery "false"]
|
||||
|
||||
|
||||
[# IMPROME ME we can add some conditionales such as 'do_not_set_charset']
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
[# UIkit CSS]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/uikit/uikit-3.6.16/css/uikit.min.css">
|
||||
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
winix_locale_id = "0"
|
||||
locale_name = "english"
|
||||
|
||||
language = en
|
||||
charset = UTF-8
|
||||
winix_html_lang_attr = en
|
||||
|
||||
winix_backend_info = Powered by winix
|
||||
winix_backend_tooltip = Winix - a web framework
|
||||
winix_frontend_info = Built with
|
||||
winix_frontend_tooltip = Visit UIkit 3 site
|
||||
|
||||
logged_as = logged as
|
||||
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
winix_locale_id = "1"
|
||||
locale_name = "polski"
|
||||
|
||||
winix_html_lang_attr = pl
|
||||
|
||||
language = pl
|
||||
charset = UTF-8
|
||||
winix_backend_info = Napędzany przez Winix
|
||||
winix_backend_tooltip = Winix - www framework
|
||||
winix_frontend_info = Zbudowany z
|
||||
winix_frontend_tooltip = Odwiedź stronę UIkit 3
|
||||
|
||||
logged_as = zalogowany jako
|
||||
|
||||
|
|
Loading…
Reference in New Issue