Commit fdd47e77 authored by Mark Ghiorso's avatar Mark Ghiorso

First version of text for ENKI splash page/widget

parent 959f567e
......@@ -118,6 +118,66 @@ const plugins: JupyterLabPlugin<any>[] = [
];
export default plugins;
// Youtube ENKI portal
//https://www.youtube.com/channel/UCJSeYpnbGcxv8WLrDEN383A
// Generic ENKI code repository, and login-required repositories
//https://gitlab.com/ENKI-portal
//https://gitlab.com/ENKI-portal/geothermodat
//https://gitlab.com/ENKI-portal/ThermoEngine
// docs
//https://enki-portal.gitlab.io/ThermoEngine
//https://enki-portal.gitlab.io/geothermodat
//http://jupyterlab.readthedocs.io/en/latest/
let mainContent =
'<h1>Welcome to the ENKI server</h1>'
+ '<p>This page displays some basic information and links to resources that will help '
+ 'you use the server effectively. The information on this page can always be redisplayed '
+ 'by executing the <strong>ENKI Information</strong> command on the <strong>Commands</strong> '
+ 'palette or by clicking on the <strong>ENKI info</strong> launcher button.</p>'
+ '<p>The ENKI server is built on top of a Jupyter Lab computing environment. If you '
+ 'have never used Jupyter Lab, please consult the excellent '
+ '<a href="http://jupyterlab.readthedocs.io/en/latest/" target="_blank">Jupyter Lab '
+ 'User Guide</a> found at Read The Docs.</p>'
+ '<p>There are a series of videos on the '
+ '<a href="https://www.youtube.com/channel/UCJSeYpnbGcxv8WLrDEN383A" target="_blank">'
+ 'Youtube (ENKI-portal)</a> that describe how to use software provided on the server. </p>'
+ '<p>Jupyter notebooks that illustrate how to perform thermodynamic calculations '
+ 'using the ENKI infrastructure are accessible from the ENKI tab (visible on the '
+ 'left edge of the browser window once the splash screen is closed).</p>'
+ '<p>The principal <strong>software repository</strong> for ENKI may be found at '
+ '<a href="https://gitlab.com/ENKI-portal" target="_blank">Gitlab (ENKI-portal)</a>. '
+ 'The code base is open source and in development. Until '
+ 'ENKI is officially released, permission to access the software requires a login and '
+ 'approval. Please request access from the '
+ '<a href="mailto:ghiorso@ofm-research.org" target="_blank">ENKI PIs</a>. If you have '
+ 'GitLab credentials, you may interact with GitLab repositories via the '
+ 'GitLab tab. Consult the Youtube How-to video for proper configuration of ENKI related '
+ 'GitLab settings.</p>'
+ '<p>The link <a href="http://enki-portal.org" target="_blank">ENKI Portal</a> points to '
+ 'the project website.</p>'
+ '<p>There are two main software and data repositories that support the ENKI '
+ 'infrastructure. </p>'
+ '<dl>'
+ '<dt><strong>ThermoEngine</strong> '
+ 'A Python package for calculating thermodynamic properties from various databases '
+ 'and for performing equilibrium calculations (includes interfaces to Berman, Holland and '
+ 'Powell, Stixrude, MELTS and DEW)</dt>'
+ '<dd>- <a href="https://enki-portal.gitlab.io/ThermoEngine" target="_blank">Documentation</a></dd>'
+ '<dd>- <a href="https://gitlab.com/ENKI-portal/ThermoEngine" target="_blank">Code '
+ 'respository</a> (requires GitLab login)</dd>'
+ '</dl>'
+ '<dl>'
+ '<dt><strong>Geothermodat</strong> '
+ 'A Python package and data store for accumulating, manipulating and querying '
+ 'phase equilibrium data used in calibrating thermodynamic models of minerals and melts</dt>'
+ '<dd>- <a href="https://enki-portal.gitlab.io/geothermodat" target="_blank">Documentation</a></dd>'
+ '<dd>- <a href="https://gitlab.com/ENKI-portal/geothermodat" target="_blank">Code '
+ 'respository</a> (requires GitLab login)</dd>'
+ '</dl>';
namespace Private {
export
function createSplash(): HTMLElement {
......@@ -127,7 +187,7 @@ namespace Private {
container.id = 'container';
const header = document.createElement('header');
header.innerHTML = '<h1>ENKI Portal Server</h1>';
header.innerHTML = '<h1>ENKI Server</h1>';
container.appendChild(header);
const logo = document.createElement('nav');
......@@ -135,9 +195,7 @@ namespace Private {
container.appendChild(logo);
const mainText = document.createElement('article');
mainText.innerHTML =
'<h1>Welcome to the ENKI server</h1>' +
'<p>View the video at ...</p>';
mainText.innerHTML = mainContent;
container.appendChild(mainText);
const footer = document.createElement('footer');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment