🚧 Site > Add file

This commit is contained in:
brunosimon
2017-08-10 01:29:46 +02:00
parent 5cac120de2
commit f7a52d970b
17 changed files with 106 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
<template src="./template.html"></template>
<script src="./script.js"></script>
<style src="./style.styl" lang="stylus" scoped></style>
+16
View File
@@ -0,0 +1,16 @@
import Versions from '@/components/versions'
export default
{
name: 'file',
components:
{
Versions
},
props:
{
content: { type: Object }
}
}
+12
View File
@@ -0,0 +1,12 @@
.file
position absolute
top 0
right 0
width 75%
height 100%
background rgba(0, 255, 0, 0.3)
header
position absolute
top 0
left 0
+7
View File
@@ -0,0 +1,7 @@
<div class="file">
<header>
File
{{ content.path.directory }} {{ content.name }}
</header>
<versions :content="content.versions"></versions>
</div>