-
Notifications
You must be signed in to change notification settings - Fork 1
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
7 changed files
with
585 additions
and
690 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set -o allexport | ||
source .env | ||
set +o allexport | ||
|
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 |
---|---|---|
@@ -1,23 +1,28 @@ | ||
<template> | ||
<div class="main"> | ||
<Navbar /> | ||
<Navbar v-bind:authenticated="isAuthenticated"/> | ||
<router-view></router-view> | ||
<PageFoot /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Navbar from './components/Navbar' | ||
import PageFoot from './components/Footer' | ||
import Profile from './components/UserProfile' | ||
import Navbar from "./components/Navbar"; | ||
import PageFoot from "./components/Footer"; | ||
import Profile from "./components/UserProfile"; | ||
export default { | ||
props: ['type'], | ||
props: ["type"], | ||
components: { | ||
Navbar, | ||
PageFoot, | ||
Profile | ||
}, | ||
name: 'mainModule' | ||
} | ||
computed: { | ||
isAuthenticated: function() { | ||
return this.$router.currentRoute.fullPath.includes("/manage/"); | ||
} | ||
}, | ||
name: "mainModule" | ||
}; | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<template> | ||
<div class="container-fluid mt-2"> | ||
<div class="row mb-2"> | ||
<div class="col col-sm-12"> | ||
<h1 class="mt-2">Sites Manager</h1> | ||
<div class="container-fluid mt-2"> | ||
<div class="row mb-2"> | ||
<div class="col col-sm-12"> | ||
<h1 class="mt-2">Sites Manager</h1> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col col-md-2"> | ||
<b-list-group> | ||
<b-list-group-item to="/manage/packages">Packages</b-list-group-item> | ||
<b-list-group-item href="#" disabled>Static Sites</b-list-group-item> | ||
</b-list-group> | ||
</div> | ||
<div class="col col-md-10"> | ||
<router-view></router-view> | ||
<div class="row mb-3"> | ||
<div class="col col-md-2"> | ||
<b-list-group> | ||
<b-list-group-item to="/manage/packages">Packages</b-list-group-item> | ||
<b-list-group-item href="#" disabled>Static Sites</b-list-group-item> | ||
</b-list-group> | ||
</div> | ||
<div class="col col-md-10"> | ||
<keep-alive include="manage-display-view"> | ||
<router-view></router-view> | ||
</keep-alive> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'manage-view' | ||
} | ||
name: "manage-view" | ||
}; | ||
</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
Oops, something went wrong.