4
2
mirror of https://github.com/getbible/app.git synced 2024-11-16 01:57:14 +00:00

solved conflicts

This commit is contained in:
Erastus Amunwe 2020-10-27 22:47:04 +02:00
commit f472fd0530
2 changed files with 180 additions and 164 deletions

View File

@ -1,10 +1,18 @@
<template> <template>
<div class="uk-margin uk-container">
<div class="uk-margin uk-align-right">
<a href="https://github.com/getbible" class="uk-icon-button uk-margin-small-left" uk-icon="github"></a>
<a href="https://www.facebook.com/TheHolyScriptures" class="uk-icon-button uk-margin-small-left" uk-icon="facebook"></a>
<a href="https://truechristian.church/whybible" class="uk-icon-button uk-margin-small-left" uk-icon="world"></a>
</div>
<nav class="uk-navbar-container uk-navbar-transparent uk-margin" uk-navbar> <nav class="uk-navbar-container uk-navbar-transparent uk-margin" uk-navbar>
<div class="uk-navbar-left"> <div class="uk-navbar-left">
<a class="uk-navbar-item uk-logo" href="#">GetBible</a> <a class="uk-navbar-item uk-logo" href="#">GetBible</a>
<a href="#offcanvas-slide" class="uk-navbar-item uk-search uk-search-default" uk-toggle><span uk-icon="icon: search; ratio:2"></span></a> <a href="#offcanvas-slide" class="uk-navbar-item uk-search uk-search-default" uk-toggle><span uk-icon="icon: search; ratio:2"></span>Search</a>
<div id="offcanvas-slide" uk-offcanvas> <div id="offcanvas-slide" uk-offcanvas>
<div class="uk-offcanvas-bar"> <div class="uk-offcanvas-bar">
@ -25,30 +33,29 @@
<div class="uk-margin"> <div class="uk-margin">
<div class="uk-button-group"> <div class="uk-button-group">
<button class="uk-button uk-button-default uk-button-small">All</button> <button class="uk-button uk-button-default uk-button-small uk-active">ALL WORDS</button>
<button class="uk-button uk-button-default uk-button-small">Any</button> <button class="uk-button uk-button-default uk-button-small">ANY WORDS</button>
<button class="uk-button uk-button-default uk-button-small">Phrase</button> <button class="uk-button uk-button-default uk-button-small">PHRASE</button>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<div class="uk-button-group"> <div class="uk-button-group">
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small uk-active">BIBLE</button>
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small">OT</button>
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small">NT</button>
<button class="uk-button uk-button-default uk-button-small">CHAPTER</button>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<div class="uk-button-group"> <div class="uk-button-group">
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small uk-active">EXACT MATCH</button>
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small">PARTIAL MATCH</button>
<button class="uk-button uk-button-default uk-button-small">Button</button>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<div class="uk-button-group"> <div class="uk-button-group">
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small uk-active">CASE INSENSITIVE</button>
<button class="uk-button uk-button-default uk-button-small">Button</button> <button class="uk-button uk-button-default uk-button-small">CASE SENSITIVE</button>
<!-- <button class="uk-button uk-button-default">Button</button> -->
</div> </div>
</div> </div>
</div> </div>
@ -58,6 +65,7 @@
</div> </div>
<!-- <span class="uk-label uk-label-primary"><span class="uk-badge uk-badge-danger">{{ num_of_tr}} </span>Translations Available</span> --> <!-- <span class="uk-label uk-label-primary"><span class="uk-badge uk-badge-danger">{{ num_of_tr}} </span>Translations Available</span> -->
<a class="uk-navbar-item" href="#" uk-toggle><span uk-icon="icon: history; ratio:2"></span></a>
</div> </div>
<a class="uk-navbar-item uk-position-center-right" href="#modal-sections" uk-toggle><span uk-icon="icon: cog; ratio:2"></span></a> <a class="uk-navbar-item uk-position-center-right" href="#modal-sections" uk-toggle><span uk-icon="icon: cog; ratio:2"></span></a>
@ -77,11 +85,11 @@
v-for="(tr,i) in savedTranslations" v-for="(tr,i) in savedTranslations"
:key="i" :key="i"
><div><span>{{tr["language"]?`(${tr["language"]})`:null}} {{tr['translation']}}</span> ><div><span>{{tr["language"]?`(${tr["language"]})`:null}} {{tr['translation']}}</span>
{{" "}}<a @click="remove(tr.abbreviation)" class="uk-position-center-right uk-position-relative"><span uk-icon="icon: minus-circle;"></span></a> {{" "}}<a @click="remove(tr.abbreviation)" class="uk-position-center-right uk-position-relative"><span class="uk-button uk-button-danger uk-button-small" uk-icon="icon: close;"></span></a>
</div> </li> </div> </li>
<li v-if="!savedTranslations.length">No saved translation</li> <li v-if="!savedTranslations.length">No saved translation</li>
<li>Add <li><b>Add: </b>
<div uk-form-custom="target: > * > span:first-child"> <div uk-form-custom="target: > * > span:first-child">
<select v-model="translation"> <select v-model="translation">
<option selected value="Add Translation...">Add Translation...</option> <option selected value="Add Translation...">Add Translation...</option>
@ -97,7 +105,7 @@
<span uk-icon="icon: chevron-down"></span> <span uk-icon="icon: chevron-down"></span>
</button> </button>
</div> </div>
<a @click="add(translations[translation])" :class="{disabled:!translations[translation]}"><span uk-icon="icon: plus-circle; ratio:2"></span></a> <a @click="add(translations[translation])" :class="{disabled:!translations[translation]}"><span class="uk-button uk-button-primary" uk-icon="icon: plus;"></span></a>
</li> </li>
</ul> </ul>
@ -113,6 +121,7 @@
</div> </div>
</nav> </nav>
</div>
</template> </template>
<script> <script>
import UIkit from 'uikit'; import UIkit from 'uikit';

