🚧 Site > Add file
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<template src="./template.html"></template>
|
||||
<script src="./script.js"></script>
|
||||
<style src="./style.styl" lang="stylus" scoped></style>
|
||||
@@ -0,0 +1,16 @@
|
||||
import Versions from '@/components/versions'
|
||||
|
||||
export default
|
||||
{
|
||||
name: 'file',
|
||||
|
||||
components:
|
||||
{
|
||||
Versions
|
||||
},
|
||||
|
||||
props:
|
||||
{
|
||||
content: { type: Object }
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="file">
|
||||
<header>
|
||||
File
|
||||
{{ content.path.directory }} {{ content.name }}
|
||||
</header>
|
||||
<versions :content="content.versions"></versions>
|
||||
</div>
|
||||
Reference in New Issue
Block a user