Compare commits

..

26 Commits

Author SHA1 Message Date
a312a0dc7a 1.7.1 2024-03-14 09:55:02 +03:00
848634f607 fix header tag part 2024-03-14 09:54:55 +03:00
3947390641 1.7.0 2024-03-14 09:35:06 +03:00
e9d4b09090 rm google font 2024-03-14 09:34:47 +03:00
1a36f6c41e 1.6.0 2024-02-19 11:30:11 +03:00
e35487b828 add favicon url 2024-02-19 11:30:02 +03:00
87d40f1116 1.5.1 2023-02-24 16:01:16 +03:00
3fce369336 app tag before script 2023-02-24 16:01:08 +03:00
ef85fc2af4 1.5.0 2022-02-08 23:58:25 +03:00
e52bf6ae3f Merged in feature/pretty-print (pull request #2)
Добавил переносов строк и пробелов в сериализацию конфигурации на страницу
2022-02-08 20:56:52 +00:00
7b0811327b Добавил переносов строк и пробелов в сериализацию конфигурации на страницу 2022-02-07 23:41:03 +03:00
fae0236e66 1.4.2 2021-12-16 12:40:54 +03:00
Andrey Vlasov
ef6a015d9f 1.4.1 2020-12-06 21:54:53 +03:00
Andrey Vlasov
860f918d78 hotfix 2020-12-06 21:54:40 +03:00
Andrey Vlasov
9867ce976f 1.4.0 2020-12-06 19:26:42 +03:00
Andrey Vlasov
6bc2da15c1 add features 2020-12-06 19:26:21 +03:00
317a976241 1.3.2 2020-05-05 17:37:13 +03:00
f4815e79c8 Поменял местами app и скрипт 2020-05-05 17:37:05 +03:00
de622234e6 1.3.1 2020-05-05 17:29:00 +03:00
e423bd4a85 Исправил ошибку количества скобок 2020-05-05 17:28:52 +03:00
7143060135 1.3.0 2020-05-05 13:28:01 +03:00
f4fc1b2e16 add simple hbs 2020-05-05 13:27:49 +03:00
872e8e7ce6 1.2.4 2020-04-05 17:48:08 +03:00
89db780648 fix mistake 2020-04-05 17:48:03 +03:00
6a801d73c8 1.2.2 2020-04-05 17:47:28 +03:00
9bc857d7c8 Merged in bugfix/WEBUI-36-body-style-reset (pull request #1)
WEBUI-36 Добавил reset по минимуму
2020-04-05 14:45:07 +00:00
8 changed files with 26 additions and 8 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@ijl/ltemplates",
"version": "1.2.2",
"version": "1.7.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@ijl/templates",
"version": "1.2.2",
"version": "1.7.1",
"description": "Templates library for @ijl projects",
"main": "src/index.js",
"scripts": {

View File

@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte
function toJSON (obj) {
if (typeof obj === 'object') {
return JSON.stringify(obj)
return JSON.stringify(obj, null, 4)
}
return obj
}

View File

@ -7,9 +7,9 @@
</head>
<body>
<div id="app"></div>
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/dist/index.js"></script>
{{>"partials/scripts.hbs"}}
<div id="app"></div>
</body>
</html>

View File

@ -7,9 +7,9 @@
</head>
<body>
<div id="app"></div>
<script src="{{baseUrl}}/fire.app/{{fireappVersion}}/index.js"></script>
{{>"partials/scripts.hbs"}}
<div id="app"></div>
</body>
</html>

View File

@ -1,6 +1,8 @@
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&amp;subset=cyrillic,cyrillic-ext"
rel="stylesheet" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>body {margin: 0; padding: 0;}</style>

View File

@ -2,6 +2,7 @@
fireapp({
apps: {{{ toJSON apps }}},
navigations: {{{ toJSON navigations }}},
config: {{{ toJSON config }}}
config: {{{ toJSON config }}},
features: {{{ toJSON features }}}
})
</script>

15
src/templates/simple.hbs Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&amp;subset=cyrillic,cyrillic-ext" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>body {margin: 0; padding: 0;}</style>
<title>{{title}}</title>
</head>
<body>
<div id="{{appRootId}}"></div>
<script src="{{scriptUrl}}"></script>
</body>
</html>