added page for API documentation,
added content for page About
This commit is contained in:
19
webapp/src/views/API.vue
Normal file
19
webapp/src/views/API.vue
Normal file
@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div id="api">
|
||||
<h1>API</h1>
|
||||
<p>
|
||||
API prípojny bod je dostupná na adrese
|
||||
<a href="{{ api_endpoint }}">{{ api_endpoint }}</a
|
||||
>.
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
api_endpoint: window.location.origin + __SUBPATH__ + "api.php",
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@ -1,6 +1,40 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>O aplikácii</h1>
|
||||
<router-link to="/">Späť domov</router-link>
|
||||
<div id="about">
|
||||
<div>
|
||||
<h1>O aplikácii</h1>
|
||||
<img src="public/bugreport.svg" height="100" alt="" />
|
||||
<h2>Bug Report</h2>
|
||||
<p>Verzia aplikácie: {{ version }} | Zostavené: {{ build }}</p>
|
||||
<p>Autor: <a href="mailto:mino@tpsoft.org">Ing. Igor Miňo</a></p>
|
||||
<p>
|
||||
Backend:
|
||||
<a href="https://www.php.net" target="_blank"
|
||||
><img src="public/php-power-micro.png" alt="" /> PHP 8.2</a
|
||||
>
|
||||
| Databaza:
|
||||
<a href="https://www.sqlite.org" target="_blank"
|
||||
><img src="public/SQLite370.svg" height="20" alt="" /> SQLite</a
|
||||
>
|
||||
| Frontend:
|
||||
<a href="https://vuejs.org" target="_blank"><img src="public/vue.svg" height="20" alt="" /> Vue 3</a>
|
||||
</p>
|
||||
<p>
|
||||
Zdrojové kódy:
|
||||
<a href="https://git.tpsoft.org/bugreport" target="_blank"
|
||||
>https://git.tpsoft.org/bugreport</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
version: __APP_VERSION__,
|
||||
build: __BUILD_DATE__,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user