Browse Source

version: 0.0.8 2021-06-23 (Beta) - Bug Suashhing

v0.0.11
John Haverlack 3 years ago
parent
commit
0102b3e548
  1. 4
      package.json
  2. 48
      skqitam-client/index.js
  3. 4
      skqitam-client/package.json
  4. 1
      web/root/docs/versions.md
  5. 2
      web/root/mkdocs.yml
  6. 2
      web/root/site/404.html
  7. 18
      web/root/site/bootstrap.html
  8. 8
      web/root/site/build.html
  9. 2
      web/root/site/charts.html
  10. 11
      web/root/site/cloning.html
  11. 54
      web/root/site/code.html
  12. 2
      web/root/site/contact.html
  13. 5
      web/root/site/editing.html
  14. 11
      web/root/site/equations.html
  15. 5
      web/root/site/footnotes.html
  16. 5
      web/root/site/icons.html
  17. 2
      web/root/site/index.html
  18. 16
      web/root/site/install.html
  19. 2
      web/root/site/license.html
  20. 12
      web/root/site/menu.html
  21. 14
      web/root/site/optional.html
  22. 5
      web/root/site/pdf.html
  23. 4
      web/root/site/search.html
  24. 2
      web/root/site/search/search_index.json
  25. BIN
      web/root/site/sitemap.xml.gz
  26. 4
      web/root/site/swipe.html
  27. 11
      web/root/site/test.html
  28. 5
      web/root/site/version.html
  29. 3
      web/root/site/versions.html

4
package.json

