このコミットが含まれているのは:
テクニカル諏訪子 2018-01-24 16:58:42 +01:00
コミット 564a7cac69
3個のファイルの変更43行の追加33行の削除

ファイルの表示

@ -1,23 +1,32 @@
<template> <template>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2"> <div class="col-md-12">
<div class="panel panel-default"> {{ changelog }}
<div class="panel-heading">Example Component</div> </div>
<div class="panel-body">
I'm an example component!
</div>
</div>
</div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
mounted() { name: 'entry-changelog',
console.log('Component mounted.') data: function () {
return {
id: 1,
changelog: ''
}
},
created: function () {
axios.get('/api/rpc/file/getfilechangelog' + this.id).then(data => {
this.changelog = data.data.changelog;
})
} }
} }
</script> </script>
<style>
.col {
text-align: center;
}
</style>

ファイルの表示

@ -1,23 +1,32 @@
<template> <template>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2"> <div class="col-md-12">
<div class="panel panel-default"> {{ description }}
<div class="panel-heading">Example Component</div> </div>
<div class="panel-body">
I'm an example component!
</div>
</div>
</div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
mounted() { name: 'entry-description',
console.log('Component mounted.') data: function () {
return {
id: 1,
description: ''
}
},
created: function () {
axios.get('/api/rpc/file/getfiledescription' + this.id).then(data => {
this.description = data.data.description;
})
} }
} }
</script> </script>
<style>
.col {
text-align: center;
}
</style>

ファイルの表示

@ -1,14 +1,8 @@
<template> <template>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2"> <div class="col-md-12">
<div class="panel panel-default"> (IMG)
<div class="panel-heading">Example Component</div>
<div class="panel-body">
I'm an example component!
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -16,8 +10,6 @@
<script> <script>
export default { export default {
mounted() { name: 'entry-screenshots'
console.log('Component mounted.')
}
} }
</script> </script>