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

Component wrapper - tab - part 3 #54

Open
wants to merge 49 commits into
base: component-wrappers
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4da2e13
Add g-input wrapper for b-input
dannon Jul 12, 2023
a77420b
Add g-input wrapper for b-input
dannon Jul 12, 2023
3a8d3a4
Add GAlert wrapper for BAlert
itisAliRH Jul 14, 2023
85a7618
Add GLink wrapper for BLink
itisAliRH Jul 14, 2023
3dce2f1
Change all `b-form-input`s to `GInput`s
ahmedhamidawan Jul 14, 2023
b61901a
Change all `b-form-input`s to `GInput`s
ahmedhamidawan Jul 14, 2023
5d2fb72
Add GInputGroup, GInputGroupAppend, GInputGroupPrepend and GInputGrou…
itisAliRH Jul 14, 2023
871d845
add `<slot>` to G component wrappers
ahmedhamidawan Jul 15, 2023
ee59748
fix GAlert default colour
itisAliRH Jul 15, 2023
a563717
Add GCol wrapper for BCol
itisAliRH Jul 15, 2023
1465c37
fix slots for GCol, GInputGroupPrepend and GInputGroupText
itisAliRH Jul 15, 2023
0e60036
Add GRow wrapper for BRow
itisAliRH Jul 15, 2023
aa293d9
Add GCardTitle wrapper for BCardTitle
itisAliRH Jul 15, 2023
e35f6e0
Add GCardText wrapper for BCardText
itisAliRH Jul 15, 2023
5c20202
Initial commit; new component file
hujambo-dunia Jul 15, 2023
0a5bdf3
Add GCardBody wrapper for BCardBody
itisAliRH Jul 15, 2023
0bf7b63
Updated references to new component
hujambo-dunia Jul 15, 2023
f8bd74e
Add GCardFooter wrapper for BCardFooter
itisAliRH Jul 15, 2023
4b28279
Add GCardHeader wrapper for BCardHeader
itisAliRH Jul 15, 2023
cc9ebc9
Initial commit; new component file
hujambo-dunia Jul 15, 2023
e3884ec
Add GCardGroup wrapper for BCardGroup
itisAliRH Jul 15, 2023
ba83acc
Add GCardImg wrapper for BCardImg
itisAliRH Jul 15, 2023
12f171f
Updated references to new component
hujambo-dunia Jul 15, 2023
a35dfce
Merge pull request #50 from hujambo-dunia/component-wrapper-tooltip
dannon Jul 15, 2023
96ca79c
Merge branch 'component-wrappers' into component-wrapper-tab
dannon Jul 15, 2023
bb7872e
Merge pull request #51 from hujambo-dunia/component-wrapper-tab
dannon Jul 15, 2023
69a71b8
Add GCard wrapper for BCard
itisAliRH Jul 15, 2023
3dbddb3
Add GProgressBar wrapper for BProgressBar
itisAliRH Jul 15, 2023
acad193
Add GCollapse wrapper for BCollapse
itisAliRH Jul 15, 2023
de283e5
fix slot for GCollapse
itisAliRH Jul 15, 2023
5480216
Add GPagination wrapper for BPagination
itisAliRH Jul 15, 2023
0d2dc3b
Add GContainer wrapper for BContainer
itisAliRH Jul 15, 2023
634b407
Add GBreadcrumbItem wrapper for BBreadcrumbItem
itisAliRH Jul 15, 2023
68e64f8
Add GBreadcrumb wrapper for BBreadcrumb
itisAliRH Jul 15, 2023
f0d475f
Add GBadge wrapper for BBadge
itisAliRH Jul 15, 2023
f203bd7
Add GDropdownText wrapper for BDropdownText
itisAliRH Jul 15, 2023
37d3dfc
Add GDropdownItem wrapper for BDropdownItem
itisAliRH Jul 15, 2023
e6a176d
Add GDropdownDivider wrapper for BDropdownDivider
itisAliRH Jul 15, 2023
ebd7934
Add GDropdownGroup wrapper for BDropdownGroup
itisAliRH Jul 15, 2023
9c14bd5
Add GDropdownForm wrapper for BDropdownForm
itisAliRH Jul 15, 2023
ea51477
Add GDropdown wrapper for BDropdown
itisAliRH Jul 15, 2023
fa02a19
Add GEmbed wrapper for BEmbed
itisAliRH Jul 15, 2023
b8fe262
Add GImg wrapper for BImg
itisAliRH Jul 15, 2023
98e8841
Add GNavItemDropdown wrapper for BNavItemDropdown
itisAliRH Jul 15, 2023
8f6d349
Add GNavItem wrapper for BNavItem
itisAliRH Jul 15, 2023
b2ea0b1
Add GNavbarNav wrapper for BNavbarNav
itisAliRH Jul 15, 2023
5f4d576
Fixed missing import calls; deprecated import calls to Bootstrap-vue
hujambo-dunia Jul 15, 2023
4f97efc
Fixed missing import calls; deprecated import calls to Bootstrap-vue
hujambo-dunia Jul 15, 2023
06563e3
Eslint
hujambo-dunia Jul 15, 2023
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
Prev Previous commit
Next Next commit
Add GCardTitle wrapper for BCardTitle
  • Loading branch information
