mirror of
https://github.com/frappe/books.git
synced 2024-12-23 19:39:07 +00:00
incr: shift version to system settings
- change db is a separate button
This commit is contained in:
parent
b85f5db980
commit
8d327f07fa
@ -13,30 +13,15 @@
|
|||||||
>
|
>
|
||||||
<h6
|
<h6
|
||||||
class="
|
class="
|
||||||
text-xl
|
|
||||||
font-semibold
|
font-semibold
|
||||||
whitespace-nowrap
|
whitespace-nowrap
|
||||||
overflow-auto
|
overflow-auto
|
||||||
no-scrollbar
|
no-scrollbar
|
||||||
select-none
|
select-none
|
||||||
w-32
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ companyName }}
|
{{ companyName }}
|
||||||
</h6>
|
</h6>
|
||||||
<feather-icon
|
|
||||||
class="
|
|
||||||
w-5
|
|
||||||
h-5
|
|
||||||
ml-1
|
|
||||||
stroke-2
|
|
||||||
cursor-pointer
|
|
||||||
text-gray-600
|
|
||||||
hover:text-gray-800
|
|
||||||
"
|
|
||||||
name="chevron-down"
|
|
||||||
@click="$emit('change-db-file')"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Sidebar Items -->
|
<!-- Sidebar Items -->
|
||||||
@ -93,17 +78,36 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Report Issue and App Version -->
|
<!-- Report Issue and App Version -->
|
||||||
<div class="px-5 window-no-drag">
|
<div class="window-no-drag flex flex-col gap-2 p-2">
|
||||||
<p v-if="fyo.store.isDevelopment" class="text-sm text-gray-600">
|
|
||||||
Development
|
|
||||||
</p>
|
|
||||||
<button
|
<button
|
||||||
class="pb-1 text-sm text-gray-600 hover:text-gray-800 w-full text-left"
|
class="
|
||||||
|
flex
|
||||||
|
text-sm text-gray-600
|
||||||
|
hover:text-gray-800
|
||||||
|
gap-1
|
||||||
|
items-center
|
||||||
|
"
|
||||||
@click="() => reportIssue()"
|
@click="() => reportIssue()"
|
||||||
>
|
>
|
||||||
|
<feather-icon name="flag" class="h-4 w-4" />
|
||||||
|
<p>
|
||||||
{{ t`Report Issue` }}
|
{{ t`Report Issue` }}
|
||||||
|
</p>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
class="
|
||||||
|
flex
|
||||||
|
text-sm text-gray-600
|
||||||
|
hover:text-gray-800
|
||||||
|
gap-1
|
||||||
|
items-center
|
||||||
|
"
|
||||||
|
@click="$emit('change-db-file')"
|
||||||
|
>
|
||||||
|
<feather-icon name="database" class="h-4 w-4" />
|
||||||
|
<p>{{ t`Change DB` }}</p>
|
||||||
</button>
|
</button>
|
||||||
<p class="pb-3 text-sm text-gray-600 select-none">v{{ appVersion }}</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -8,10 +8,15 @@
|
|||||||
:emit-change="true"
|
:emit-change="true"
|
||||||
@change="forwardChangeEvent"
|
@change="forwardChangeEvent"
|
||||||
/>
|
/>
|
||||||
|
<div class="flex p-4 justify-between">
|
||||||
<LanguageSelector
|
<LanguageSelector
|
||||||
class="text-sm w-28 bg-gray-100 rounded-md mb-4 ml-4"
|
class="text-sm w-28 bg-gray-100 rounded-md"
|
||||||
input-class="py-1.5 bg-transparent"
|
input-class="py-1.5 bg-transparent"
|
||||||
/>
|
/>
|
||||||
|
<p class="mt-auto text-gray-600 text-base select-none">
|
||||||
|
{{ `v${fyo.store.appVersion}` }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user