-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (83 loc) · 3.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-92634697-1', 'auto');
ga('send', 'pageview');
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>Barbiche</title>
<meta name="description" content="Barbiche is a logic-full template engine for browser environment">
<link rel="stylesheet" type="text/css" href="css/semantic.min.css">
<link rel="stylesheet" type="text/css" href="css/codemirror.css">
<link rel="stylesheet" href="css/custom.css">
<script type="text/javascript" src="js/editor.min.js"></script>
<link rel="icon" type="image/png" href="favicon.png"/>
</head>
<body>
<div class="page-wrap">
<div id="header" class="ui stackable inverted massive menu">
<div class="ui container">
<a href="index.html" class="header item active">
Barbiche<img class="ui logo small" src="img/barbiche.png">
</a>
<a href="demo.html" class="item">Try it</a>
<a href="documentation.html" class="item">Documentation</a>
<a href="https://github.com/manubb/barbiche" class="item">Github repository</a>
</div>
</div>
<div class="main">
<div class="ui inverted vertical masthead center aligned segment">
<div class="ui text container">
<h1 class="ui inverted header">
Barbiche<img class="logo large" src="img/barbiche.png">
</h1>
<h2>Template engine for DOM & JavaScript</h2>
<a href="demo.html" class="ui huge primary button">Try it online <i class="right arrow icon"></i></a>
</div>
</div>
<div class="ui vertical stripe segment">
<div id="target" class="ui large text container"></div>
</div>
</div>
</div>
<div id="footer" class="ui inverted vertical footer segment">
<div class="ui center aligned container">
<div class="ui horizontal inverted large divided link list">
<a class="item" href="index.html">Barbiche home</a>
<a class="item" href="demo.html">Try it</a>
<a class="item" href="documentation.html">Documentation</a>
<a class="item" href="https://github.com/manubb/barbiche">Github repository</a>
</div>
</div>
</div>
<script>
Array.prototype.slice.call(document.querySelectorAll('textarea.language-js')).forEach(function(js) {
var parent = js.parentNode.classList.remove('hide');
CodeMirror.fromTextArea(js, {
mode: "javascript",
lineWrapping: true,
tabSize: 2,
indentWithTabs: true,
readOnly: true
});
});
Array.prototype.slice.call(document.querySelectorAll('textarea.language-html')).forEach(function(html) {
var parent = html.parentNode.classList.remove('hide');
CodeMirror.fromTextArea(html, {
mode: "htmlmixed",
lineWrapping: true,
tabSize: 2,
indentWithTabs: true,
readOnly: true
});
});
</script>
</body>
</html>