itisAliRH committed Jul 15, 2023
commit aa293d9d861443c5477a14126c63d8ad709a287a
9 changes: 9 additions & 0 deletions client/src/component-library/GCardTitle.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script setup lang="ts">
import { BCardTitle } from "bootstrap-vue";
</script>

<template>
<BCardTitle v-bind="$attrs" v-on="$listeners">
<slot></slot>
</BCardTitle>
</template>
7 changes: 4 additions & 3 deletions client/src/components/Common/ExportRecordDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import {
faLink,
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { BCard, BCardTitle } from "bootstrap-vue";
import { BCard } from "bootstrap-vue";
import LoadingSpan from "components/LoadingSpan";
import { computed } from "vue";

import { ExportRecordModel } from "./models/exportRecordModel";

import GAlert from "@/component-library/GAlert.vue";
import GCardTitle from "@/component-library/GCardTitle.vue";

library.add(faExclamationCircle, faExclamationTriangle, faCheckCircle, faClock, faLink);

Expand Down Expand Up @@ -63,9 +64,9 @@ function onMessageDismissed() {

<template>
<b-card class="export-record-details">
<b-card-title>
<GCardTitle>
<b>{{ title }}</b> {{ props.record.elapsedTime }}
</b-card-title>
</GCardTitle>
<p v-if="!props.record.isPreparing">
Format: <b class="record-archive-format">{{ props.record.modelStoreFormat }}</b>
</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<script setup>
import axios from "axios";
import { BButtonGroup, BButtonToolbar, BCard, BCardTitle } from "bootstrap-vue";
import { BButtonGroup, BButtonToolbar, BCard } from "bootstrap-vue";
import { useMarkdown } from "composables/markdown";
import { Toast } from "composables/toast";
import { computed, provide, ref } from "vue";

import { InvocationExportPlugin } from "./model";

import ActionButton from "./ActionButton.vue";
import GCardTitle from "@/component-library/GCardTitle.vue";
import StsDownloadButton from "components/StsDownloadButton.vue";
import ExportToRemoteButton from "components/Workflow/Invocation/Export/ExportToRemoteButton.vue";
import ExportToRemoteModal from "components/Workflow/Invocation/Export/ExportToRemoteModal.vue";
Expand Down Expand Up @@ -71,7 +72,7 @@ function onExportToFileSourceFailure() {
<template>
<div>
<b-card class="export-plugin-card mb-1">
<b-card-title class="export-plugin-title align-items-center d-flex justify-content-between">
<GCardTitle class="export-plugin-title align-items-center d-flex justify-content-between">
{{ exportPlugin.title }}
<b-button-toolbar aria-label="Export Options">
<b-button-group>
Expand All @@ -94,7 +95,7 @@ function onExportToFileSourceFailure() {
class="action-button" />
</b-button-group>
</b-button-toolbar>
</b-card-title>
</GCardTitle>

<div class="markdown-description" v-html="descriptionRendered" />
</b-card>
Expand Down