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

ファイルの表示

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

ファイルの表示

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

ファイルの表示

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