-
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
11 changed files
with
161 additions
and
64 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 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
57 changes: 57 additions & 0 deletions
57
src/Aiplugs.PoshApp/Views/Shared/Components/ActivationNotice.cshtml
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,57 @@ | ||
<template id="activation-notice-component"> | ||
<v-dialog v-model="display" max-width="600"> | ||
<v-card> | ||
<v-card-title>FREE Plan limit exceeded</v-card-title> | ||
<v-card-text> | ||
<v-row align="center"> | ||
<v-col> | ||
<span class="display-2">$0.00</span> | ||
forever | ||
</v-col> | ||
<v-col> | ||
<span class="display-2">$1.49</span> / month・machine | ||
</v-col> | ||
</v-row> | ||
<v-row> | ||
<v-col> | ||
<ul> | ||
<li><span class="font-weight-bold">2</span> repositories</li> | ||
<li><span class="font-weight-bold">10</span> scripts / repository</li> | ||
</ul> | ||
</v-col> | ||
<v-col> | ||
<ul> | ||
<li>Unlimited repositories</li> | ||
<li>Unlimites scripts</li> | ||
</ul> | ||
</v-col> | ||
</v-row> | ||
</v-card-text> | ||
<v-divider></v-divider> | ||
<v-card-actions> | ||
<v-spacer></v-spacer> | ||
<v-btn text v-on:click="hideActivationNotice">No thank you</v-btn> | ||
<v-btn color="primary" v-on:click="moveToActivation">Activate</v-btn> | ||
</v-card-actions> | ||
</v-card> | ||
</v-dialog> | ||
</template> | ||
<script> | ||
Vue.component('activationnotice', { | ||
template: '#activation-notice-component', | ||
computed: { | ||
...Vuex.mapState('activation', ['display']) | ||
}, | ||
methods: { | ||
...Vuex.mapMutations('activation', ['hideActivationNotice']), | ||
...Vuex.mapActions('activation', ['loadActivationStatus']), | ||
moveToActivation() { | ||
this.hideActivationNotice(); | ||
this.$router.push('/settings/activation'); | ||
} | ||
}, | ||
mounted() { | ||
this.loadActivationStatus(); | ||
} | ||
}) | ||
</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
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,10 @@ | ||
<template id="version-component"> | ||
<div> | ||
Version @ViewBag.Version | ||
</div> | ||
</template> | ||
<script> | ||
Vue.component('Version', { | ||
template: '#version-component' | ||
}) | ||
</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