Skip to content

Commit 9e4c847

Browse files
author
Gérard Collin
committed
features: better website
1 parent d475aa5 commit 9e4c847

36 files changed

Lines changed: 784 additions & 0 deletions
Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="generator" content="pandoc" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
7+
<title>ng-xtend - Host application</title>
8+
<style>
9+
/* Default styles provided by pandoc.
10+
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
11+
*/
12+
html {
13+
font-size: 16pt;
14+
color: #D1D5DB;
15+
background-color: #13171F;
16+
}
17+
body {
18+
margin: 0 auto;
19+
max-width: 850px;
20+
padding-left: 50px;
21+
padding-right: 50px;
22+
padding-top: 50px;
23+
padding-bottom: 50px;
24+
hyphens: auto;
25+
overflow-wrap: break-word;
26+
text-rendering: optimizeLegibility;
27+
font-kerning: normal;
28+
}
29+
@media (max-width: 600px) {
30+
body {
31+
font-size: 0.9em;
32+
padding: 12px;
33+
}
34+
h1 {
35+
font-size: 1.8em;
36+
}
37+
}
38+
@media print {
39+
html {
40+
background-color: #13171F;
41+
}
42+
body {
43+
background-color: transparent;
44+
color: black;
45+
font-size: 12pt;
46+
}
47+
p, h2, h3 {
48+
orphans: 3;
49+
widows: 3;
50+
}
51+
h2, h3, h4 {
52+
page-break-after: avoid;
53+
}
54+
}
55+
p {
56+
margin: 1em 0;
57+
}
58+
a {
59+
color: #F43F5E;
60+
}
61+
a:visited {
62+
color: #F43F5E;
63+
}
64+
img {
65+
max-width: 100%;
66+
}
67+
svg {
68+
height: auto;
69+
max-width: 100%;
70+
}
71+
h1, h2, h3, h4, h5, h6 {
72+
margin-top: 1.4em;
73+
}
74+
h5, h6 {
75+
font-size: 1em;
76+
font-style: italic;
77+
}
78+
h6 {
79+
font-weight: normal;
80+
}
81+
ol, ul {
82+
padding-left: 1.7em;
83+
margin-top: 1em;
84+
}
85+
li > ol, li > ul {
86+
margin-top: 0;
87+
}
88+
blockquote {
89+
margin: 1em 0 1em 1.7em;
90+
padding-left: 1em;
91+
border-left: 2px solid #e6e6e6;
92+
color: #606060;
93+
}
94+
code {
95+
white-space: pre-wrap;
96+
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
97+
font-size: 85%;
98+
margin: 0;
99+
hyphens: manual;
100+
}
101+
pre {
102+
margin: 1em 0;
103+
overflow: auto;
104+
}
105+
pre code {
106+
padding: 0;
107+
overflow: visible;
108+
overflow-wrap: normal;
109+
}
110+
.sourceCode {
111+
background-color: transparent;
112+
overflow: visible;
113+
}
114+
hr {
115+
border: none;
116+
border-top: 1px solid #1a1a1a;
117+
height: 1px;
118+
margin: 1em 0;
119+
}
120+
table {
121+
margin: 1em 0;
122+
border-collapse: collapse;
123+
width: 100%;
124+
overflow-x: auto;
125+
display: block;
126+
font-variant-numeric: lining-nums tabular-nums;
127+
}
128+
table caption {
129+
margin-bottom: 0.75em;
130+
}
131+
tbody {
132+
margin-top: 0.5em;
133+
border-top: 1px solid #D1D5DB;
134+
border-bottom: 1px solid #D1D5DB;
135+
}
136+
th {
137+
border-top: 1px solid #D1D5DB;
138+
padding: 0.25em 0.5em 0.25em 0.5em;
139+
}
140+
td {
141+
padding: 0.125em 0.5em 0.25em 0.5em;
142+
}
143+
header {
144+
margin-bottom: 4em;
145+
text-align: center;
146+
}
147+
#TOC li {
148+
list-style: none;
149+
}
150+
#TOC ul {
151+
padding-left: 1.3em;
152+
}
153+
#TOC > ul {
154+
padding-left: 0;
155+
}
156+
#TOC a:not(:hover) {
157+
text-decoration: none;
158+
}
159+
span.smallcaps{font-variant: small-caps;}
160+
div.columns{display: flex; gap: min(4vw, 1.5em);}
161+
div.column{flex: auto; overflow-x: auto;}
162+
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
163+
/* The extra [class] is a hack that increases specificity enough to
164+
override a similar rule in reveal.js */
165+
ul.task-list[class]{list-style: none;}
166+
ul.task-list li input[type="checkbox"] {
167+
font-size: inherit;
168+
width: 0.8em;
169+
margin: 0 0.8em 0.2em -1.6em;
170+
vertical-align: middle;
171+
}
172+
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
173+
</style>
174+
<!-- Matomo -->
175+
<script>
176+
var _paq = window._paq = window._paq || [];
177+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
178+
_paq.push(['trackPageView']);
179+
_paq.push(['enableLinkTracking']);
180+
(function() {
181+
var u="//collinfr.net/matomo/";
182+
_paq.push(['setTrackerUrl', u+'matomo.php']);
183+
_paq.push(['setSiteId', '2']);
184+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
185+
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
186+
})();
187+
</script>
188+
<!-- End Matomo Code -->
189+
</head>
190+
<body>
191+
<figure>
192+
<img
193+
src="https://dont-code.net/assets/images/logos/logo-xtend-angular-red-small.png"
194+
alt="ng-xtend logo" />
195+
<figcaption aria-hidden="true">ng-xtend logo</figcaption>
196+
</figure>
197+
<h1 id="xt-host">xt-host</h1>
198+
<p>A host to run your application developed using the <a
199+
href="https://github.com/dont-code/ng-xtend/blob/main/index.html">ng-xtend
200+
framework</a> It can load Dont-code repository files, get the Dont-code
201+
services url, loads the plugins, loads the project and allow you to edit
202+
the application. This is a replacement of the Dont-code Previewer.</p>
203+
<p>To test it: 1. Run the xt-host application with
204+
<code>ng serve xt-host</code> 2. Go to <a
205+
href="http://localhost:4200">localhost:4200</a> 3. and see it
206+
automatically load and execute the “Coffee Beans Evaluation”
207+
application.</p>
208+
<p><img
209+
src="https://dont-code.net/assets/images/screenshots/xt-host-list-view.png"
210+
alt="List view screenshot" /> <img
211+
src="https://dont-code.net/assets/images/screenshots/xt-host-edit-view.png"
212+
alt="Edit object screenshot" /></p>
213+
<ol start="4" type="1">
214+
<li>You can execute another Dont-code application by adding its name in
215+
the url: [BBQ Sauce tasting]
216+
(http://localhost:4200/?project=BBQ%20Sauce%20tasting)</li>
217+
</ol>
218+
</body>
219+
</html>
39 KB
Loading
67.1 KB
Loading
39.6 KB
Loading
204 KB
Loading
71.2 KB
Loading
125 KB
Loading
289 KB
Loading

0 commit comments

Comments
 (0)