Skip to content
Snippets Groups Projects
Select Git revision
  • dbe4e34c9824dc4215676699bff053574ed80595
  • master default protected
  • gitkeep
  • dev protected
  • Issue/2218-updateLinksToDocumentationPage
  • Issue/1913-ModificationsResourceMetadata
  • Sprint/2022-01
  • Hotfix/1911-fixFormatting
  • Sprint/2021-2022
  • Issue/912-rearrangeHeader
  • Sprint/2021-22
  • Issue/1743-changedLink
  • Issue/1659-makeViewCardsALink
  • Sprint/2021-15
  • Product/1573-ReadOnlyResources
  • x/linting
  • Topic/1595-IncludeReadonlyValueInResourcesApp
  • Topic/1531-UseMangmntTableView
  • Product/1548-projectInviteMngmnt
  • Sprint/2021-08
  • Hotfix/1475-projectCreateSpinner
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.0
  • v1.8.1
  • v1.8.0
  • v1.7.0
  • v1.6.2
  • v1.6.1
  • v1.6.0
  • v1.5.0
  • v1.4.1
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.0
41 results

Delete.vue

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Delete.vue 590 B
    <template>
      <b-button class="coscine_delete" @click="deleteItem">{{ btnText }}</b-button> 
    </template>
    
    <script lang="ts">
    import Vue from 'vue';
    import BootstrapVue from 'bootstrap-vue';
    Vue.use(BootstrapVue);
    
    export default Vue.extend({
      name: 'CoscineDelete',
      props: {
        btnText: {
          default: 'Delete',
          type: String,
        },
      },
      methods: {
        deleteItem() {
          this.$emit('delete');
        },
      },
    });
    </script>
    <style scoped>
    .coscine_delete:hover {
      /*background-color: #9b0517; */
      background-color: #cc071e;
      border-color: #8e0515;
      color: #ffffff;
    }
    </style>