Browse Source

Testing Charts.js

v0.0.11
John Haverlack 3 years ago
parent
commit
8a62375f8d
  1. 2
      config/skqitam-server-config.json
  2. 130
      index.js
  3. 7
      package-lock.json
  4. 1
      package.json
  5. 3
      web/root/docs/charts.md
  6. 10344
      web/root/docs/js/chart.esm.js
  7. 12935
      web/root/docs/js/chart.js
  8. 13
      web/root/docs/js/chart.min.js
  9. 2457
      web/root/docs/js/chunks/helpers.segment.js
  10. 7
      web/root/docs/js/helpers.esm.js
  11. 40
      web/root/docs/js/skq-it-am.js
  12. 2
      web/root/mkdocs.yml
  13. 4
      web/root/site/404.html
  14. 20
      web/root/site/bootstrap.html
  15. 10
      web/root/site/build.html
  16. 245
      web/root/site/charts.html
  17. 13
      web/root/site/cloning.html
  18. 56
      web/root/site/code.html
  19. 6
      web/root/site/contact.html
  20. 7
      web/root/site/editing.html
  21. 13
      web/root/site/equations.html
  22. 7
      web/root/site/footnotes.html
  23. 7
      web/root/site/icons.html
  24. 6
      web/root/site/index.html
  25. 18
      web/root/site/install.html
  26. 10344
      web/root/site/js/chart.esm.js
  27. 12935
      web/root/site/js/chart.js
  28. 13
      web/root/site/js/chart.min.js
  29. 2457
      web/root/site/js/chunks/helpers.segment.js
  30. 7
      web/root/site/js/helpers.esm.js
  31. 40
      web/root/site/js/skq-it-am.js
  32. 4
      web/root/site/license.html
  33. 14
      web/root/site/menu.html
  34. 16
      web/root/site/optional.html
  35. 7
      web/root/site/pdf.html
  36. 6
      web/root/site/search.html
  37. 2
      web/root/site/search/search_index.json
  38. 4
      web/root/site/sitemap.xml
  39. BIN
      web/root/site/sitemap.xml.gz
  40. 6
      web/root/site/swipe.html
  41. 13
      web/root/site/test.html
  42. 7
      web/root/site/version.html
  43. 4
      web/root/site/versions.html

2
config/skqitam-server-config.json

@ -3,6 +3,8 @@
"WEBUI_PORT":8411,
"RUN_AS_ADMIN":false,
"ITAM_DATA_DIR":"itam-data",
"ITAM_HOSTMAP":"itam-data/host_id_map.json",
"ITAM_INDEX":"itam-data/data_index.json",
"WEBUI_ROOT":{
"WEB_ROOT_DIR":"web/root/site"
},

130
index.js

