1
0
Fork 0
mirror of https://github.com/Luzifer/mapshare.git synced 2024-11-09 21:50:00 +00:00
mapshare/frontend/index.html
Knut Ahlers 06f0ee68cd
Add german localization
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-01-08 22:36:29 +01:00

61 lines
1.8 KiB
HTML

<html>
<title>MapShare</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/asset/combine.css">
<link rel="stylesheet" href="/asset/fontawesome/css/all.min.css">
<link rel="stylesheet" href="/asset/app.css">
<div id="app">
<div id="map"></div>
<b-modal
centered
hide-footer
hide-header
no-close-on-backdrop
no-close-on-esc
size="sm"
:visible="(!loc || loc.sender_id === browserID) && !shareActive"
>
<div class="text-center">
<p class="mb-0">
<i class="fa fa-spinner fa-pulse fa-4x mb-3"></i><br>
{{ $t('waitingForLocation') }}
</p>
<p class="mt-3" v-if="navigator.geolocation">
<b-button-group>
<b-btn
@click="shareLocation"
variant="primary"
>
{{ $t('btnShareMyLocation') }}
</b-btn>
<b-btn @click="shareSettingsOpen = !shareSettingsOpen">
<i class="fa fa-cog"></i>
</b-btn>
</b-button-group>
</p>
</div>
</b-modal>
<b-modal
centered
@hidden="shareSettingsOpen = false"
ok-only
:ok-title="$t('btnModalOK')"
:title="$t('shareSettings')"
:visible="shareSettingsOpen"
>
<b-form-checkbox v-model="shareSettings.continuous" switch>
{{ $t('optKeepSending') }}<br><small>{{ $t('optKeepSendingSub') }}</small>
</b-form-checkbox>
<b-form-checkbox class="mt-3" v-model="shareSettings.retained" switch>
{{ $t('optRetainLocation') }}<br><small>{{ $t('optRetainLocationSub') }}</small>
</b-form-checkbox>
</b-modal>
</div>
<script src="/asset/combine.js"></script>
<script src="/asset/app.js"></script>
</html>