@ -1,7 +1,7 @@
{
"name": "skq-it-am",
"version": "0.0.7",
"version_date": "2021-06-22",
"version": "0.0.8",
"version_date": "2021-06-23",
"description": "Sikuliaq IT Asset Manager",
"copyright": "University of Alaska Fairbanks - College of Fisheries and Ocean Science - R/V Sikuliaq",
"main": "index.js",

48
skqitam-client/index.js

@ -376,6 +376,46 @@ switch (process['CONFIG']['LOCAL']['OS']['PLATFORM']) {
process.exit(1)
}
am_data['SOURCE']['OS_INSTALL_DATE'] = ''
switch (sw_source_map[ process['CONFIG']['LOCAL']['OS']['DISTRO'] ]) {
case 'DEB':
try {
let stat_varloginst = fs.lstatSync(path.join('/var','log','installer'))
console.log(JSON.stringify(stat_varloginst, null, 2));
am_data['SOURCE']['OS_INSTALL_DATE'] = stat_varloginst['Modify']
} catch (e) {
// Do Nothing
}
break;
case 'RPM':
for (rpm in am_data['SOURCE']['SW']['RPM']) {
if (am_data['SOURCE']['SW']['RPM'][rpm]['Name'] == 'basesystem') {
if (am_data['SOURCE']['SW']['RPM'][rpm].hasOwnProperty('InstallDate')) {
am_data['SOURCE']['OS_INSTALL_DATE'] = am_data['SOURCE']['SW']['RPM'][rpm]['InstallDate']
}
}
}
break;
case 'SYSTEM_PROFILER':
try {
let install_log_lines = String(fs.readFileSync(path.join('/var','log','install.log'), 'utf8')).split(/\n/)
let regx_install_log = RegExp(/^(\S+)/)
if (ilmch = install_log_lines[0].match(regx_install_log)) {
am_data['SOURCE']['OS_INSTALL_DATE'] = ilmch[1]
}
} catch (e) {
// Do Nothing
}
break;
case 'GET_ITEMPROPERTY':
if (am_data['SOURCE'].hasOwnProperty('SYSTEMINFO')) {
am_data['SOURCE']['OS_INSTALL_DATE'] = am_data['SOURCE']['SYSTEMINFO']['Original Install Date']
}
break;
}
ts = tell_time()
am_data['ITAM']['ENDTIME'] = ts['UTC']['ISO8601']
am_data['ITAM']['ELAPSED_SEC'] = (Number(ts['UTC']['EPOCH']) - starttime)
@ -401,6 +441,7 @@ function rpm_list_to_json(rpm_list) {
let rpm_info_regx1 = RegExp(/^(\S+\s\S+)\s+:\s+(\S+.*\S+)\s+(\S+\s\S+):\s+(\S.*)/)
let rpm_info_regx2 = RegExp(/^(\S.*\S)\s+:\s+(\S.*\S+)\s+(\S.*\S):\s+(\S.*)/)
let rpm_info_regx3 = RegExp(/^(\S.*\S)\s+:\s+(\S.*)/)
let rpm_info_regx4 = RegExp(/^(\S.*\S):\s+(\S.*)/)
for (l in lines) {
if (lines[l]) {
@ -417,6 +458,10 @@ function rpm_list_to_json(rpm_list) {
pkg[ mch[3].replace(/\s+/, '') ] = mch[4]
} else if (mch = rpm_info_lines[rl].match(rpm_info_regx3)) {
pkg[ mch[1].replace(/\s+/, '') ] = mch[2]
} else if (mch = rpm_info_lines[rl].match(rpm_info_regx4)) {
pkg[ mch[1].replace(/\s+/, '') ] = mch[2]
} else {
// console.log('WARNING: Could not parse RPM package info for ' + lines[l] + "\n" + rpm_info_lines[rl])
}
}
json_obj.push(pkg)
@ -546,6 +591,9 @@ function apt_history_to_json() {
case 'Requested-By':
// Do Nothing
break;
case 'Purge':
// Do Nothing
break;
case 'Install':
pkg_list = apt_history_event[ Object.keys(apt_history_event)[k] ].split('), ')
// console.log(JSON.stringify(pkg_list, null, 2))

4
skqitam-client/package.json

@ -1,7 +1,7 @@
{
"name": "skqitam-client",
"version": "0.0.7",
"version_date": "2021-06-22",
"version": "0.0.8",
"version_date": "2021-06-23",
"description": "Sikuliaq IT Asset Manager Client Data Collector",
"copyright": "University of Alaska Fairbanks - College of Fisheries and Ocean Science - R/V Sikuliaq",
"main": "skqitam-client.js",

1
web/root/docs/versions.md

@ -1,5 +1,6 @@
## Change Log
- 0.0.8 2021-06-23 - Data Reporting and Charting
- 0.0.7 2021-06-22 - Win7 Client support (pre-production beta release)
- 0.0.6 2021-06-21 - Adding Win7 Client and dmidecode support
- 0.0.5 2021-06-17 - Beta Release - Testing on Sikuliaq

2
web/root/mkdocs.yml

@ -5,7 +5,7 @@ copyright: <p class="small">Copyright &copy; 2021 <a target="_blank" href="https
use_directory_urls: false
extra:
version: 0.0.7 2021-06-22 (Beta)
version: 0.0.8 2021-06-23 (Beta)
repo_url: https://github.alaska.edu/skq/skq-it-am.git
repo_name: <span class="fab fa-git-square"></span>

2
web/root/site/404.html

@ -139,7 +139,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

18
web/root/site/bootstrap.html

@ -125,7 +125,7 @@
</ul>
<h3 id="examples">Examples</h3>
<h5 id="alerts">Alerts</h5>
<pre><code class="language-markdown">&lt;div class=&quot;alert alert-primary&quot; role=&quot;alert&quot;&gt;
<pre><code class="markdown">&lt;div class=&quot;alert alert-primary&quot; role=&quot;alert&quot;&gt;
This is a primary alert—check it out!
&lt;/div&gt;
&lt;div class=&quot;alert alert-secondary&quot; role=&quot;alert&quot;&gt;
@ -150,33 +150,41 @@
This is a dark alert—check it out!
&lt;/div&gt;
</code></pre>
<div class="alert alert-primary" role="alert">
This is a primary alert—check it out!
</div>
<div class="alert alert-secondary" role="alert">
This is a secondary alert—check it out!
</div>
<div class="alert alert-success" role="alert">
This is a success alert—check it out!
</div>
<div class="alert alert-danger" role="alert">
This is a danger alert—check it out!
</div>
<div class="alert alert-warning" role="alert">
This is a warning alert—check it out!
</div>
<div class="alert alert-info" role="alert">
This is a info alert—check it out!
</div>
<div class="alert alert-light" role="alert">
This is a light alert—check it out!
</div>
<div class="alert alert-dark" role="alert">
This is a dark alert—check it out!
</div>
<h5 id="buttons">Buttons</h5>
<pre><code class="language-markdown">&lt;button type=&quot;button&quot; class=&quot;btn btn-primary&quot;&gt;Primary&lt;/button&gt;
<pre><code class="markdown">&lt;button type=&quot;button&quot; class=&quot;btn btn-primary&quot;&gt;Primary&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-secondary&quot;&gt;Secondary&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-success&quot;&gt;Success&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-danger&quot;&gt;Danger&lt;/button&gt;
@ -186,6 +194,7 @@
&lt;button type=&quot;button&quot; class=&quot;btn btn-dark&quot;&gt;Dark&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-link&quot;&gt;Link&lt;/button&gt;
</code></pre>
<p><button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
@ -197,8 +206,9 @@
<button type="button" class="btn btn-link">Link</button></p>
<h6 id="link-buttons">Link Buttons</h6>
<p>You can also turn HTML Links into Buttons</p>
<pre><code class="language-markdown">&lt;a class=&quot;btn btn-primary&quot; href=&quot;&quot;&gt;HTML Link&lt;/a&gt;
<pre><code class="markdown">&lt;a class=&quot;btn btn-primary&quot; href=&quot;&quot;&gt;HTML Link&lt;/a&gt;
</code></pre>
<p><a class="btn btn-primary" href="">HTML Link</a></p></div>
</div>
</div>
@ -216,7 +226,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

8
web/root/site/build.html

@ -118,15 +118,17 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="building-the-website">Building the Website</h2>
<pre><code class="language-bash">[$] cd skq-mkdocs-templates
<pre><code class="bash">[$] cd skq-mkdocs-templates
</code></pre>
<p>To rebuild a clean HTML <code>site</code> directory run <code>mkdocs build --clean</code></p>
<pre><code class="language-bash">[$] mkdocs build --clean
<pre><code class="bash">[$] mkdocs build --clean
WARNING - Config value: 'version'. Warning: Unrecognised configuration name: version
PDF export is disabled (set environment variable ENABLE_PDF_EXPORT to 1 to enable)
INFO - Cleaning site directory
INFO - Building documentation to directory: /home/jehaverlack/Devel/Sikuliaq/docs/skq-mkdocs-template/site
</code></pre>
<div class="alert alert-info">
Each time you edit the site source content files you will need to run the <code>mkdocs build --clean</code> command to rebuild the <code>site</code> directory and test your edits.
</div>
@ -149,7 +151,7 @@ Each time you edit the site source content files you will need to run the <code>
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

2
web/root/site/charts.html

@ -145,7 +145,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

11
web/root/site/cloning.html

@ -123,18 +123,21 @@ A UA Github (<a href="https://github.alaska.edu">https://github.alaska.edu</a>)
</div>
<h4 id="git-clone">Git clone</h4>
<pre><code class="language-bash">git clone https://github.alaska.edu/skq/skq-mkdocs-template.git
<pre><code class="bash">git clone https://github.alaska.edu/skq/skq-mkdocs-template.git
</code></pre>
<h4 id="download-zip">Download Zip</h4>
<p>Or <a href="https://github.alaska.edu/skq/skq-mkdocs-template/archive/master.zip">download as a zip</a> file.</p>
<h3 id="shipside-git-repository">Shipside Git Repository</h3>
<p>No login required</p>
<h4 id="git-clone_1">Git clone</h4>
<pre><code class="language-bash">git clone https://git.sikuliaq.alaska.edu/scm/git/skq/skq-mkdocs-template
<pre><code class="bash">git clone https://git.sikuliaq.alaska.edu/scm/git/skq/skq-mkdocs-template
</code></pre>
<h3 id="files-and-directories">Files and Directories</h3>
<pre><code class="language-bash">cd skq-mkdocs-templates
<pre><code class="bash">cd skq-mkdocs-templates
</code></pre>
<h4 id="inputs">Inputs</h4>
<ul>
<li><strong>mkdocs.yml</strong> - master Configuration File</li>
@ -163,7 +166,7 @@ A UA Github (<a href="https://github.alaska.edu">https://github.alaska.edu</a>)
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

54
web/root/site/code.html

@ -123,82 +123,88 @@
</div>
<h3 id="plain-text">Plain Text</h3>
<pre><code class="language-plaintext">Hello World
<pre><code class="plaintext">Hello World
</code></pre>
<h3 id="html">HTML</h3>
<pre><code class="language-html">&lt;h2&gt;Hello World&lt;/h2&gt;
<pre><code class="html">&lt;h2&gt;Hello World&lt;/h2&gt;
</code></pre>
<h3 id="javascript">JavaScript</h3>
<pre><code class="language-javascript">console.log(&quot;Hello World&quot;)
<pre><code class="javascript">console.log(&quot;Hello World&quot;)
</code></pre>
<h3 id="css">CSS</h3>
<pre><code class="language-css">.helloworld {
<pre><code class="css">.helloworld {
color: #567;
}
</code></pre>
<h3 id="markdown">Markdown</h3>
<pre><code class="language-markdown">## Hello World
<pre><code class="markdown">## Hello World
</code></pre>
<h3 id="bash">Bash</h3>
<pre><code class="language-bash">#!/bin/bash
<pre><code class="bash">#!/bin/bash
echo &quot;Hello World&quot;
</code></pre>
<h3 id="json">JSON</h3>
<pre><code class="language-json">{
<pre><code class="json">{
&quot;Hello&quot;:&quot;World&quot;
}
</code></pre>
<hr />
<h4 id="marddown-code-highlight-source">Marddown Code Highlight Source</h4>
<div class="alert alert-warning">
<pre><code class="markdown">
### Plain Text
&#96;&#96;&#96; {.plaintext}
&#96&#96&#96 {.plaintext}
Hello World
&#96;&#96;&#96;
&#96&#96&#96
### HTML
&#96;&#96;&#96; {.html}
&#60;h2&#62;Hello World&#60;/h2&#62;
&#96;&#96;&#96;
&#96&#96&#96 {.html}
&#60h2&#62Hello World&#60/h2&#62
&#96&#96&#96
### JavaScript
&#96;&#96;&#96; {.javascript}
&#96&#96&#96 {.javascript}
console.log("Hello World")
&#96;&#96;&#96;
&#96&#96&#96
### CSS
&#96;&#96;&#96; {.css}
&#96&#96&#96 {.css}
.helloworld {
color: #567;
}
&#96;&#96;&#96;
&#96&#96&#96
### Markdown
&#96;&#96;&#96; {.markdown}
&#96&#96&#96 {.markdown}
## Hello World
&#96;&#96;&#96;
&#96&#96&#96
### Bash
&#96;&#96;&#96; {.bash}
&#96&#96&#96 {.bash}
#!/bin/bash
echo "Hello World"
&#96;&#96;&#96;
&#96&#96&#96
### JSON
&#96;&#96;&#96; {.json}
&#96&#96&#96 {.json}
{
"Hello":"World"
}
&#96;&#96;&#96;
&#96&#96&#96
</code></pre>
</div></div>
</div>
@ -217,7 +223,7 @@ echo "Hello World"
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

2
web/root/site/contact.html

@ -148,7 +148,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

5
web/root/site/editing.html

@ -130,7 +130,7 @@
To modify the navigation menu find the following section in <code>mkdocs.yml</code>. NOTE the <b>top level nav menu</b> items such as <b>Setup</b>, <b>Features</b>, and <b>About</b>. And the paged under each top level nav item.
</div>
<pre><code class="language-yml">nav:
<pre><code class="yml">nav:
- &lt;span class=&quot;fas fa-home&quot;&gt;&lt;/span&gt;: index.md
- Setup:
- Install: install.md
@ -153,6 +153,7 @@
- About:
- Contact: contact.md
</code></pre>
<div class="alert alert-info">
See how the HTML renders a <a target="_blank" href="https://getbootstrap.com/docs/3.3/components/#navbar-default">Bootstrap</a> menu.
</div>
@ -186,7 +187,7 @@ Markdown files can contain inline HTML, or pure Markdown code.
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

11
web/root/site/equations.html

@ -125,16 +125,18 @@ Markdown supports inline [LaTeX](https://en.wikipedia.org/wiki/LaTeX) equations
<h4 id="inline-equations">Inline Equations</h4>
<p>Inline LaTeX starts and ends with <code>\(</code> LaTex Code <code>\)</code></p>
<h5 id="code">Code</h5>
<pre><code class="language-latex">The square root of 2 is \(\sqrt{2} = 1.141421....\).
<pre><code class="latex">The square root of 2 is \(\sqrt{2} = 1.141421....\).
</code></pre>
<p>The square root of 2 is <script type="math/tex">\sqrt{2} = 1.141421....</script>.</p>
<hr />
<h4 id="centered-equations">Centered Equations</h4>
<p>To center an equation on the page use:</p>
<p><code>\[</code> LaTex Code <code>\]</code></p>
<h5 id="code_1">Code</h5>
<pre><code class="language-latex">\[\sqrt{2} = 1.141421....\]
<pre><code class="latex">\[\sqrt{2} = 1.141421....\]
</code></pre>
<p>
<script type="math/tex; mode=display">\sqrt{2} = 1.141421....</script>
</p>
@ -143,8 +145,9 @@ Markdown supports inline [LaTeX](https://en.wikipedia.org/wiki/LaTeX) equations
<p>To left justify an equation use:</p>
<p><code>\(</code> LaTex Code <code>\)</code></p>
<h5 id="code_2">Code</h5>
<pre><code class="language-latex">\(\sqrt{2} = 1.141421....\)
<pre><code class="latex">\(\sqrt{2} = 1.141421....\)
</code></pre>
<p>
<script type="math/tex">\sqrt{2} = 1.141421....</script>
</p>
@ -219,7 +222,7 @@ Markdown supports inline [LaTeX](https://en.wikipedia.org/wiki/LaTeX) equations
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

5
web/root/site/footnotes.html

@ -119,12 +119,13 @@
<h2 id="footnotes">Footnotes</h2>
<p>To use the footnotes plugin <sup id="fnref:1"><a class="footnote-ref" href="#fn:1">1</a></sup>, simply include <code>[^footnoteid]</code> inline in your text, and <code>[^footnoteid]:</code> at the end of your markdown file. Also be sure to enable the footnote plugin in your <code>mkdocs.yml</code> file.</p>
<pre><code class="language-markdown">To use the footnotes plugin [^1], simply include ...
<pre><code class="markdown">To use the footnotes plugin [^1], simply include ...
...
[^1]: [Footnotes Plugin](https://www.markdownguide.org/extended-syntax#footnotes)
</code></pre>
<div class="footnote">
<hr />
<ol>
@ -149,7 +150,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

5
web/root/site/icons.html

@ -132,6 +132,7 @@
<p>To use an FA Icon, embed it as a <code>&lt;span&gt;</code> element with the appropriate class.</p>
<pre><code>&lt;span class=&quot;fas fa-user&quot;&gt;&lt;/span&gt;
</code></pre>
<p><span class="fas fa-user"></span></p>
<h4 id="example-1">Example 1</h4>
<p>Search for <strong><em>question</em></strong> on the <a href="https://fontawesome.com/icons?d=gallery&amp;s=brands,regular,solid&amp;m=free">Font Awesome</a> icon page. You will see 3 search interesting results:
@ -143,6 +144,7 @@
- &lt;span class=&quot;fas fa-question-circle&quot;&gt;&lt;/span&gt; Solid Question Circle
- &lt;span class=&quot;far fa-question-circle&quot;&gt;&lt;/span&gt; Regular Question Circle
</code></pre>
<ul>
<li><span class="fas fa-question"></span> Solid Question Mark</li>
<li><span class="fas fa-question-circle"></span> Solid Question Circle</li>
@ -154,6 +156,7 @@
- &lt;span class=&quot;fab fa-apple&quot;&gt;&lt;/span&gt; Mac
- &lt;span class=&quot;fab fa-windows&quot;&gt;&lt;/span&gt; Windows
</code></pre>
<ul>
<li><span class="fab fa-linux"></span> Linux</li>
<li><span class="fab fa-apple"></span> Mac</li>
@ -175,7 +178,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

2
web/root/site/index.html

@ -192,7 +192,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

16
web/root/site/install.html

@ -118,10 +118,9 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="installing-requirements">Installing Requirements</h2>
<div class="alert alert-info">
<p><div class="alert alert-info">
The following tools can be installed and used cross platform on <b>Windows</b>, <b>Mac</b> and <b>Linux</b> computers to build <b>MkDocs</b> websites.
</div>
</div></p>
<div class="alert alert-warning">
You may need to adapt the following notes for you operating system platform.
</div>
@ -132,12 +131,13 @@
<li><a href="https://www.python.org/">Python</a> Version 3 recommended</li>
</ul>
<h5 id="testing-python-version">Testing Python Version</h5>
<pre><code class="language-bash">[$] python3 --version
<pre><code class="bash">[$] python3 --version
Python 3.6.8
[$] pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
</code></pre>
<h3 id="mkdocs">MkDocs</h3>
<ul>
<li><a href="https://www.mkdocs.org/">MkDocs</a> Website</li>
@ -147,16 +147,18 @@ pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
</div>
<h4 id="installing-mkdocs-and-common-plugins">Installing MkDocs and common plugins</h4>
<pre><code class="language-bash">sudo pip install mkdocs
<pre><code class="bash">sudo pip install mkdocs
sudo pip install mkdocs-pdf-export-plugin
sudo pip install mkdocs-bootstrap
sudo pip install python-markdown-math
sudo pip install https://github.com/mitya57/python-markdown-math/archive/master.zip
</code></pre>
<h5 id="testing-mkdocs-version">Testing MkDocs Version</h5>
<pre><code class="language-bash">[$] mkdocs --version
<pre><code class="bash">[$] mkdocs --version
mkdocs, version 1.1 from /usr/local/lib/python3.6/site-packages/mkdocs (Python 3.6)
</code></pre>
<p>For windows you can omit <code>sudo</code> in the above commands.</p>
<div class="alert alert-warning">
NOTE: You will need MkDocs version 1.1 to work with this template. If you have an older version try upgrading with:
@ -190,7 +192,7 @@ mkdocs, version 1.1 from /usr/local/lib/python3.6/site-packages/mkdocs (Python 3
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

2
web/root/site/license.html

@ -152,7 +152,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

12
web/root/site/menu.html

@ -118,12 +118,11 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="menu-navigation">Menu navigation</h2>
<p>As described on the <a href="editing.html">Editing</a> page</p>
<p>As described on the <a href="editing.html">Editing</a> page
<div class="alert alert-info">
To modify the navigation menu find the following section in <code>mkdocs.yml</code>.
</div>
<pre><code class="language-yml">nav:
</div></p>
<pre><code class="yml">nav:
- &lt;span class=&quot;fas fa-home&quot;&gt;&lt;/span&gt;: index.md
- Setup:
- Install: install.md
@ -134,11 +133,12 @@
- Swipe Nav: swipe.md
-...
</code></pre>
<div class="alert alert-info">
However both top and sub nav menu items can also be both Markdown or URL links. For example:
</div>
<pre><code class="language-yml">nav:
<pre><code class="yml">nav:
- Home: index.md
- Sikuliaq: https://www.sikuliaq.alaska.edu
- UAF:
@ -161,7 +161,7 @@ However both top and sub nav menu items can also be both Markdown or URL links.
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

14
web/root/site/optional.html

@ -119,31 +119,35 @@
<h2 id="optional-recommended-tools">Optional Recommended Tools</h2>
<p>MkDocs provides a test webserver that can be used to test the static HTML website.</p>
<pre><code class="language-bash">mkdocs serve
<pre><code class="bash">mkdocs serve
</code></pre>
<p>However you might prefer the Node.js http-server for this purpose.</p>
<h3 id="nodejs">Node.js</h3>
<ul>
<li><a href="https://nodejs.org/en/">Node.js</a></li>
</ul>
<h5 id="or-via-nvm-no-admin-privs-needed">or via <a href="https://github.com/nvm-sh/nvm#installing-and-updating">NVM</a> (No Admin Privs Needed)</h5>
<pre><code class="language-bash">curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
<pre><code class="bash">curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
nvm install --lts
</code></pre>
<pre><code class="language-bash">[$] node --version
<pre><code class="bash">[$] node --version
v12.14.1
[$] npm --version
6.13.4
</code></pre>
<h3 id="http-server">http-server</h3>
<p>(Requires Node.js)</p>
<ul>
<li><a href="https://github.com/http-party/http-server#readme">http-server</a></li>
</ul>
<pre><code class="language-bash">npm install --global http-server
<pre><code class="bash">npm install --global http-server
</code></pre>
<h3 id="atom-editor">Atom Editor</h3>
<ul>
<li><a href="https://atom.io/">https://atom.io/</a></li>
@ -172,7 +176,7 @@ v12.14.1
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

5
web/root/site/pdf.html

@ -124,13 +124,14 @@
</ul>
<h4 id="enable-the-plugin">Enable the Plugin</h4>
<p>In your <code>mkdocs.yml</code> Config File</p>
<pre><code class="language-yml">plugins:
<pre><code class="yml">plugins:
- pdf-export:
verbose: true
media_type: print
combined: true
combined_output_path: pdf/skq-docs.pdf
</code></pre>
<div class="alert alert-warning">
Not all HTML code renders well as PDF.
</div>
@ -154,7 +155,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

4
web/root/site/search.html

@ -126,7 +126,7 @@
To enable site <b>Search</b> add the <code>- search</code> to the <code>mkdocs.yml</code> plugins section.
</div>
<pre><code class="language-yml">plugins:
<pre><code class="yml">plugins:
- search
</code></pre></div>
</div>
@ -145,7 +145,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

2
web/root/site/search/search_index.json
File diff suppressed because it is too large
View File

BIN
web/root/site/sitemap.xml.gz

4
web/root/site/swipe.html

@ -128,7 +128,7 @@ Swipe navigation is not a feature of MkDocs but is a custom modification include
<h3 id="customjsswipenavjs">custom/js/swipenav.js</h3>
<p>For details see the following JavaScript code.</p>
<pre><code class="language-javascript">var links = document.getElementsByTagName(&quot;a&quot;);
<pre><code class="javascript">var links = document.getElementsByTagName(&quot;a&quot;);
for (l in links) {
if (String(links[l].innerHTML).match(/fa-arrow-left.*Previous/)) {
@ -171,7 +171,7 @@ $(&quot;body&quot;).on('swiperight', function(e) {
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

11
web/root/site/test.html

@ -118,8 +118,9 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="testing-the-site">Testing the Site</h2>
<pre><code class="language-bash">[$] cd skq-mkdocs-templates
<pre><code class="bash">[$] cd skq-mkdocs-templates
</code></pre>
<div class="alert alert-info">
There is more than one way to test a mkdocs website.
</div>
@ -133,7 +134,7 @@ There is more than one way to test a mkdocs website.
</div>
<h3 id="run-the-mkdocs-serve-test-server">Run the <code>mkdocs serve</code> test server</h3>
<pre><code class="language-bash">[$] mkdocs serve
<pre><code class="bash">[$] mkdocs serve
INFO - Building documentation...
PDF export is disabled (set environment variable ENABLE_PDF_EXPORT to 1 to enable)
INFO - Cleaning site directory
@ -142,6 +143,7 @@ INFO - Cleaning site directory
[I 200208 15:58:49 handlers:64] Start detecting changes
[I 200208 15:59:08 handlers:135] Browser Connected: http://127.0.0.1:8000/
</code></pre>
<ul>
<li>Point your browser to: <a href="http://127.0.0.1:8000">http://127.0.0.1:8000</a></li>
</ul>
@ -151,13 +153,14 @@ INFO - Cleaning site directory
</ul>
<h3 id="run-the-http-server-test-server">Run the <code>http-server</code> test server</h3>
<p>See: <a href="optional.html">Optional Tools</a> to install.</p>
<pre><code class="language-bash">[$ skq-mkdocs-template] http-server site
<pre><code class="bash">[$ skq-mkdocs-template] http-server site
Starting up http-server, serving site
Available on:
http://127.0.0.1:8080
http://10.1.0.242:8080
Hit CTRL-C to stop the server
</code></pre>
<p>Point your browser to:</p>
<ul>
<li><a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a></li>
@ -186,7 +189,7 @@ In modern web browsers (Firefox, Chrome, etc) you can right click in the backgro
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

5
web/root/site/version.html

@ -122,9 +122,10 @@
A custom site <b>version</b> date has been added to the <code>mkdocs.yml</code> configuration file.
</div>
<pre><code class="language-yml">extra:
<pre><code class="yml">extra:
version: 2020-02-08
</code></pre>
<p>The <strong>Version</strong> is rendered in the footer of all MkDocs site page.</p>
<p><a href="img/Version.png"><img src="img/Version.png" class="img-responsive img-rounded" style="width: 600px;" alt="MenuNaV" ></a></p></div>
</div>
@ -143,7 +144,7 @@ A custom site <b>version</b> date has been added to the <code>mkdocs.yml</code>
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

3
web/root/site/versions.html

@ -129,6 +129,7 @@
<h2 id="change-log">Change Log</h2>
<ul>
<li>0.0.8 2021-06-23 - Data Reporting and Charting</li>
<li>0.0.7 2021-06-22 - Win7 Client support (pre-production beta release)</li>
<li>0.0.6 2021-06-21 - Adding Win7 Client and dmidecode support</li>
<li>0.0.5 2021-06-17 - Beta Release - Testing on Sikuliaq</li>
@ -153,7 +154,7 @@
<p class="small"><p class="small">Copyright &copy; 2021 <a target="_blank" href="https://www.uaf.edu">University of Alaska Fairbanks</a> <a target="_blank" href="https://www.uaf.edu/cfos">College of Fisheries and Ocean Sciences</a> - <a target="_blank" href="https://www.sikuliaq.alaska.edu"><i>R/V Sikuliaq</i></a></p></p>
<p class="small">For questions or comments regarding this page, contact <a href="mailto:uaf-skq-science-support@alaska.edu">uaf-skq-science-support@alaska.edu</a></p>
<p class="small">Version: 0.0.7 2021-06-22 (Beta)</p>
<p class="small">Version: 0.0.8 2021-06-23 (Beta)</p>
<p class="small">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>

Loading…
Cancel
Save