Added Edit Item link

This commit is contained in:
2024-12-26 12:43:48 -08:00
parent ccbcc03dbf
commit 55c4283c20

View File

@@ -6,6 +6,7 @@ import ExACT_login from './tests/ExACT_login.js';
import ExACT_dashboardMyContent from './tests/ExACT_DashboardMyContent.js'; import ExACT_dashboardMyContent from './tests/ExACT_DashboardMyContent.js';
//Pages //Pages
import ExACT_contentPage from './tests/ExACT_contentPage.js'; import ExACT_contentPage from './tests/ExACT_contentPage.js';
import ExACT_editItem from './tests/ExACT_editItem.js';
const app = express(); const app = express();
@@ -26,6 +27,8 @@ app.get('/', (req, res) => {
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">Pages</h1> <h1 style="text-align:center; color:#055a8c; font-size:20px; ">Pages</h1>
<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>
<br> <br>
</div> </div>
`); `);
@@ -41,6 +44,8 @@ app.get('/ExACT_login', ExACT_login);
//Pages //Pages
//Content //Content
app.get('/ExACT_contentPage', ExACT_contentPage); app.get('/ExACT_contentPage', ExACT_contentPage);
//Edit Item
app.get('/ExACT_editItem', ExACT_editItem);
app.listen(8000, () => { app.listen(8000, () => {
console.log('Server is running on port 8000'); console.log('Server is running on port 8000');