@ -12,7 +12,7 @@ process['CONFIG'] = JSON.parse(fs.readFileSync(path.join(__dirname, 'config','sk
process['CONFIG']['GLOBAL']['RUN_DIR'] = __dirname
process['CONFIG']['LOCAL']= skqlib.it_am_init()
console.log(JSON.stringify(process['CONFIG'], null, 2))
// console.log(JSON.stringify(process['CONFIG'], null, 2))
// Generate Client Archive
console.log ('INFO: Generating: ' + path.join(__dirname, 'download', 'skqitam-client.tgz'))
@ -48,64 +48,42 @@ archive.finalize()
// Windows 7 Installers
try {
fs.mkdirSync(path.join(__dirname, 'download', 'win7-x64-installer'), { recursive: true })
// try {
// // let stat_before = fs.lstatSync(path.join(__dirname, 'nodejs', 'node-v8.17.0-win-x64.zip'))
// fs.copyFileSync(path.join(__dirname, 'nodejs', 'node-v8.17.0-win-x64.zip'), path.join(__dirname, 'download', 'win7-x64-installer', 'node-v8.17.0-win-x64.zip'))
// // stat_after = fs.lstatSync(path.join(__dirname, 'download', 'win7-x64-installer', 'node-v8.17.0-win-x64.zip'))
// // console.log("BEFORE: " + JSON.stringify(stat_before, null, 2))
// // console.log("AFTER: " + JSON.stringify(stat_after, null, 2))
// try {
// fs.copyFileSync(path.join(__dirname, 'download', 'skqitam-client.zip'), path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-client.zip'))
// // stat_before = fs.lstatSync(path.join(__dirname, 'download', 'skqitam-client.zip'))
// // stat_after = fs.lstatSync(path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-client.zip'))
// // console.log("COPY FROM: " + path.join(__dirname, 'download', 'skqitam-client.zip') + " TO " + path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-client.zip') )
// // console.log("BEFORE: " + JSON.stringify(stat_before, null, 2))
// // console.log("AFTER: " + JSON.stringify(stat_after, null, 2))
// let skqitam_setup_win7_bat = ''
let skqitam_setup_win7_bat = 'PowerShell.exe -ExecutionPolicy Unrestricted -command "%homedrive%%homepath%\\Downloads\\skqitam-client-win7-installer\\skqitam-setup-win7.ps1 http://' + process['CONFIG']['LOCAL']['HOST']['NETWORK']['IP_ADDR']['IPv4'][0] + ':' + process['CONFIG']['GLOBAL']['WEBUI_PORT']
try {
fs.copyFileSync(path.join(__dirname, 'download', 'skqitam-setup-win7.ps1'), path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-setup-win7.ps1'))
try {
fs.writeFileSync(path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-setup-win7.bat'), skqitam_setup_win7_bat, 'utf8')
// fs.copyFileSync(path.join(__dirname, 'download', 'skqitam-setup-win7.bat'), path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-setup-win7.bat'))
console.log ('INFO: Generating: ' + path.join(__dirname, 'download', 'skqitam-client-win7-installer.zip') + "\n")
const w7x64_ziparch = fs.createWriteStream(path.join(__dirname, 'download', 'skqitam-client-win7-installer.zip'))
const w7x64_archive = archiver('zip', {
zlib: { level: 9 } // Sets the compression level.
})
w7x64_archive.on('warning', function(err) {
if (err.code === 'ENOENT') {
// log warning
} else {
// throw error
throw err;
}
})
w7x64_archive.pipe(w7x64_ziparch)
// w7x64_archive.directory(path.join('download', 'win7-x64-installer'), 'win7-x64-installer');
w7x64_archive.directory(path.join('download', 'win7-x64-installer'), false);
w7x64_archive.finalize()
} catch (e) {
console.log ('ERROR: Could not copy: '+ path.join(__dirname, 'download', 'skqitam-setup-win7.bat'))
process.exit(1)
}
} catch (e) {
console.log ('ERROR: Could not copy: '+ path.join(__dirname, 'download', 'skqitam-setup-win7.ps1'))
process.exit(1)
}
// } catch (e) {
// console.log ('ERROR: Could not copy: '+ path.join(__dirname, 'nodejs', 'node-v8.17.0-win-x64.zip'))
// process.exit(1)
// }
// } catch (e) {
// console.log ('ERROR: Could not copy: '+ path.join(__dirname, 'download', 'skqitam-client.zip'))
// process.exit(1)
// }
let skqitam_setup_win7_bat = 'PowerShell.exe -ExecutionPolicy Unrestricted -command "%homedrive%%homepath%\\Downloads\\skqitam-client-win7-installer\\skqitam-setup-win7.ps1 http://' + process['CONFIG']['LOCAL']['HOST']['NETWORK']['IP_ADDR']['IPv4'][0] + ':' + process['CONFIG']['GLOBAL']['WEBUI_PORT']
try {
fs.copyFileSync(path.join(__dirname, 'download', 'skqitam-setup-win7.ps1'), path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-setup-win7.ps1'))
try {
fs.writeFileSync(path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-setup-win7.bat'), skqitam_setup_win7_bat, 'utf8')
// fs.copyFileSync(path.join(__dirname, 'download', 'skqitam-setup-win7.bat'), path.join(__dirname, 'download', 'win7-x64-installer', 'skqitam-setup-win7.bat'))
console.log ('INFO: Generating: ' + path.join(__dirname, 'download', 'skqitam-client-win7-installer.zip') + "\n")
const w7x64_ziparch = fs.createWriteStream(path.join(__dirname, 'download', 'skqitam-client-win7-installer.zip'))
const w7x64_archive = archiver('zip', {
zlib: { level: 9 } // Sets the compression level.
})
w7x64_archive.on('warning', function(err) {
if (err.code === 'ENOENT') {
// log warning
} else {
// throw error
throw err;
}
})
w7x64_archive.pipe(w7x64_ziparch)
// w7x64_archive.directory(path.join('download', 'win7-x64-installer'), 'win7-x64-installer');
w7x64_archive.directory(path.join('download', 'win7-x64-installer'), false);
w7x64_archive.finalize()
} catch (e) {
console.log ('ERROR: Could not copy: '+ path.join(__dirname, 'download', 'skqitam-setup-win7.bat'))
process.exit(1)
}
} catch (e) {
console.log ('ERROR: Could not copy: '+ path.join(__dirname, 'download', 'skqitam-setup-win7.ps1'))
process.exit(1)
}
} catch (e) {
console.log ('ERROR: Could not make directory: '+ path.join(__dirname, 'download', 'win7-x64-installer'))
process.exit(1)
@ -180,6 +158,8 @@ app.use('/api/upload', function(req, res) {
try {
fs.writeFileSync(raw_data_file, JSON.stringify(itam_data, null, 2), 'utf8')
itam_parse_data(itam_data)
// Host Map
let host_id_map_file = path.join(process['CONFIG']['LOCAL']['ITAM']['ITAM_DATA_DIR'], 'host-id-map.json')
@ -189,6 +169,7 @@ app.use('/api/upload', function(req, res) {
try {
fs.writeFileSync(host_id_map_file, JSON.stringify(host_id_map, null, 2), 'utf8')
} catch (err) {
console.log ("ERROR: Cannot Write Host ID Map File " + host_id_map_file)
status = false
@ -213,15 +194,12 @@ app.use('/api/upload', function(req, res) {
status = false
}
} catch (err) {
console.log ("ERROR: Cannot PARSE Client JSON Upload")
console.log (err)
status = false
}
} else {
console.log ("ERROR: Missing client ITAM_DATA Upload")
status = false
@ -275,3 +253,33 @@ app.listen(process['CONFIG']['GLOBAL']['WEBUI_PORT'], function () {
console.log ("\nNOTE: Be sure to open port " + process['CONFIG']['GLOBAL']['WEBUI_PORT'] + " to the above IP's\n on server and network firewalls.")
})
// -------------------------------- Functions --------------------------
function itam_parse_data(data) {
console.log(JSON.stringify(data['ITAM'], null, 2))
let itam_index = {}
try {
let itam_index = JSON.parse(fs.readFileSync(path.join(__dirname, process['CONFIG']['GLOBAL']['ITAM_INDEX']), 'utf8'))
} catch (e) {
}
// Host Index Update
// Hardware Statistics
// OS Statistics
// Software Statistics
// Appendix-D Hardware
// Appendix-D Software
}

7
package-lock.json

@ -1,6 +1,6 @@
{
"name": "skq-it-am",
"version": "0.0.5",
"version": "0.0.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -147,6 +147,11 @@
"resolved": "https://registry.npmjs.org/charset/-/charset-1.0.1.tgz",
"integrity": "sha512-6dVyOOYjpfFcL1Y4qChrAoQLRHvj2ziyhcm0QJlhOcAhykL/k1kTUPbeo+87MNRTRdk2OIIsIXbuF3x2wi5EXg=="
},
"chart.js": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.3.2.tgz",
"integrity": "sha512-H0hSO7xqTIrwxoACqnSoNromEMfXvfuVnrbuSt2TuXfBDDofbnto4zuZlRtRvC73/b37q3wGAWZyUU41QPvNbA=="
},
"chownr": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",

1
package.json

@ -7,6 +7,7 @@
"main": "index.js",
"dependencies": {
"archiver": "^5.3.0",
"chart.js": "^3.3.2",
"ecstatic": "^4.1.4",
"express": "^4.17.1",
"is-admin": "^3.0.0",

3
web/root/docs/charts.md

@ -0,0 +1,3 @@
# Charts
<canvas id="myChart" width="600" height="200"></canvas>

10344
web/root/docs/js/chart.esm.js
File diff suppressed because it is too large
View File

12935
web/root/docs/js/chart.js
File diff suppressed because it is too large
View File

13
web/root/docs/js/chart.min.js
File diff suppressed because it is too large
View File

2457
web/root/docs/js/chunks/helpers.segment.js
File diff suppressed because it is too large
View File

7
web/root/docs/js/helpers.esm.js

@ -0,0 +1,7 @@
/*!
* Chart.js v3.3.2
* https://www.chartjs.org
* (c) 2021 Chart.js Contributors
* Released under the MIT License
*/
export { H as HALF_PI, aT as INFINITY, P as PI, aS as PITAU, aV as QUARTER_PI, aU as RAD_PER_DEG, T as TAU, aW as TWO_THIRDS_PI, O as _addGrace, U as _alignPixel, Y as _alignStartEnd, q as _angleBetween, aX as _angleDiff, _ as _arrayUnique, a3 as _attachContext, am as _bezierCurveTo, aj as _bezierInterpolation, ar as _boundSegment, ah as _boundSegments, a0 as _capitalize, ag as _computeSegments, a4 as _createResolver, aD as _decimalPlaces, aL as _deprecated, a5 as _descriptors, ac as _elementsEqual, L as _factorize, aF as _filterBetween, F as _getParentNode, S as _int16Range, A as _isPointInArea, x as _limitValue, aE as _longestText, aG as _lookup, y as _lookupByKey, R as _measureText, aJ as _merger, aK as _mergerIf, as as _normalizeAngle, ak as _pointInLine, ae as _readValueToProps, B as _rlookupByKey, az as _setMinAndMaxByKey, ai as _steppedInterpolation, al as _steppedLineTo, av as _textX, X as _toLeftRightCenter, af as _updateBezierControlPoints, ao as addRoundedRectPath, aC as almostEquals, aB as almostWhole, N as callback, aa as clearCanvas, k as clipArea, aI as clone, c as color, a8 as debounce, h as defined, ay as distanceBetweenPoints, an as drawPoint, D as each, e as easingEffects, M as finiteOrDefault, aQ as fontString, p as formatNumber, ad as getAngleFromPoint, aH as getHoverColor, E as getMaximumSize, z as getRelativePosition, at as getRtlAdapter, aP as getStyle, b as isArray, g as isFinite, a2 as isFunction, j as isNullOrUndef, w as isNumber, i as isObject, l as listenArrayEvents, K as log10, $ as merge, a6 as mergeIf, aA as niceNum, ax as noop, au as overrideTextDirection, G as readUsedSize, V as renderText, r as requestAnimFrame, a as resolve, f as resolveObjectKey, aw as restoreTextDirection, a9 as retinaScale, ab as setsEqual, s as sign, aN as splineCurve, aO as splineCurveMonotone, J as supportsEventListenerOptions, I as throttled, Q as toDegrees, o as toDimension, W as toFont, aM as toFontString, aR as toLineHeight, C as toPadding, n as toPercentage, t as toRadians, ap as toTRBL, aq as toTRBLCorners, a7 as uid, m as unclipArea, u as unlistenArrayEvents, v as valueOrDefault } from './chunks/helpers.segment.js';

40
web/root/docs/js/skq-it-am.js

@ -200,3 +200,43 @@ if (document.getElementsByClassName("WIN7_ZIPFILE_URL")) {
// document.getElementById("btn-cp-win").setAttribute('data-clipboard-text', cmd)
}
}
// Charts.js
var ctx = document.getElementById('myChart');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
datasets: [{
label: '# of Votes',
data: [12, 19, 3, 5, 2, 3],
backgroundColor: [
'rgba(255, 99, 132, 0.2)',
'rgba(54, 162, 235, 0.2)',
'rgba(255, 206, 86, 0.2)',
'rgba(75, 192, 192, 0.2)',
'rgba(153, 102, 255, 0.2)',
'rgba(255, 159, 64, 0.2)'
],
borderColor: [
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
],
borderWidth: 1
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
});

2
web/root/mkdocs.yml

@ -18,6 +18,7 @@ theme:
nav:
- <span class="fas fa-home"></span>: index.md
- Admin: /admin
- Charts: charts.md
# - Setup:
# - Install: install.md
# - Optional Tool: optional.md
@ -51,6 +52,7 @@ extra_javascript:
- js/swipenav.js
- js/hometitle.js
- js/clipboard.min.js
- js/chart.min.js
- js/skq-it-am.js
extra_css:

4
web/root/site/404.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="/charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -164,6 +167,7 @@
<script src="/js/swipenav.js" defer></script>
<script src="/js/hometitle.js" defer></script>
<script src="/js/clipboard.min.js" defer></script>
<script src="/js/chart.min.js" defer></script>
<script src="/js/skq-it-am.js" defer></script>
<script src="/search/main.js" defer></script>

20
web/root/site/bootstrap.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -122,7 +125,7 @@
</ul>
<h3 id="examples">Examples</h3>
<h5 id="alerts">Alerts</h5>
<pre><code class="markdown">&lt;div class=&quot;alert alert-primary&quot; role=&quot;alert&quot;&gt;
<pre><code class="language-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;
@ -147,41 +150,33 @@
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="markdown">&lt;button type=&quot;button&quot; class=&quot;btn btn-primary&quot;&gt;Primary&lt;/button&gt;
<pre><code class="language-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;
@ -191,7 +186,6 @@
&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>
@ -203,9 +197,8 @@
<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="markdown">&lt;a class=&quot;btn btn-primary&quot; href=&quot;&quot;&gt;HTML Link&lt;/a&gt;
<pre><code class="language-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>
@ -251,6 +244,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

10
web/root/site/build.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -115,17 +118,15 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="building-the-website">Building the Website</h2>
<pre><code class="bash">[$] cd skq-mkdocs-templates
<pre><code class="language-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="bash">[$] mkdocs build --clean
<pre><code class="language-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>
@ -176,6 +177,7 @@ Each time you edit the site source content files you will need to run the <code>
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

245
web/root/site/charts.html

@ -0,0 +1,245 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="John Haverlack (jehaverlack@alaska.edu)">
<link rel="shortcut icon" href="img/favicon.ico">
<title>Charts - Sikuliaq IT Asset Manager</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet">
<link href="js/styles/default.css" rel="stylesheet">
<link href="css/all.min.css" rel="stylesheet">
<link href="css/satnag-icons.css" rel="stylesheet">
<link href="css/uaf.css" rel="stylesheet">
<link href="css/cfos.css" rel="stylesheet">
<link href="css/cfos-theme.css" rel="stylesheet">
<link href="css/jquery.json-viewer.css" rel="stylesheet">
<link href="css/jjsonviewer.css" rel="stylesheet">
<link href="css/cfosgroups.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="js/jquery-1.10.2.min.js" defer></script>
<script src="js/bootstrap.min.js" defer></script>
</head>
<body>
<div id="banner" style="position: relative; top: -70px; width: 100%; z-index:100;">
<div class="row">
<div id="banner-bar" class="col-sm-12">
<div style="width: 100%; padding: 10px;">
<a href="http://uaf.edu/"><img class="uaflogo" alt="UAF logo" src="img/uaflogoBlue.png"></a>
<a class="text-white" style="font-weight: bold; margin-top: auto; margin-bottom: 10px;" href="https://uaf.edu">UNIVERSITY OF ALASKA FAIRBANKS</a>
</div>
</div>
</div>
<div class="row" style="background: #007682; height: 8px;"></div>
<div class="row">
<div id="banner-logo" class="col-sm-12">
<div id="banner-title">
<div class="cfostitle">
<!-- <a href="https://www.sikuliaq.alaska.edu/"><i>R/V Sikuliaq</i></a> -->
<a href="https://www.sikuliaq.alaska.edu/" title="R/V Sikuliaq"><img alt="R/V Sikuliaq" src="img/SKQShipLogo-White.png"> <span style="font-weight: bold; font-style: italic; margin-top: auto; margin-bottom: auto;"></span></a> R/V <i>Sikuliaq</i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="navbar navbar-expand-lg navbar-dark bg-primary" style="top: -70px;">
<div class="container">
<a class="navbar-brand" href=".">Sikuliaq IT Asset Manager</a>
<!-- Expander button -->
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbar-collapse">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Expanded navigation -->
<div id="navbar-collapse" class="navbar-collapse collapse">
<!-- Main navigation -->
<ul class="nav navbar-nav">
<li class="navitem">
<a href="index.html" class="nav-link"><span class="fas fa-home"></span></a>
</li>
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem active">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="contact.html" class="dropdown-item">Contact</a>
</li>
<li>
<a href="license.html" class="dropdown-item">License</a>
</li>
<li>
<a href="versions.html" class="dropdown-item">Changelog</a>
</li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="modal" data-target="#mkdocs_search_modal">
<i class="fa fa-search"></i> Search
</a>
</li>
<li class="nav-item">
<a rel="prev" href="index.html" class="nav-link">
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
<li class="nav-item">
<a rel="next" href="contact.html" class="nav-link">
Next <i class="fa fa-arrow-right"></i>
</a>
</li>
<li class="nav-item">
<a href="https://github.alaska.edu/skq/skq-it-am.git" class="nav-link"><span class="fab fa-git-square"></span></a>
</li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="row">
<!-- <div class="col-md-3"></div> -->
<div class="col-md-12" role="main" style="top: -50px;">
<h1 id="charts">Charts</h1>
<canvas id="myChart" width="600" height="200"></canvas></div>
</div>
</div>
<!-- style="position: relative; top: -100px;" -->
<!-- <div class="alert alert-danger" role="alert">
<p><span class="fas fa-exclamation-circle"></span>
This website is an incomplete and active work in progress. Please send feedback to <a href="mailto:jehaverlack@alaska.edu">jehaverlack@alaska.edu</a>
</p>
</div> -->
<footer class="col-md-12 footer" >
<p class="small">The University of Alaska Fairbanks is <a target="_blank" href="https://uaf.edu/accreditation/">accredited</a> by the Northwest Commission on Colleges and Universities.<br>UAF is an AA/EO employer and educational institution and prohibits illegal discrimination against any individual. Learn more about UA's <a target="_blank" href="https://www.alaska.edu/nondiscrimination" >notice of nondiscrimination</a>.<br>UA is committed to providing accessible websites. Learn more about UA's <a target="_blank" href="https://www.alaska.edu/webaccessibility" >notice of web accessibility</a>.<br><a target="_blank" href="https://www.alaska.edu/records/compliance/gdpr/ua-privacy-statement/index.xml" >Privacy Statement</a></p>
<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">Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>
<div class="row" style="margin-right: 20px;">
<div class="col-sm-12" style="text-align: right; valign: middle;">
<a target="_blank" href="https://www.uaf.edu/"><img alt="University of Alaska Fairbanks" title="University of Alaska Fairbanks" style="max-height: 50px;" src="img/UAF.png"></a>
<a target="_blank" href="https://www.uaf.edu/cfos/"><img alt="UAF College of Fisheries and Ocean Sciences" title="UAF College of Fisheries and Ocean Sciences" style="max-height: 50px;" src="img/SMALL-CFOS.jpg"></a>
<a target="_blank" href="https://www.sikuliaq.alaska.edu/"><img alt="R/V Sikuliaq" title="R/V Sikuliaq" style="max-height: 50px;" src="img/sikuliaqlogo.png"></a>
<a target="_blank" href="https://www.unols.org/"><img alt="University-National Laboratory System" title="University-National Laboratory System" style="max-height: 50px;" src="img/unols-logo.png"></a>
<a target="_blank" href="https://www.nsf.gov/"><img alt="National Science Foundation" title="National Science Foundation" style="max-height: 65px;" src="img/NSF.png"></a>
</div>
</div>
<script>
var base_url = ".",
shortcuts = {"help": 191, "next": 78, "previous": 80, "search": 83};
</script>
<script src="js/base.js" defer></script>
<script src="js/highlight.pack.js" defer></script>
<script src="js/highlightinit.js" defer></script>
<script src="js/jquery.json-viewer.js" defer></script>
<script src="js/jquery.event.move.js" defer></script>
<script src="js/jquery.event.swipe.js" defer></script>
<script src="js/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="searchModalLabel">Search</h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
</div>
<div class="modal-body">
<p>
From here you can search these documents. Enter
your search terms below.
</p>
<form>
<div class="form-group">
<input type="search" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
</div>
</form>
<div id="mkdocs-search-results"></div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="keyboardModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
</div>
<div class="modal-body">
<table class="table">
<thead>
<tr>
<th style="width: 20%;">Keys</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td class="help shortcut"><kbd>?</kbd></td>
<td>Open this help</td>
</tr>
<tr>
<td class="next shortcut"><kbd>n</kbd></td>
<td>Next page</td>
</tr>
<tr>
<td class="prev shortcut"><kbd>p</kbd></td>
<td>Previous page</td>
</tr>
<tr>
<td class="search shortcut"><kbd>s</kbd></td>
<td>Search</td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
</body>
</html>

13
web/root/site/cloning.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -120,21 +123,18 @@ 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="bash">git clone https://github.alaska.edu/skq/skq-mkdocs-template.git
<pre><code class="language-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="bash">git clone https://git.sikuliaq.alaska.edu/scm/git/skq/skq-mkdocs-template
<pre><code class="language-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="bash">cd skq-mkdocs-templates
<pre><code class="language-bash">cd skq-mkdocs-templates
</code></pre>
<h4 id="inputs">Inputs</h4>
<ul>
<li><strong>mkdocs.yml</strong> - master Configuration File</li>
@ -191,6 +191,7 @@ A UA Github (<a href="https://github.alaska.edu">https://github.alaska.edu</a>)
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

56
web/root/site/code.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -120,88 +123,82 @@
</div>
<h3 id="plain-text">Plain Text</h3>
<pre><code class="plaintext">Hello World
<pre><code class="language-plaintext">Hello World
</code></pre>
<h3 id="html">HTML</h3>
<pre><code class="html">&lt;h2&gt;Hello World&lt;/h2&gt;
<pre><code class="language-html">&lt;h2&gt;Hello World&lt;/h2&gt;
</code></pre>
<h3 id="javascript">JavaScript</h3>
<pre><code class="javascript">console.log(&quot;Hello World&quot;)
<pre><code class="language-javascript">console.log(&quot;Hello World&quot;)
</code></pre>
<h3 id="css">CSS</h3>
<pre><code class="css">.helloworld {
<pre><code class="language-css">.helloworld {
color: #567;
}
</code></pre>
<h3 id="markdown">Markdown</h3>
<pre><code class="markdown">## Hello World
<pre><code class="language-markdown">## Hello World
</code></pre>
<h3 id="bash">Bash</h3>
<pre><code class="bash">#!/bin/bash
<pre><code class="language-bash">#!/bin/bash
echo &quot;Hello World&quot;
</code></pre>
<h3 id="json">JSON</h3>
<pre><code class="json">{
<pre><code class="language-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}
&#60h2&#62Hello World&#60/h2&#62
&#96&#96&#96
&#96;&#96;&#96; {.html}
&#60;h2&#62;Hello 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>
@ -248,6 +245,7 @@ echo "Hello World"
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

6
web/root/site/contact.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown active">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -102,7 +105,7 @@
</a>
</li>
<li class="nav-item">
<a rel="prev" href="index.html" class="nav-link">
<a rel="prev" href="charts.html" class="nav-link">
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
@ -173,6 +176,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

7
web/root/site/editing.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -127,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="yml">nav:
<pre><code class="language-yml">nav:
- &lt;span class=&quot;fas fa-home&quot;&gt;&lt;/span&gt;: index.md
- Setup:
- Install: install.md
@ -150,7 +153,6 @@
- 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>
@ -212,6 +214,7 @@ Markdown files can contain inline HTML, or pure Markdown code.
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

13
web/root/site/equations.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -122,18 +125,16 @@ 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="latex">The square root of 2 is \(\sqrt{2} = 1.141421....\).
<pre><code class="language-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="latex">\[\sqrt{2} = 1.141421....\]
<pre><code class="language-latex">\[\sqrt{2} = 1.141421....\]
</code></pre>
<p>
<script type="math/tex; mode=display">\sqrt{2} = 1.141421....</script>
</p>
@ -142,9 +143,8 @@ 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="latex">\(\sqrt{2} = 1.141421....\)
<pre><code class="language-latex">\(\sqrt{2} = 1.141421....\)
</code></pre>
<p>
<script type="math/tex">\sqrt{2} = 1.141421....</script>
</p>
@ -247,6 +247,7 @@ Markdown supports inline [LaTeX](https://en.wikipedia.org/wiki/LaTeX) equations
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

7
web/root/site/footnotes.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -116,13 +119,12 @@
<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="markdown">To use the footnotes plugin [^1], simply include ...
<pre><code class="language-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>
@ -175,6 +177,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

7
web/root/site/icons.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -129,7 +132,6 @@
<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:
@ -141,7 +143,6 @@
- &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>
@ -153,7 +154,6 @@
- &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>
@ -203,6 +203,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

6
web/root/site/index.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -107,7 +110,7 @@
</a>
</li>
<li class="nav-item">
<a rel="next" href="contact.html" class="nav-link">
<a rel="next" href="charts.html" class="nav-link">
Next <i class="fa fa-arrow-right"></i>
</a>
</li>
@ -217,6 +220,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

18
web/root/site/install.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -115,9 +118,10 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="installing-requirements">Installing Requirements</h2>
<p><div class="alert alert-info">
<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></p>
</div>
<div class="alert alert-warning">
You may need to adapt the following notes for you operating system platform.
</div>
@ -128,13 +132,12 @@
<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="bash">[$] python3 --version
<pre><code class="language-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>
@ -144,18 +147,16 @@ 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="bash">sudo pip install mkdocs
<pre><code class="language-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="bash">[$] mkdocs --version
<pre><code class="language-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:
@ -217,6 +218,7 @@ mkdocs, version 1.1 from /usr/local/lib/python3.6/site-packages/mkdocs (Python 3
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

10344
web/root/site/js/chart.esm.js
File diff suppressed because it is too large
View File

12935
web/root/site/js/chart.js
File diff suppressed because it is too large
View File

13
web/root/site/js/chart.min.js
File diff suppressed because it is too large
View File

2457
web/root/site/js/chunks/helpers.segment.js
File diff suppressed because it is too large
View File

7
web/root/site/js/helpers.esm.js

@ -0,0 +1,7 @@
/*!
* Chart.js v3.3.2
* https://www.chartjs.org
* (c) 2021 Chart.js Contributors
* Released under the MIT License
*/
export { H as HALF_PI, aT as INFINITY, P as PI, aS as PITAU, aV as QUARTER_PI, aU as RAD_PER_DEG, T as TAU, aW as TWO_THIRDS_PI, O as _addGrace, U as _alignPixel, Y as _alignStartEnd, q as _angleBetween, aX as _angleDiff, _ as _arrayUnique, a3 as _attachContext, am as _bezierCurveTo, aj as _bezierInterpolation, ar as _boundSegment, ah as _boundSegments, a0 as _capitalize, ag as _computeSegments, a4 as _createResolver, aD as _decimalPlaces, aL as _deprecated, a5 as _descriptors, ac as _elementsEqual, L as _factorize, aF as _filterBetween, F as _getParentNode, S as _int16Range, A as _isPointInArea, x as _limitValue, aE as _longestText, aG as _lookup, y as _lookupByKey, R as _measureText, aJ as _merger, aK as _mergerIf, as as _normalizeAngle, ak as _pointInLine, ae as _readValueToProps, B as _rlookupByKey, az as _setMinAndMaxByKey, ai as _steppedInterpolation, al as _steppedLineTo, av as _textX, X as _toLeftRightCenter, af as _updateBezierControlPoints, ao as addRoundedRectPath, aC as almostEquals, aB as almostWhole, N as callback, aa as clearCanvas, k as clipArea, aI as clone, c as color, a8 as debounce, h as defined, ay as distanceBetweenPoints, an as drawPoint, D as each, e as easingEffects, M as finiteOrDefault, aQ as fontString, p as formatNumber, ad as getAngleFromPoint, aH as getHoverColor, E as getMaximumSize, z as getRelativePosition, at as getRtlAdapter, aP as getStyle, b as isArray, g as isFinite, a2 as isFunction, j as isNullOrUndef, w as isNumber, i as isObject, l as listenArrayEvents, K as log10, $ as merge, a6 as mergeIf, aA as niceNum, ax as noop, au as overrideTextDirection, G as readUsedSize, V as renderText, r as requestAnimFrame, a as resolve, f as resolveObjectKey, aw as restoreTextDirection, a9 as retinaScale, ab as setsEqual, s as sign, aN as splineCurve, aO as splineCurveMonotone, J as supportsEventListenerOptions, I as throttled, Q as toDegrees, o as toDimension, W as toFont, aM as toFontString, aR as toLineHeight, C as toPadding, n as toPercentage, t as toRadians, ap as toTRBL, aq as toTRBLCorners, a7 as uid, m as unclipArea, u as unlistenArrayEvents, v as valueOrDefault } from './chunks/helpers.segment.js';

40
web/root/site/js/skq-it-am.js

@ -200,3 +200,43 @@ if (document.getElementsByClassName("WIN7_ZIPFILE_URL")) {
// document.getElementById("btn-cp-win").setAttribute('data-clipboard-text', cmd)
}
}
// Charts.js
var ctx = document.getElementById('myChart');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
datasets: [{
label: '# of Votes',
data: [12, 19, 3, 5, 2, 3],
backgroundColor: [
'rgba(255, 99, 132, 0.2)',
'rgba(54, 162, 235, 0.2)',
'rgba(255, 206, 86, 0.2)',
'rgba(75, 192, 192, 0.2)',
'rgba(153, 102, 255, 0.2)',
'rgba(255, 159, 64, 0.2)'
],
borderColor: [
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
],
borderWidth: 1
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
});

4
web/root/site/license.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown active">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -177,6 +180,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

14
web/root/site/menu.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -115,11 +118,12 @@
<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>As described on the <a href="editing.html">Editing</a> page</p>
<div class="alert alert-info">
To modify the navigation menu find the following section in <code>mkdocs.yml</code>.
</div></p>
<pre><code class="yml">nav:
</div>
<pre><code class="language-yml">nav:
- &lt;span class=&quot;fas fa-home&quot;&gt;&lt;/span&gt;: index.md
- Setup:
- Install: install.md
@ -130,12 +134,11 @@
- 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="yml">nav:
<pre><code class="language-yml">nav:
- Home: index.md
- Sikuliaq: https://www.sikuliaq.alaska.edu
- UAF:
@ -186,6 +189,7 @@ However both top and sub nav menu items can also be both Markdown or URL links.
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

16
web/root/site/optional.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -116,35 +119,31 @@
<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="bash">mkdocs serve
<pre><code class="language-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="bash">curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
<pre><code class="language-bash">curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
nvm install --lts
</code></pre>
<pre><code class="bash">[$] node --version
<pre><code class="language-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="bash">npm install --global http-server
<pre><code class="language-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>
@ -201,6 +200,7 @@ v12.14.1
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

7
web/root/site/pdf.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -121,14 +124,13 @@
</ul>
<h4 id="enable-the-plugin">Enable the Plugin</h4>
<p>In your <code>mkdocs.yml</code> Config File</p>
<pre><code class="yml">plugins:
<pre><code class="language-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>
@ -180,6 +182,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

6
web/root/site/search.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -123,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="yml">plugins:
<pre><code class="language-yml">plugins:
- search
</code></pre></div>
</div>
@ -170,6 +173,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

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

4
web/root/site/sitemap.xml

@ -15,5 +15,9 @@
<loc>None</loc>
<lastmod>2021-06-23</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>None</loc>
<lastmod>2021-06-23</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

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

6
web/root/site/swipe.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -125,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="javascript">var links = document.getElementsByTagName(&quot;a&quot;);
<pre><code class="language-javascript">var links = document.getElementsByTagName(&quot;a&quot;);
for (l in links) {
if (String(links[l].innerHTML).match(/fa-arrow-left.*Previous/)) {
@ -196,6 +199,7 @@ $(&quot;body&quot;).on('swiperight', function(e) {
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

13
web/root/site/test.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -115,9 +118,8 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="testing-the-site">Testing the Site</h2>
<pre><code class="bash">[$] cd skq-mkdocs-templates
<pre><code class="language-bash">[$] cd skq-mkdocs-templates
</code></pre>
<div class="alert alert-info">
There is more than one way to test a mkdocs website.
</div>
@ -131,7 +133,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="bash">[$] mkdocs serve
<pre><code class="language-bash">[$] mkdocs serve
INFO - Building documentation...
PDF export is disabled (set environment variable ENABLE_PDF_EXPORT to 1 to enable)
INFO - Cleaning site directory
@ -140,7 +142,6 @@ 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>
@ -150,14 +151,13 @@ 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="bash">[$ skq-mkdocs-template] http-server site
<pre><code class="language-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>
@ -214,6 +214,7 @@ In modern web browsers (Firefox, Chrome, etc) you can right click in the backgro
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

7
web/root/site/version.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -119,10 +122,9 @@
A custom site <b>version</b> date has been added to the <code>mkdocs.yml</code> configuration file.
</div>
<pre><code class="yml">extra:
<pre><code class="language-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>
@ -169,6 +171,7 @@ A custom site <b>version</b> date has been added to the <code>mkdocs.yml</code>
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

4
web/root/site/versions.html

@ -76,6 +76,9 @@
<li class="navitem">
<a href="/admin" class="nav-link">Admin</a>
</li>
<li class="navitem">
<a href="charts.html" class="nav-link">Charts</a>
</li>
<li class="dropdown active">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -178,6 +181,7 @@
<script src="js/swipenav.js" defer></script>
<script src="js/hometitle.js" defer></script>
<script src="js/clipboard.min.js" defer></script>
<script src="js/chart.min.js" defer></script>
<script src="js/skq-it-am.js" defer></script>
<script src="search/main.js" defer></script>

Loading…
Cancel
Save