-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #284 from mieweb/develop
Add html hot reload Fix slugify and server Fix few UI issues Fix eslint vue location Fix tests Fix sharing folder
- Loading branch information
Showing
52 changed files
with
1,357 additions
and
309 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,29 @@ | ||
<template> | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | ||
<router-link v-if="!isSinglePreview && rootFolder.name" class="navbar-brand" :to="{ name: 'drive', params: {driveId} }">{{ rootFolder.name }}</router-link> | ||
<span class="navbar-brand" v-else-if="!isSinglePreview">WikiGDrive</span> | ||
<!-- <button class="navbar-toggler" type="button" data-toggle="collapse" @click="show = !show"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button>--> | ||
<slot></slot> | ||
<!-- <div class="collapse navbar-collapse" :class="{ show: show }"> | ||
</div>--> | ||
</nav> | ||
</template> | ||
<script> | ||
import {UtilsMixin} from './UtilsMixin.mjs'; | ||
export default { | ||
mixins: [ UtilsMixin ], | ||
data() { | ||
return { | ||
show: false | ||
}; | ||
}, | ||
computed: { | ||
rootFolder() { | ||
return this.$root.drive; | ||
} | ||
} | ||
}; | ||
</script> |
2 changes: 1 addition & 1 deletion
2
...rver/static/assets/components/NavTabs.vue → apps/ui/assets/components/NavTabs.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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
23 changes: 13 additions & 10 deletions
23
...erver/static/assets/layout/BaseLayout.vue → apps/ui/assets/layout/BaseLayout.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
File renamed without changes.
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,47 @@ | ||
@import "mie.css"; | ||
|
||
:root { | ||
--sidebar-width: 600px; | ||
--navbar-height: 60px; | ||
} | ||
|
||
/** | ||
* Body CSS | ||
*/ | ||
html, | ||
body, | ||
#app, #main { | ||
height: 100%; | ||
} | ||
|
||
#main { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
nav { | ||
/*height: var(--navbar-height);*/ | ||
/*max-height: 60px;*/ | ||
justify-content: space-between; | ||
display: flex; | ||
align-items: center; | ||
background-color: #2196F3; | ||
color: #FFF; | ||
} | ||
|
||
.navbar { | ||
min-height: var(--navbar-height); | ||
padding: 0; | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
} | ||
|
||
/* Autolinker */ | ||
|
||
.token a { | ||
color: inherit; | ||
} | ||
|
||
pre[class*=language-] { | ||
margin-top: 0 !important; | ||
} |
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
6 changes: 0 additions & 6 deletions
6
...server/static/assets/pages/DrivesView.vue → apps/ui/assets/pages/DrivesView.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
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
File renamed without changes.
Oops, something went wrong.