ページのソースを見れるように
This commit is contained in:
parent
76c538ad25
commit
79c49bc926
7 changed files with 113 additions and 27 deletions
|
|
@ -11,6 +11,7 @@
|
|||
<footer>
|
||||
<small>@{{ page.user.username }}</small>
|
||||
<router-link v-if="$store.getters.isSignedIn && $store.state.i.id === page.userId" :to="`/i/pages/edit/${page.id}`">{{ $t('edit-this-page') }}</router-link>
|
||||
<router-link :to="`./${page.name}/view-source`">{{ $t('view-source') }}</router-link>
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -154,4 +155,10 @@ export default Vue.extend({
|
|||
display block
|
||||
opacity 0.5
|
||||
|
||||
> a
|
||||
font-size 14px
|
||||
|
||||
> a + a
|
||||
margin-left 8px
|
||||
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue