Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cp/rename nav items #336

Merged
merged 2 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tavern/internal/www/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.ab681a40.css",
"main.js": "/static/js/main.052122cf.js",
"main.js": "/static/js/main.e23b68d3.js",
"react-syntax-highlighter/refractor-core-import.js": "/static/js/react-syntax-highlighter/refractor-core-import.d0cd1e85.chunk.js",
"react-syntax-highlighter_languages_refractor_abap.js": "/static/js/react-syntax-highlighter_languages_refractor_abap.a2bf84e3.chunk.js",
"react-syntax-highlighter_languages_refractor_actionscript.js": "/static/js/react-syntax-highlighter_languages_refractor_actionscript.fff5a604.chunk.js",
Expand Down Expand Up @@ -158,7 +158,7 @@
"static/media/eldrich.png": "/static/media/eldrich.a80c74e8249d2461e174.png",
"index.html": "/index.html",
"main.ab681a40.css.map": "/static/css/main.ab681a40.css.map",
"main.052122cf.js.map": "/static/js/main.052122cf.js.map",
"main.e23b68d3.js.map": "/static/js/main.e23b68d3.js.map",
"refractor-core-import.d0cd1e85.chunk.js.map": "/static/js/react-syntax-highlighter/refractor-core-import.d0cd1e85.chunk.js.map",
"react-syntax-highlighter_languages_refractor_abap.a2bf84e3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_abap.a2bf84e3.chunk.js.map",
"react-syntax-highlighter_languages_refractor_actionscript.fff5a604.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_actionscript.fff5a604.chunk.js.map",
Expand Down Expand Up @@ -315,6 +315,6 @@
},
"entrypoints": [
"static/css/main.ab681a40.css",
"static/js/main.052122cf.js"
"static/js/main.e23b68d3.js"
]
}
2 changes: 1 addition & 1 deletion tavern/internal/www/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="manifest" href="/site.webmanifest"><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Tavern - Red Team Engagement Platform</title><script defer="defer" src="/static/js/main.052122cf.js"></script><link href="/static/css/main.ab681a40.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="manifest" href="/site.webmanifest"><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Tavern - Red Team Engagement Platform</title><script defer="defer" src="/static/js/main.e23b68d3.js"></script><link href="/static/css/main.ab681a40.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
3 changes: 0 additions & 3 deletions tavern/internal/www/build/static/js/main.052122cf.js

This file was deleted.

1 change: 0 additions & 1 deletion tavern/internal/www/build/static/js/main.052122cf.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions tavern/internal/www/build/static/js/main.e23b68d3.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tavern/internal/www/build/static/js/main.e23b68d3.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ import {
ClipboardDocumentCheckIcon,
PresentationChartLineIcon,
TrophyIcon,
CommandLineIcon
CommandLineIcon,
BookOpenIcon
} from '@heroicons/react/24/outline'

import logo from '../../assets/eldrich.png';
import { PageNavItem } from '../../utils/enums';

const navigation = [
{ name: PageNavItem.quests, href: '/quests', icon: ClipboardDocumentCheckIcon},
{ name: PageNavItem.createQuest, href:'/createQuest', icon:CommandLineIcon },
{ name: PageNavItem.results, href: '/output-results', icon: TrophyIcon,},
{ name: PageNavItem.results, href: '/output-results', icon: ClipboardDocumentCheckIcon,},
{ name: PageNavItem.quests, href: '/quests', icon: BookOpenIcon},
// { name: 'Beacons', href: '/beacons', icon: BugAntIcon, current: false },
// { name: 'Realm status', href: '#', icon: PresentationChartLineIcon, current: false },
{ name: PageNavItem.documentation, href: 'https://docs.realm.pub/', icon: DocumentDuplicateIcon, target: "__blank" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const OutputResults = () => {
return (
<PageWrapper currNavItem={PageNavItem.results}>
<div className="border-b border-gray-200 pb-5 sm:flex sm:items-center sm:justify-between">
<h3 className="text-xl font-semibold leading-6 text-gray-900">Results from quests </h3>
<h3 className="text-xl font-semibold leading-6 text-gray-900">Quest ouputs </h3>
</div>
<div className="flex flex-col justify-center items-center">
{formattedOutputLoading ?
Expand Down
2 changes: 1 addition & 1 deletion tavern/internal/www/src/pages/quest-list/QuestList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const QuestList = () => {
return (
<PageWrapper currNavItem={PageNavItem.quests}>
<div className="border-b border-gray-200 pb-5 sm:flex sm:items-center sm:justify-between">
<h3 className="text-xl font-semibold leading-6 text-gray-900">Quests</h3>
<h3 className="text-xl font-semibold leading-6 text-gray-900">Quest list</h3>
</div>
<div className="flex flex-col justify-center items-center">
{loading ?
Expand Down
4 changes: 2 additions & 2 deletions tavern/internal/www/src/utils/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export enum TaskStatus {
queued = "QUEUED",
}
export enum PageNavItem {
quests='Quests',
quests='Quest list',
documentation='Documentation',
results='Results',
results='Quest outputs',
createQuest= 'Create new quest',
}
Loading