forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
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
40 changed files
with
2,206 additions
and
306 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
35 changes: 35 additions & 0 deletions
35
client/src/components/ConfigTemplates/ManageIndexHeader.vue
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,35 @@ | ||
<script setup lang="ts"> | ||
import "./icons"; | ||
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; | ||
import { BButton, BCol, BRow } from "bootstrap-vue"; | ||
import { useRouter } from "vue-router/composables"; | ||
import _l from "@/utils/localization"; | ||
interface Props { | ||
message: String | null | undefined; | ||
createButtonId: string; | ||
createRoute: string; | ||
} | ||
defineProps<Props>(); | ||
const router = useRouter(); | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<p> | ||
{{ message || "" }} | ||
</p> | ||
<BRow class="mb-3"> | ||
<BCol> | ||
<BButton :id="createButtonId" class="m-1 float-right" @click="router.push(createRoute)"> | ||
<FontAwesomeIcon icon="plus" /> | ||
{{ _l("Create") }} | ||
</BButton> | ||
</BCol> | ||
</BRow> | ||
</div> | ||
</template> |
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,25 @@ | ||
import _l from "@/utils/localization"; | ||
|
||
export const NAME_FIELD = { | ||
key: "name", | ||
label: _l("Name"), | ||
sortable: true, | ||
}; | ||
|
||
export const DESCRIPTION_FIELD = { | ||
key: "description", | ||
label: _l("Description"), | ||
sortable: true, | ||
}; | ||
|
||
export const TYPE_FIELD = { | ||
key: "type", | ||
label: _l("Type"), | ||
sortable: true, | ||
}; | ||
|
||
export const TEMPLATE_FIELD = { | ||
key: "template", | ||
label: _l("From Template"), | ||
sortable: true, | ||
}; |
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,5 @@ | ||
import { library } from "@fortawesome/fontawesome-svg-core"; | ||
import { faCaretDown, faPlus } from "@fortawesome/free-solid-svg-icons"; | ||
|
||
library.add(faCaretDown); | ||
library.add(faPlus); |
Oops, something went wrong.