-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
274 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<file-drop-area @drop="importBtnRef.performImport($event)" class="h-100"> | ||
<list-view url="/api/v1/projecttypes/?scope=private&ordering=name"> | ||
<template #title>Designs</template> | ||
<template #actions> | ||
<design-create-design-dialog /> | ||
<design-import-design-dialog ref="importBtnRef" /> | ||
</template> | ||
<template #tabs> | ||
<v-tab :to="{ path: '/designs/', query: route.query }" exact prepend-icon="mdi-earth" text="Global Designs" /> | ||
<v-tab :to="{ path: '/designs/private/', query: route.query }" prepend-icon="mdi-account" text="Private Designs" /> | ||
</template> | ||
<template #item="{item}"> | ||
<v-list-item :to="`/designs/${item.id}/pdfdesigner/`" :title="item.name" /> | ||
</template> | ||
</list-view> | ||
</file-drop-area> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
definePageMeta({ | ||
title: 'Designs', | ||
toplevel: true, | ||
}); | ||
useHeadExtended({ | ||
breadcrumbs: () => designListBreadcrumbs(), | ||
}); | ||
const route = useRoute(); | ||
const importBtnRef = ref(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<list-view url="/api/v1/pentestprojects/?readonly=true"> | ||
<template #title>Projects</template> | ||
<template #tabs> | ||
<v-tab :to="{path: '/projects/', query: route.query}" exact prepend-icon="mdi-file-document" text="Active Projects" /> | ||
<v-tab :to="{path: '/projects/finished/', query: route.query}" prepend-icon="mdi-flag-checkered" text="Finished Projects" /> | ||
<v-tab :to="{path: '/projects/archived/', query: route.query}" :disabled="!apiSettings.settings!.features.archiving" prepend-icon="mdi-folder-lock-outline"> | ||
<pro-info>Archived Projects</pro-info> | ||
</v-tab> | ||
</template> | ||
<template #item="{item}"> | ||
<project-list-item :item="item" /> | ||
</template> | ||
</list-view> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
definePageMeta({ | ||
title: 'Projects', | ||
toplevel: true, | ||
}); | ||
useHeadExtended({ | ||
breadcrumbs: () => projectListBreadcrumbs(), | ||
}); | ||
const route = useRoute(); | ||
const apiSettings = useApiSettings(); | ||
</script> |
Oops, something went wrong.