View File

@ -1,9 +1,9 @@
<template> <template>
<div> <div class="uk-container">
<div class="uk-flex uk-flex-around"> <div class="uk-flex uk-flex-around">
<div class="input-group mb-3 cols-3"> <div class="input-group mb-3 cols-3">
<div class="input-group-prepend"> <div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01"><h3>Translation</h3> </label> <label class="input-group-text" for="inputGroupSelect01"><h4>Translation</h4> </label>
</div> </div>
<select @change="update_bk()" v-model="translation" class="uk-select" id="inputGroupSelect01"> <select @change="update_bk()" v-model="translation" class="uk-select" id="inputGroupSelect01">
<!-- <option selected value="1">Choose...</option> --> <!-- <option selected value="1">Choose...</option> -->
@ -18,7 +18,7 @@
</div> </div>
<div class="input-group mb-3 cols-3"> <div class="input-group mb-3 cols-3">
<div class="input-group-prepend"> <div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01"><h3>Book of</h3> </label> <label class="input-group-text" for="inputGroupSelect01"><h4>Book</h4> </label>
</div> </div>
<select @change="update_ch()" v-model="book" class="uk-select" id="inputGroupSelect01"> <select @change="update_ch()" v-model="book" class="uk-select" id="inputGroupSelect01">
<!-- <option selected value="1">Choose...</option> --> <!-- <option selected value="1">Choose...</option> -->
@ -32,7 +32,7 @@
</div> </div>
<div class="input-group mb-3 cols-3"> <div class="input-group mb-3 cols-3">
<div class="input-group-prepend"> <div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01"><h3>Chapter</h3></label> <label class="input-group-text" for="inputGroupSelect01"><h4>Chapter</h4></label>
</div> </div>
<select @change="update_chapter()" v-model="chapter_num" class="uk-select" id="inputGroupSelect01"> <select @change="update_chapter()" v-model="chapter_num" class="uk-select" id="inputGroupSelect01">
<!-- <option selected value="1">Choose...</option> --> <!-- <option selected value="1">Choose...</option> -->
@ -52,6 +52,13 @@
:book_name="books[book].name" :book_name="books[book].name"
:chapter="fchapters" :chapter="fchapters"
/> />
<div class="uk-margin">
<ul class="uk-pagination">
<li><a href="#"><span class="uk-margin-small-right" uk-pagination-previous></span> Previous Chapter</a></li>
<li class="uk-margin-auto-left"><a href="#">Next Chapter<span class="uk-margin-small-left" uk-pagination-next></span></a></li>
</ul>
</div>
</div> </div>
</template> </template>
<script> <script>