Added Upload branch, cleaned up page
This commit is contained in:
116
index.js
116
index.js
@@ -2,7 +2,8 @@ import express from 'express';
|
|||||||
|
|
||||||
import ExACT_landingPage from './tests/ExACT_landingPage.js';
|
import ExACT_landingPage from './tests/ExACT_landingPage.js';
|
||||||
//import ExACT_login from './tests/ExACT_login.js';
|
//import ExACT_login from './tests/ExACT_login.js';
|
||||||
//Dashboard
|
|
||||||
|
//DASHBOARDS
|
||||||
import correlationsDashboard from './tests/correlationsDashboard.js';
|
import correlationsDashboard from './tests/correlationsDashboard.js';
|
||||||
|
|
||||||
import ExACT_dashboardMyContent from './tests/ExACT_dashboardMyContent.js';
|
import ExACT_dashboardMyContent from './tests/ExACT_dashboardMyContent.js';
|
||||||
@@ -10,23 +11,32 @@ import ExACT_dashboardSemanticStandardsComparison from './tests/ExACT_dashboardS
|
|||||||
import dashboardMyStandards from './tests/dashboardMyStandards.js';
|
import dashboardMyStandards from './tests/dashboardMyStandards.js';
|
||||||
import myStandardsSearchAlignedContent from './tests/myStandardsSearchAlignedContent.js';
|
import myStandardsSearchAlignedContent from './tests/myStandardsSearchAlignedContent.js';
|
||||||
import myStandardsSearchRelatedStandards from './tests/myStandardsSearchRelatedStandards.js';
|
import myStandardsSearchRelatedStandards from './tests/myStandardsSearchRelatedStandards.js';
|
||||||
//Content
|
|
||||||
import ExACT_contentPage from './tests/ExACT_contentPage.js';
|
|
||||||
import ExACT_editItem from './tests/ExACT_editItem.js';
|
|
||||||
//Align
|
|
||||||
import alignContentPage from './tests/Align/alignContentPage.js';
|
|
||||||
import alignStandardsPage from './tests/Align/alignContentPage.js';
|
|
||||||
import alignAutoAlignPage from './tests/Align/alignAutoAlignPage.js';
|
|
||||||
|
|
||||||
import ExACT_editItemAddConcept from './tests/ExACT_editItemAddConcept.js';
|
//FRAMEWORKS
|
||||||
import ExACT_alignConceptsPage from './tests/ExACT_alignConceptsPage.js';
|
import frameworkManagementPage from './tests/Frameworks/frameworkManagementPage.js';
|
||||||
//Framework
|
|
||||||
import frameworkManagementPage from './tests/frameworkManagementPage.js';
|
|
||||||
import ExACT_frameworkPublishingPage from './tests/ExACT_frameworkPublishingPage.js';
|
import ExACT_frameworkPublishingPage from './tests/ExACT_frameworkPublishingPage.js';
|
||||||
import ExACT_frameworkPublishFrameworkDIV from './tests/ExACT_frameworkPublishFrameworkDIV.js';
|
import ExACT_frameworkPublishFrameworkDIV from './tests/ExACT_frameworkPublishFrameworkDIV.js';
|
||||||
import ExACT_frameworkFrameworkGroupsDIV from './tests/ExACT_frameworkFrameworkGroupsDIV.js';
|
import ExACT_frameworkFrameworkGroupsDIV from './tests/ExACT_frameworkFrameworkGroupsDIV.js';
|
||||||
import ExACT_frameworkFrameworkSettingsDIV from './tests/ExACT_frameworkFrameworkSettingsDIV.js';
|
import ExACT_frameworkFrameworkSettingsDIV from './tests/ExACT_frameworkFrameworkSettingsDIV.js';
|
||||||
|
|
||||||
|
//ALIGN
|
||||||
|
import alignContentPage from './tests/Align/alignContentPage.js';
|
||||||
|
import alignStandardsPage from './tests/Align/alignStandardsPage.js';
|
||||||
|
import alignAutoAlignPage from './tests/Align/alignAutoAlignPage.js';
|
||||||
|
|
||||||
|
//UPLOAD
|
||||||
|
import uploadSubmitAResourcePage from './tests/Upload/uploadSubmitAResourcePage.js';
|
||||||
|
|
||||||
|
|
||||||
|
//Content
|
||||||
|
import ExACT_contentPage from './tests/ExACT_contentPage.js';
|
||||||
|
import ExACT_editItem from './tests/ExACT_editItem.js';
|
||||||
|
|
||||||
|
import ExACT_editItemAddConcept from './tests/ExACT_editItemAddConcept.js';
|
||||||
|
import ExACT_alignConceptsPage from './tests/ExACT_alignConceptsPage.js';
|
||||||
|
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
@@ -41,8 +51,29 @@ app.get('/', (req, res) => {
|
|||||||
|
|
||||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">DASHBOARD</h1>
|
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">DASHBOARD</h1>
|
||||||
<div style="padding:3px;"><strong><a href='/correlationsDashboard' target='_blank'>Correlations Dashboard</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/correlationsDashboard' target='_blank'>Correlations Dashboard</a></strong></div>
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_dashboardMyContent' target='_blank'>My Content Widget</a></strong></div>
|
|
||||||
|
|
||||||
|
<!-- NEEDS UPDATE
|
||||||
|
<div style="padding:3px;"><strong><a href='/ExACT_dashboardMyContent' target='_blank'>My Content Widget</a></strong></div>
|
||||||
|
-->
|
||||||
|
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">FRAMEWORKS</h1>
|
||||||
|
<div style="padding:3px;"><strong><a href='/frameworkManagementPage' target='_blank'>Framework Management Page</a></strong></div>
|
||||||
|
|
||||||
|
<!-- NEEDS UPDATE
|
||||||
|
<div style="padding:3px;"><strong><a href='/ExACT_frameworkPublishingPage' target='_blank'>Framework Publishing Page</a></strong></div>
|
||||||
|
<div style="padding:3px;"><strong><a href='/ExACT_frameworkPublishFrameworkDIV' target='_blank'>Publish Framework DIV</a></strong></div>
|
||||||
|
<div style="padding:3px;"><strong><a href='/ExACT_frameworkFrameworkGroupsDIV' target='_blank'>Framework Groups DIV</a></strong></div>
|
||||||
|
<div style="padding:3px;"><strong><a href='/ExACT_frameworkFrameworkSettingsDIV' target='_blank'>Framework Settings DIV</a></strong></div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">ALIGN</h1>
|
||||||
|
<div style="padding:3px;"><strong><a href='/alignContentPage' target='_blank'>Content Page</a></strong></div>
|
||||||
|
<div style="padding:3px;"><strong><a href='/alignStandardsPage' target='_blank'>Standards Page</a></strong></div>
|
||||||
|
<div style="padding:3px;"><strong><a href='/alignAutoAlignPage' target='_blank'>AutoAlign Page</a></strong></div>
|
||||||
|
|
||||||
|
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">UPLOAD</h1>
|
||||||
|
<div style="padding:3px;"><strong><a href='/uploadSubmitAResourcePage' target='_blank'>Upload - Submit A Resource Page</a></strong></div>
|
||||||
|
|
||||||
|
<!-- NEEDS UPDATE
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_dashboardSemanticStandardsComparison' target='_blank'>Semantic Standards Comparison Widget</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/ExACT_dashboardSemanticStandardsComparison' target='_blank'>Semantic Standards Comparison Widget</a></strong></div>
|
||||||
<div style="padding:3px;"><strong><a href='/dashboardMyStandards' target='_blank'>My Standards Widget</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/dashboardMyStandards' target='_blank'>My Standards Widget</a></strong></div>
|
||||||
<div style="padding:3px;"><strong><a href='/myStandardsSearchAlignedContent' target='_blank'>My Standards Search - Aligned Content</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/myStandardsSearchAlignedContent' target='_blank'>My Standards Search - Aligned Content</a></strong></div>
|
||||||
@@ -52,55 +83,54 @@ app.get('/', (req, res) => {
|
|||||||
<div style="padding:3px;"><strong><a href='/ExACT_contentPage' target='_blank'>Content Page</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/ExACT_contentPage' target='_blank'>Content Page</a></strong></div>
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_editItem' target='_blank'>Edit Item</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/ExACT_editItem' target='_blank'>Edit Item</a></strong></div>
|
||||||
|
|
||||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">ALIGN</h1>
|
|
||||||
<div style="padding:3px;"><strong><a href='/alignContentPage' target='_blank'>Content Page</a></strong></div>
|
|
||||||
<div style="padding:3px;"><strong><a href='/alignStandardsPage' target='_blank'>Standards Page</a></strong></div>
|
|
||||||
<div style="padding:3px;"><strong><a href='/alignAutoAlignPage' target='_blank'>AutoAlign Page</a></strong></div>
|
|
||||||
|
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_editItemAddConcept' target='_blank'>Align - Edit Content and Align Concept</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/ExACT_editItemAddConcept' target='_blank'>Align - Edit Content and Align Concept</a></strong></div>
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_alignConceptsPage' target='_blank'>Align Concepts Page</a></strong></div>
|
<div style="padding:3px;"><strong><a href='/ExACT_alignConceptsPage' target='_blank'>Align Concepts Page</a></strong></div>
|
||||||
|
-->
|
||||||
|
|
||||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">FRAMEWORKS</h1>
|
|
||||||
<div style="padding:3px;"><strong><a href='/frameworkManagementPage' target='_blank'>Framework Management Page</a></strong></div>
|
|
||||||
|
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_frameworkPublishingPage' target='_blank'>Framework Publishing Page</a></strong></div>
|
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_frameworkPublishFrameworkDIV' target='_blank'>Publish Framework DIV</a></strong></div>
|
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_frameworkFrameworkGroupsDIV' target='_blank'>Framework Groups DIV</a></strong></div>
|
|
||||||
<div style="padding:3px;"><strong><a href='/ExACT_frameworkFrameworkSettingsDIV' target='_blank'>Framework Settings DIV</a></strong></div>
|
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
`);
|
`);
|
||||||
})
|
})
|
||||||
|
|
||||||
//Landing:
|
//EXACT LANDING
|
||||||
app.get('/ExACT_landingPage', ExACT_landingPage);
|
app.get('/ExACT_landingPage', ExACT_landingPage);
|
||||||
//Login
|
//Login
|
||||||
//app.get('/ExACT_login', ExACT_login);
|
//app.get('/ExACT_login', ExACT_login);
|
||||||
//Dashboard
|
|
||||||
|
//DASHBOARDS
|
||||||
app.get('/correlationsDashboard', correlationsDashboard);
|
app.get('/correlationsDashboard', correlationsDashboard);
|
||||||
//My Content
|
|
||||||
app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent);
|
//FRAMEWORKS
|
||||||
app.get('/ExACT_dashboardSemanticStandardsComparison', ExACT_dashboardSemanticStandardsComparison);
|
app.get('/frameworkManagementPage', frameworkManagementPage);
|
||||||
app.get('/dashboardMyStandards', dashboardMyStandards);
|
|
||||||
app.get('/myStandardsSearchAlignedContent', myStandardsSearchAlignedContent);
|
app.get('/ExACT_frameworkPublishingPage', ExACT_frameworkPublishingPage);
|
||||||
app.get('/myStandardsSearchRelatedStandards', myStandardsSearchRelatedStandards);
|
app.get('/ExACT_frameworkPublishFrameworkDIV', ExACT_frameworkPublishFrameworkDIV);
|
||||||
|
app.get('/ExACT_frameworkFrameworkGroupsDIV', ExACT_frameworkFrameworkGroupsDIV);
|
||||||
|
app.get('/ExACT_frameworkFrameworkSettingsDIV', ExACT_frameworkFrameworkSettingsDIV);
|
||||||
|
|
||||||
|
//ALIGN
|
||||||
|
app.get('/alignContentPage', alignContentPage);
|
||||||
|
app.get('/alignStandardsPage', alignStandardsPage);
|
||||||
|
app.get('/alignAutoAlignPage', alignAutoAlignPage);
|
||||||
|
|
||||||
|
//UPLOAD
|
||||||
|
app.get('/uploadSubmitAResourcePage', uploadSubmitAResourcePage);
|
||||||
|
|
||||||
|
//My Content
|
||||||
|
app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent);
|
||||||
|
app.get('/ExACT_dashboardSemanticStandardsComparison', ExACT_dashboardSemanticStandardsComparison);
|
||||||
|
app.get('/dashboardMyStandards', dashboardMyStandards);
|
||||||
|
app.get('/myStandardsSearchAlignedContent', myStandardsSearchAlignedContent);
|
||||||
|
app.get('/myStandardsSearchRelatedStandards', myStandardsSearchRelatedStandards);
|
||||||
|
|
||||||
//Content
|
//Content
|
||||||
app.get('/ExACT_contentPage', ExACT_contentPage);
|
app.get('/ExACT_contentPage', ExACT_contentPage);
|
||||||
|
|
||||||
//Edit Item
|
//Edit Item
|
||||||
app.get('/ExACT_editItem', ExACT_editItem);
|
app.get('/ExACT_editItem', ExACT_editItem);
|
||||||
//Align
|
|
||||||
app.get('/alignContentPage', alignContentPage);
|
|
||||||
app.get('/alignStandardsPage', alignStandardsPage);
|
|
||||||
app.get('/alignAutoAlignPage', alignAutoAlignPage);
|
|
||||||
|
|
||||||
app.get('/ExACT_editItemAddConcept', ExACT_editItemAddConcept);
|
app.get('/ExACT_editItemAddConcept', ExACT_editItemAddConcept);
|
||||||
app.get('/ExACT_alignConceptsPage', ExACT_alignConceptsPage);
|
app.get('/ExACT_alignConceptsPage', ExACT_alignConceptsPage);
|
||||||
//Framework
|
|
||||||
app.get('/frameworkManagementPage', frameworkManagementPage);
|
|
||||||
app.get('/ExACT_frameworkPublishingPage', ExACT_frameworkPublishingPage);
|
|
||||||
app.get('/ExACT_frameworkPublishFrameworkDIV', ExACT_frameworkPublishFrameworkDIV);
|
|
||||||
app.get('/ExACT_frameworkFrameworkGroupsDIV', ExACT_frameworkFrameworkGroupsDIV);
|
|
||||||
app.get('/ExACT_frameworkFrameworkSettingsDIV', ExACT_frameworkFrameworkSettingsDIV);
|
|
||||||
|
|
||||||
app.listen(8000, () => {
|
app.listen(8000, () => {
|
||||||
console.log('Server is up and running on port 8000');
|
console.log('Server is up and running on port 8000');
|
||||||
|
|||||||
Reference in New Issue
Block a user