@manyos/smileconnect-api 1.39.1 → 1.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.js +13 -0
- package/conf/clients.json +2 -1
- package/conf/scripts/p4.js +24 -1
- package/docs/.nojekyll +0 -0
- package/docs/README.md +1 -0
- package/docs/_coverpage.md +12 -0
- package/docs/_media/dataflow.png +0 -0
- package/docs/_media/gui_client_fields.png +0 -0
- package/docs/_media/gui_clients_scripts.png +0 -0
- package/docs/_media/gui_mapping_inc.png +0 -0
- package/docs/_media/gui_scripts_edit.png +0 -0
- package/docs/_media/gui_scripts_usage.png +0 -0
- package/docs/_media/gui_scripts_warning.png +0 -0
- package/docs/_media/logo.png +0 -0
- package/docs/_sidebar.md +25 -0
- package/docs/{configuration/adapter.md → adapter.md} +8 -16
- package/docs/architecture.md +8 -0
- package/docs/configuration/clients.md +589 -0
- package/docs/configuration/config.md +323 -0
- package/docs/{eventlog → configuration}/events.md +11 -8
- package/docs/configuration/mapping.md +60 -0
- package/docs/howto/{worklog-attachment.md → attachments.md} +8 -15
- package/docs/howto/cmdbobjects.md +11 -17
- package/docs/howto/incidents.md +16 -23
- package/docs/howto/token.md +14 -18
- package/docs/howto/{incident-worklogs.md → worklogs.md} +14 -21
- package/docs/index.html +27 -0
- package/docs/openapi.json +2054 -1354
- package/docs/quickstart.md +9 -0
- package/docs/releases.md +21 -0
- package/docs/scripts.md +272 -0
- package/package.json +1 -1
- package/docs/.gitattributes +0 -48
- package/docs/404.html +0 -13
- package/docs/Gemfile +0 -7
- package/docs/Gemfile.lock +0 -249
- package/docs/_config.yml +0 -259
- package/docs/_data/SocialNetworks.yml +0 -92
- package/docs/_data/ui-text.yml +0 -494
- package/docs/_includes/disqus.html +0 -17
- package/docs/_includes/ext-css.html +0 -7
- package/docs/_includes/ext-js.html +0 -7
- package/docs/_includes/fb-comment.html +0 -14
- package/docs/_includes/footer-minimal.html +0 -16
- package/docs/_includes/footer-scripts.html +0 -32
- package/docs/_includes/footer.html +0 -51
- package/docs/_includes/google_analytics.html +0 -14
- package/docs/_includes/gtag.html +0 -11
- package/docs/_includes/gtm_body.html +0 -6
- package/docs/_includes/gtm_head.html +0 -9
- package/docs/_includes/head.html +0 -131
- package/docs/_includes/header.html +0 -76
- package/docs/_includes/just_comments.html +0 -4
- package/docs/_includes/matomo.html +0 -17
- package/docs/_includes/nav.html +0 -57
- package/docs/_includes/social-share.html +0 -42
- package/docs/_includes/staticman-comment.html +0 -22
- package/docs/_includes/staticman-comments.html +0 -81
- package/docs/_layouts/base.html +0 -35
- package/docs/_layouts/default.html +0 -9
- package/docs/_layouts/minimal.html +0 -26
- package/docs/_layouts/page.html +0 -26
- package/docs/_layouts/post.html +0 -82
- package/docs/_posts/2015-02-28-test-markdown.md +0 -77
- package/docs/aboutme.md +0 -18
- package/docs/configuration/scripts.md +0 -207
- package/docs/css/bootstrap-social.css +0 -147
- package/docs/css/bootstrap-theme.css +0 -476
- package/docs/css/bootstrap-theme.css.map +0 -1
- package/docs/css/bootstrap-theme.min.css +0 -5
- package/docs/css/bootstrap.css +0 -6566
- package/docs/css/bootstrap.css.map +0 -1
- package/docs/css/bootstrap.min.css +0 -5
- package/docs/css/main-minimal.css +0 -13
- package/docs/css/main.css +0 -788
- package/docs/css/normalize.css +0 -427
- package/docs/css/pygment_highlights.css +0 -61
- package/docs/css/staticman.css +0 -180
- package/docs/feed.xml +0 -24
- package/docs/general/architecture.md +0 -10
- package/docs/general/config.md +0 -201
- package/docs/general/field-management.md +0 -119
- package/docs/general/release-notes.md +0 -9
- package/docs/howto/sample-config.md +0 -518
- package/docs/img/404-southpark.jpg +0 -0
- package/docs/img/avatar-icon.png +0 -0
- package/docs/img/bgimage.png +0 -0
- package/docs/img/gb-isapi.jpg +0 -0
- package/docs/img/install-steps.gif +0 -0
- package/docs/img/workflow.png +0 -0
- package/docs/js/bootstrap.js +0 -2306
- package/docs/js/bootstrap.min.js +0 -7
- package/docs/js/jquery-1.11.2.min.js +0 -4
- package/docs/js/main.js +0 -140
- package/docs/js/staticman.js +0 -54
- package/docs/staticman.yml +0 -110
- /package/docs/{img → _media}/architecture.jpeg +0 -0
- /package/docs/{img → _media}/attachment-upload.png +0 -0
- /package/docs/{getting-started.md → old/getting-started.md} +0 -0
- /package/docs/{index.md → old/index.md} +0 -0
- /package/docs/{installation.md → old/installation.md} +0 -0
- /package/docs/{postinstall.md → old/postinstall.md} +0 -0
- /package/docs/{preinstall.md → old/preinstall.md} +0 -0
- /package/docs/{tags.html → old/tags.html} +0 -0
- /package/docs/{workflow.md → old/workflow.md} +0 -0
package/docs/_includes/gtag.html
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{% if site.gtag %}
|
|
2
|
-
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
3
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
|
4
|
-
<script>
|
|
5
|
-
window.dataLayer = window.dataLayer || [];
|
|
6
|
-
function gtag(){dataLayer.push(arguments);}
|
|
7
|
-
gtag('js', new Date());
|
|
8
|
-
|
|
9
|
-
gtag('config', '{{ site.gtag }}');
|
|
10
|
-
</script>
|
|
11
|
-
{% endif %}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{% if site.gtm %}
|
|
2
|
-
<!-- Google Tag Manager (noscript) -->
|
|
3
|
-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}"
|
|
4
|
-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
5
|
-
<!-- End Google Tag Manager (noscript) -->
|
|
6
|
-
{% endif %}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{% if site.gtm %}
|
|
2
|
-
<!-- Google Tag Manager -->
|
|
3
|
-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
4
|
-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
5
|
-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
6
|
-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
7
|
-
})(window,document,'script','dataLayer','{{ site.gtm }}');</script>
|
|
8
|
-
<!-- End Google Tag Manager -->
|
|
9
|
-
{% endif %}
|
package/docs/_includes/head.html
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
<meta charset="utf-8" />
|
|
3
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
|
|
5
|
-
|
|
6
|
-
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
|
7
|
-
|
|
8
|
-
<meta name="author" content="{{ site.author.name }}" />
|
|
9
|
-
|
|
10
|
-
{% if page.subtitle %}
|
|
11
|
-
<meta name="description" content="{{ page.subtitle }}">
|
|
12
|
-
{% endif %}
|
|
13
|
-
|
|
14
|
-
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} {{ site.title-separator }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}" />
|
|
15
|
-
|
|
16
|
-
{% include gtag.html %}
|
|
17
|
-
{% include gtm_head.html %}
|
|
18
|
-
{% include google_analytics.html %}
|
|
19
|
-
|
|
20
|
-
{% if layout.common-ext-css %}
|
|
21
|
-
{% for css in layout.common-ext-css %}
|
|
22
|
-
{% include ext-css.html css=css %}
|
|
23
|
-
{% endfor %}
|
|
24
|
-
{% endif %}
|
|
25
|
-
|
|
26
|
-
{% if layout.common-css %}
|
|
27
|
-
{% for css in layout.common-css %}
|
|
28
|
-
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
|
29
|
-
{% endfor %}
|
|
30
|
-
{% endif %}
|
|
31
|
-
|
|
32
|
-
{% if layout.common-googlefonts %}
|
|
33
|
-
{% for font in layout.common-googlefonts %}
|
|
34
|
-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
35
|
-
{% endfor %}
|
|
36
|
-
{% endif %}
|
|
37
|
-
|
|
38
|
-
{% if page.ext-css %}
|
|
39
|
-
{% for css in page.ext-css %}
|
|
40
|
-
{% include ext-css.html css=css %}
|
|
41
|
-
{% endfor %}
|
|
42
|
-
{% endif %}
|
|
43
|
-
|
|
44
|
-
{% if page.css %}
|
|
45
|
-
{% for css in page.css %}
|
|
46
|
-
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
|
47
|
-
{% endfor %}
|
|
48
|
-
{% endif %}
|
|
49
|
-
|
|
50
|
-
{% if page.googlefonts %}
|
|
51
|
-
{% for font in page.googlefonts %}
|
|
52
|
-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
53
|
-
{% endfor %}
|
|
54
|
-
{% endif %}
|
|
55
|
-
|
|
56
|
-
<!-- Facebook OpenGraph tags -->
|
|
57
|
-
{% if site.fb_app_id %}
|
|
58
|
-
<meta property="fb:app_id" content="{{ site.fb_app_id }}" />
|
|
59
|
-
{% endif %}
|
|
60
|
-
|
|
61
|
-
{% if page.meta-title %}
|
|
62
|
-
<meta property="og:title" content="{{ page.meta-title }}" />
|
|
63
|
-
{% elsif page.title %}
|
|
64
|
-
<meta property="og:title" content="{{ page.title }}" />
|
|
65
|
-
{% else %}
|
|
66
|
-
<meta property="og:title" content="{{ site.title }}" />
|
|
67
|
-
{% endif %}
|
|
68
|
-
|
|
69
|
-
{% if page.meta-description %}
|
|
70
|
-
<meta property="og:description" content="{{ page.meta-description }}">
|
|
71
|
-
{% elsif page.subtitle %}
|
|
72
|
-
<meta property="og:description" content="{{ page.subtitle }}">
|
|
73
|
-
{% else %}
|
|
74
|
-
<meta property="og:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
|
75
|
-
{% endif %}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<meta property="og:type" content="website" />
|
|
79
|
-
|
|
80
|
-
{% if page.id %}
|
|
81
|
-
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
|
82
|
-
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
|
83
|
-
{% else %}
|
|
84
|
-
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}" />
|
|
85
|
-
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}" />
|
|
86
|
-
{% endif %}
|
|
87
|
-
|
|
88
|
-
{% if page.share-img %}
|
|
89
|
-
<meta property="og:image" content="{{ page.share-img }}" />
|
|
90
|
-
{% elsif site.avatar %}
|
|
91
|
-
<meta property="og:image" content="{{ site.avatar | absolute_url }}" />
|
|
92
|
-
{% endif %}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<!-- Twitter summary cards -->
|
|
96
|
-
<meta name="twitter:card" content="summary" />
|
|
97
|
-
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
|
|
98
|
-
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
|
|
99
|
-
|
|
100
|
-
{% if page.meta-title %}
|
|
101
|
-
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
|
102
|
-
{% elsif page.title %}
|
|
103
|
-
<meta name="twitter:title" content="{{ page.title }}" />
|
|
104
|
-
{% else %}
|
|
105
|
-
<meta name="twitter:title" content="{{ site.title }}" />
|
|
106
|
-
{% endif %}
|
|
107
|
-
|
|
108
|
-
{% if page.meta-description %}
|
|
109
|
-
<meta name="twitter:description" content="{{ page.meta-description }}">
|
|
110
|
-
{% elsif page.subtitle %}
|
|
111
|
-
<meta name="twitter:description" content="{{ page.subtitle }}">
|
|
112
|
-
{% else %}
|
|
113
|
-
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
|
114
|
-
{% endif %}
|
|
115
|
-
|
|
116
|
-
{% if page.share-img %}
|
|
117
|
-
<meta name="twitter:image" content="{{ page.share-img }}" />
|
|
118
|
-
{% elsif site.avatar %}
|
|
119
|
-
<meta name="twitter:image" content="{{ site.avatar | absolute_url }}" />
|
|
120
|
-
{% endif %}
|
|
121
|
-
|
|
122
|
-
{% if site.matomo %}
|
|
123
|
-
{% include matomo.html %}
|
|
124
|
-
{% endif %}
|
|
125
|
-
|
|
126
|
-
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
|
127
|
-
<!-- Staticman -->
|
|
128
|
-
<link rel="stylesheet" href="{{ "/css/staticman.css" | relative_url }}" />
|
|
129
|
-
{% endif %}
|
|
130
|
-
|
|
131
|
-
</head>
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
<!-- TODO this file has become a mess, refactor it -->
|
|
2
|
-
|
|
3
|
-
{% if page.bigimg or page.title %}
|
|
4
|
-
|
|
5
|
-
{% if page.bigimg %}
|
|
6
|
-
<div id="header-big-imgs" data-num-img={% if page.bigimg.first %}{{ page.bigimg.size }}{% else %}1{% endif %}
|
|
7
|
-
{% for bigimg in page.bigimg %}
|
|
8
|
-
{% assign imgnum = forloop.index %}
|
|
9
|
-
{% for imginfo in bigimg %}
|
|
10
|
-
{% if imginfo[0] %}
|
|
11
|
-
data-img-src-{{ imgnum }}="{{ imginfo[0] | relative_url }}"
|
|
12
|
-
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
|
|
13
|
-
{% else %}
|
|
14
|
-
data-img-src-{{ imgnum }}="{{ imginfo | relative_url }}"
|
|
15
|
-
{% endif %}
|
|
16
|
-
{% endfor %}
|
|
17
|
-
{% endfor %}
|
|
18
|
-
></div>
|
|
19
|
-
{% endif %}
|
|
20
|
-
|
|
21
|
-
<header class="header-section {% if page.bigimg %}has-img{% endif %}">
|
|
22
|
-
{% if page.bigimg %}
|
|
23
|
-
<div class="big-img intro-header">
|
|
24
|
-
<div class="container">
|
|
25
|
-
<div class="row">
|
|
26
|
-
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
27
|
-
<div class="{{ include.type }}-heading">
|
|
28
|
-
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
|
29
|
-
{% if page.subtitle %}
|
|
30
|
-
{% if include.type == "page" %}
|
|
31
|
-
<hr class="small">
|
|
32
|
-
<span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
|
|
33
|
-
{% else %}
|
|
34
|
-
<h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
|
|
35
|
-
{% endif %}
|
|
36
|
-
{% endif %}
|
|
37
|
-
|
|
38
|
-
{% if include.type == "post" %}
|
|
39
|
-
<span class="post-meta">Posted on {{ page.date | date: "%B %-d, %Y" }}</span>
|
|
40
|
-
{% endif %}
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<span class='img-desc'></span>
|
|
46
|
-
</div>
|
|
47
|
-
{% endif %}
|
|
48
|
-
<div class="intro-header no-img">
|
|
49
|
-
<div class="container">
|
|
50
|
-
<div class="row">
|
|
51
|
-
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
52
|
-
<div class="{{ include.type }}-heading">
|
|
53
|
-
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
|
54
|
-
{% if page.subtitle %}
|
|
55
|
-
{% if include.type == "page" %}
|
|
56
|
-
<hr class="small">
|
|
57
|
-
<span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
|
|
58
|
-
{% else %}
|
|
59
|
-
<h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
|
|
60
|
-
{% endif %}
|
|
61
|
-
{% endif %}
|
|
62
|
-
|
|
63
|
-
{% if include.type == "post" %}
|
|
64
|
-
<span class="post-meta">Posted on {{ page.date | date: "%B %-d, %Y" }}</span>
|
|
65
|
-
{% endif %}
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</header>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
{% else %}
|
|
75
|
-
<div class="intro-header"></div>
|
|
76
|
-
{% endif %}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{% if site.matomo %}
|
|
2
|
-
<!-- Matomo -->
|
|
3
|
-
<script type="text/javascript">
|
|
4
|
-
var _paq = _paq || [];
|
|
5
|
-
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
6
|
-
_paq.push(['trackPageView']);
|
|
7
|
-
_paq.push(['enableLinkTracking']);
|
|
8
|
-
(function() {
|
|
9
|
-
var u="//{{- site.matomo.uri -}}/";
|
|
10
|
-
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
11
|
-
_paq.push(['setSiteId', '{{- site.matomo.site_id -}}']);
|
|
12
|
-
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
13
|
-
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
14
|
-
})();
|
|
15
|
-
</script>
|
|
16
|
-
<!-- End Piwik Code -->
|
|
17
|
-
{% endif %}
|
package/docs/_includes/nav.html
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
|
|
2
|
-
<div class="container-fluid">
|
|
3
|
-
<div class="navbar-header">
|
|
4
|
-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
|
|
5
|
-
<span class="sr-only">Toggle navigation</span>
|
|
6
|
-
<span class="icon-bar"></span>
|
|
7
|
-
<span class="icon-bar"></span>
|
|
8
|
-
<span class="icon-bar"></span>
|
|
9
|
-
</button>
|
|
10
|
-
{%- if site.title-img -%}
|
|
11
|
-
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img src="{{ site.title-img }}"/></a>
|
|
12
|
-
{%- else -%}
|
|
13
|
-
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
|
|
14
|
-
{%- endif -%}
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<div class="collapse navbar-collapse" id="main-navbar">
|
|
18
|
-
<ul class="nav navbar-nav navbar-right">
|
|
19
|
-
{%- for link in site.navbar-links -%}
|
|
20
|
-
{%- if link[1].first %}
|
|
21
|
-
<li class="navlinks-container">
|
|
22
|
-
<a class="navlinks-parent" href="javascript:void(0)">{{ link[0] }}</a>
|
|
23
|
-
<div class="navlinks-children">
|
|
24
|
-
{%- for childlink in link[1] -%}
|
|
25
|
-
{%- for linkparts in childlink %}
|
|
26
|
-
<a href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a>
|
|
27
|
-
{%- endfor -%}
|
|
28
|
-
{%- endfor %}
|
|
29
|
-
</div>
|
|
30
|
-
</li>
|
|
31
|
-
{% else %}
|
|
32
|
-
<li><a href="{{ link[1] | relative_url }}">{{ link[0] }}</a></li>
|
|
33
|
-
{%- endif -%}
|
|
34
|
-
{%- endfor -%}
|
|
35
|
-
</ul>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
{% if page.image and (layout.show-avatar or page.show-avatar) %}
|
|
39
|
-
<div class="avatar-container">
|
|
40
|
-
<div class="avatar-img-border">
|
|
41
|
-
<a href="{{ '' | absolute_url }}">
|
|
42
|
-
<img class="avatar-img" src="{{ page.image | relative_url }}" />
|
|
43
|
-
</a>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
{% elsif site.avatar and (layout.show-avatar or page.show-avatar) %}
|
|
47
|
-
<div class="avatar-container">
|
|
48
|
-
<div class="avatar-img-border">
|
|
49
|
-
<a href="{{ '' | absolute_url }}">
|
|
50
|
-
<img class="avatar-img" src="{{ site.avatar | relative_url }}" />
|
|
51
|
-
</a>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
{% endif %}
|
|
55
|
-
|
|
56
|
-
</div>
|
|
57
|
-
</nav>
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<!-- Check if any share-links are active -->
|
|
2
|
-
{% assign any-share-links = false %}
|
|
3
|
-
{% for links in site.share-links-active %}
|
|
4
|
-
{% if links[1] == true %}
|
|
5
|
-
{% assign any-share-links = true %}
|
|
6
|
-
{% endif %}
|
|
7
|
-
{% endfor %}
|
|
8
|
-
|
|
9
|
-
{% if any-share-links %}
|
|
10
|
-
<section id = "social-share-section">
|
|
11
|
-
<span class="sr-only">Share: </span>
|
|
12
|
-
|
|
13
|
-
{% if site.share-links-active.twitter %}
|
|
14
|
-
<!--- Share on Twitter -->
|
|
15
|
-
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
|
16
|
-
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
|
17
|
-
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
|
|
18
|
-
<span class="sr-only">Twitter</span>
|
|
19
|
-
</a>
|
|
20
|
-
{% endif %}
|
|
21
|
-
|
|
22
|
-
{% if site.share-links-active.facebook %}
|
|
23
|
-
<!--- Share on Facebook -->
|
|
24
|
-
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}"
|
|
25
|
-
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
|
26
|
-
<span class="fa fa-fw fa-facebook" aria-hidden="true"></span>
|
|
27
|
-
<span class="sr-only">Facebook</span>
|
|
28
|
-
</a>
|
|
29
|
-
{% endif %}
|
|
30
|
-
|
|
31
|
-
{% if site.share-links-active.linkedin %}
|
|
32
|
-
<!--- Share on LinkedIn -->
|
|
33
|
-
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}"
|
|
34
|
-
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
|
35
|
-
<span class="fa fa-fw fa-linkedin" aria-hidden="true"></span>
|
|
36
|
-
<span class="sr-only">LinkedIn</span>
|
|
37
|
-
</a>
|
|
38
|
-
{% endif %}
|
|
39
|
-
|
|
40
|
-
</section>
|
|
41
|
-
|
|
42
|
-
{% endif %}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="https://schema.org/Comment">
|
|
2
|
-
<div class="comment__avatar-wrapper">
|
|
3
|
-
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
|
|
4
|
-
</div>
|
|
5
|
-
<div class="comment__content-wrapper">
|
|
6
|
-
<h4 class="comment__author" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
|
7
|
-
{% unless include.url == blank %}
|
|
8
|
-
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
|
9
|
-
{% else %}
|
|
10
|
-
<span itemprop="name">{{ include.name }}</span>
|
|
11
|
-
{% endunless %}
|
|
12
|
-
</h4>
|
|
13
|
-
<p class="comment__date">
|
|
14
|
-
{% if include.date %}
|
|
15
|
-
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
|
|
16
|
-
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
|
|
17
|
-
{% if include.index %}</a>{% endif %}
|
|
18
|
-
{% endif %}
|
|
19
|
-
</p>
|
|
20
|
-
<div itemprop="text">{{ include.message | markdownify }}</div>
|
|
21
|
-
</div>
|
|
22
|
-
</article>
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
{% if site.staticman.repository and site.staticman.branch %}
|
|
2
|
-
<div class="page__comments">
|
|
3
|
-
<!-- Start static comments -->
|
|
4
|
-
<div class="js-comments">
|
|
5
|
-
{% if site.data.comments[page.slug] %}
|
|
6
|
-
<h3 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h3>
|
|
7
|
-
{% assign comments = site.data.comments[page.slug] | sort %}
|
|
8
|
-
{% for comment in comments %}
|
|
9
|
-
{% assign email = comment[1].email %}
|
|
10
|
-
{% assign name = comment[1].name %}
|
|
11
|
-
{% assign url = comment[1].url %}
|
|
12
|
-
{% assign date = comment[1].date %}
|
|
13
|
-
{% assign message = comment[1].message %}
|
|
14
|
-
{% include staticman-comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
|
15
|
-
{% endfor %}
|
|
16
|
-
{% endif %}
|
|
17
|
-
</div>
|
|
18
|
-
<!-- End static comments -->
|
|
19
|
-
<!-- Start new comment form -->
|
|
20
|
-
<div class="page__comments-form">
|
|
21
|
-
<h3 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h3>
|
|
22
|
-
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
|
23
|
-
<form id="new_comment" class="page__comments-form js-form form" method="post">
|
|
24
|
-
<div class="form-group">
|
|
25
|
-
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label><br>
|
|
26
|
-
<textarea type="text" rows="12" cols="36" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
|
27
|
-
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="form-group">
|
|
30
|
-
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
|
31
|
-
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
|
|
32
|
-
</div>
|
|
33
|
-
<div class="form-group">
|
|
34
|
-
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
|
|
35
|
-
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
|
|
36
|
-
</div>
|
|
37
|
-
<div class="form-group">
|
|
38
|
-
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
|
39
|
-
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="form-group hidden" style="display: none;">
|
|
42
|
-
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
|
|
43
|
-
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
|
44
|
-
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
|
45
|
-
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
|
|
46
|
-
{% if site.staticman.reCaptcha.siteKey %}<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.staticman.reCaptcha.siteKey }}">{% endif %}
|
|
47
|
-
{% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %}
|
|
48
|
-
</div>
|
|
49
|
-
<!-- Start comment form alert messaging -->
|
|
50
|
-
<p class="hidden js-notice">
|
|
51
|
-
<strong class="js-notice-text-success hidden">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong>
|
|
52
|
-
<strong class="js-notice-text-failure hidden">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong>
|
|
53
|
-
</p>
|
|
54
|
-
<!-- End comment form alert messaging -->
|
|
55
|
-
{% if site.staticman.reCaptcha.siteKey %}
|
|
56
|
-
<div class="form-group">
|
|
57
|
-
<div class="g-recaptcha" data-sitekey="{{ site.staticman.reCaptcha.siteKey }}"></div>
|
|
58
|
-
</div>
|
|
59
|
-
{% endif %}
|
|
60
|
-
<div class="form-group">
|
|
61
|
-
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
|
62
|
-
<button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn--primary btn--large hidden" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button>
|
|
63
|
-
</div>
|
|
64
|
-
</form>
|
|
65
|
-
</div>
|
|
66
|
-
<!-- End new comment form -->
|
|
67
|
-
<!-- Load reCaptcha if site key is set -->
|
|
68
|
-
{% if site.staticman.reCaptcha.siteKey %}
|
|
69
|
-
<script async src="https://www.google.com/recaptcha/api.js"></script>
|
|
70
|
-
{% endif %}
|
|
71
|
-
</div>
|
|
72
|
-
|
|
73
|
-
<!-- Load script to handle comment form submission -->
|
|
74
|
-
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
|
75
|
-
<script>
|
|
76
|
-
if (typeof jQuery == 'undefined') {
|
|
77
|
-
document.write('<script src="{{ "/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>');
|
|
78
|
-
}
|
|
79
|
-
</script>
|
|
80
|
-
<script src="{{ "/js/staticman.js" | relative_url }}"></script>
|
|
81
|
-
{% endif %}
|
package/docs/_layouts/base.html
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
common-css:
|
|
3
|
-
- "/css/bootstrap.min.css"
|
|
4
|
-
- "/css/bootstrap-social.css"
|
|
5
|
-
- "/css/main.css"
|
|
6
|
-
common-ext-css:
|
|
7
|
-
- "//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css"
|
|
8
|
-
common-googlefonts:
|
|
9
|
-
- "Lora:400,700,400italic,700italic"
|
|
10
|
-
- "Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
|
|
11
|
-
common-js:
|
|
12
|
-
- "/js/jquery-1.11.2.min.js"
|
|
13
|
-
- "/js/bootstrap.min.js"
|
|
14
|
-
- "/js/main.js"
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
<!DOCTYPE html>
|
|
18
|
-
<html lang="en">
|
|
19
|
-
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2016 -->
|
|
20
|
-
{% include head.html %}
|
|
21
|
-
|
|
22
|
-
<body>
|
|
23
|
-
|
|
24
|
-
{% include gtm_body.html %}
|
|
25
|
-
|
|
26
|
-
{% include nav.html %}
|
|
27
|
-
|
|
28
|
-
{{ content }}
|
|
29
|
-
|
|
30
|
-
{% include footer.html %}
|
|
31
|
-
|
|
32
|
-
{% include footer-scripts.html %}
|
|
33
|
-
|
|
34
|
-
</body>
|
|
35
|
-
</html>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
common-css:
|
|
3
|
-
- "/css/bootstrap.min.css"
|
|
4
|
-
- "/css/main-minimal.css"
|
|
5
|
-
common-js:
|
|
6
|
-
- "/js/jquery-1.11.2.min.js"
|
|
7
|
-
- "/js/bootstrap.min.js"
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
<!DOCTYPE html>
|
|
11
|
-
<html lang="en">
|
|
12
|
-
|
|
13
|
-
{% include head.html %}
|
|
14
|
-
|
|
15
|
-
<body>
|
|
16
|
-
|
|
17
|
-
<div role="main" class="container main-content">
|
|
18
|
-
{{ content }}
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
{% include footer-minimal.html %}
|
|
22
|
-
|
|
23
|
-
{% include footer-scripts.html %}
|
|
24
|
-
|
|
25
|
-
</body>
|
|
26
|
-
</html>
|
package/docs/_layouts/page.html
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: base
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
{% include header.html type="page" %}
|
|
6
|
-
|
|
7
|
-
<div class="container" role="main">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
10
|
-
|
|
11
|
-
{{ content }}
|
|
12
|
-
{% if page.comments %}
|
|
13
|
-
<div class="disqus-comments">
|
|
14
|
-
{% include disqus.html %}
|
|
15
|
-
</div>
|
|
16
|
-
{% include fb-comment.html %}
|
|
17
|
-
<div class="staticman-comments">
|
|
18
|
-
{% include staticman-comments.html %}
|
|
19
|
-
</div>
|
|
20
|
-
<div class="justcomments-comments">
|
|
21
|
-
{% include just_comments.html %}
|
|
22
|
-
</div>
|
|
23
|
-
{% endif %}
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
package/docs/_layouts/post.html
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: base
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
{% include header.html type="post" %}
|
|
6
|
-
|
|
7
|
-
<div class="container">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
10
|
-
|
|
11
|
-
{% if page.gh-repo %}
|
|
12
|
-
{% assign gh_split = page.gh-repo | split:'/' %}
|
|
13
|
-
{% assign gh_user = gh_split[0] %}
|
|
14
|
-
{% assign gh_repo = gh_split[1] %}
|
|
15
|
-
|
|
16
|
-
<div id="header-gh-btns">
|
|
17
|
-
{% if page.gh-badge.size > 0 %}
|
|
18
|
-
{% for badge in page.gh-badge %}
|
|
19
|
-
{% case badge %}
|
|
20
|
-
{% when 'star'%}
|
|
21
|
-
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&repo={{ gh_repo }}&type=star&count=true" frameborder="0" scrolling="0" width="120px" height="20px"></iframe>
|
|
22
|
-
{% when 'watch'%}
|
|
23
|
-
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&repo={{ gh_repo }}&type=watch&v=2&count=true" frameborder="0" scrolling="0" width="120px" height="20px"></iframe>
|
|
24
|
-
{% when 'fork'%}
|
|
25
|
-
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&repo={{ gh_repo }}&type=fork&count=true" frameborder="0" scrolling="0" width="120px" height="20px"></iframe>
|
|
26
|
-
{% when 'follow'%}
|
|
27
|
-
<iframe src="https://ghbtns.com/github-btn.html?user={{ gh_user }}&type=follow&count=true" frameborder="0" scrolling="0" width="220px" height="20px"></iframe>
|
|
28
|
-
{% endcase %}
|
|
29
|
-
{% endfor %}
|
|
30
|
-
{% endif %}
|
|
31
|
-
</div>
|
|
32
|
-
{% endif %}
|
|
33
|
-
|
|
34
|
-
<article role="main" class="blog-post">
|
|
35
|
-
{{ content }}
|
|
36
|
-
</article>
|
|
37
|
-
|
|
38
|
-
{% if page.tags.size > 0 %}
|
|
39
|
-
<div class="blog-tags">
|
|
40
|
-
Tags:
|
|
41
|
-
{% if site.link-tags %}
|
|
42
|
-
{% for tag in page.tags %}
|
|
43
|
-
<a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
|
|
44
|
-
{% endfor %}
|
|
45
|
-
{% else %}
|
|
46
|
-
{{ page.tags | join: ", " }}
|
|
47
|
-
{% endif %}
|
|
48
|
-
</div>
|
|
49
|
-
{% endif %}
|
|
50
|
-
|
|
51
|
-
{% if page.social-share %}
|
|
52
|
-
{% include social-share.html %}
|
|
53
|
-
{% endif %}
|
|
54
|
-
|
|
55
|
-
<ul class="pager blog-pager">
|
|
56
|
-
{% if page.previous.url %}
|
|
57
|
-
<li class="previous">
|
|
58
|
-
<a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
|
59
|
-
</li>
|
|
60
|
-
{% endif %}
|
|
61
|
-
{% if page.next.url %}
|
|
62
|
-
<li class="next">
|
|
63
|
-
<a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
|
64
|
-
</li>
|
|
65
|
-
{% endif %}
|
|
66
|
-
</ul>
|
|
67
|
-
|
|
68
|
-
{% if page.comments %}
|
|
69
|
-
<div class="disqus-comments">
|
|
70
|
-
{% include disqus.html %}
|
|
71
|
-
</div>
|
|
72
|
-
{% include fb-comment.html %}
|
|
73
|
-
<div class="staticman-comments">
|
|
74
|
-
{% include staticman-comments.html %}
|
|
75
|
-
</div>
|
|
76
|
-
<div class="justcomments-comments">
|
|
77
|
-
{% include just_comments.html %}
|
|
78
|
-
</div>
|
|
79
|
-
{% endif %}
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|