web_search toolbar

This commit is contained in:
Rafi
2023-03-22 23:29:58 +08:00
parent 837fd8c9ff
commit e90dc0c12b

View File

@@ -197,9 +197,9 @@ const deleteMessage = (index) => {
<div ref="grab" class="w-100" style="height: 200px;"></div> <div ref="grab" class="w-100" style="height: 200px;"></div>
</div> </div>
<Welcome v-else /> <Welcome v-else />
<v-footer app class="d-flex flex-column"> <v-footer app>
<div class="px-md-16 w-100 d-flex align-center"> <div class="px-md-16 w-100 d-flex flex-column">
<Prompt v-show="!fetchingResponse" :use-prompt="usePrompt" /> <div class="d-flex align-center">
<v-btn <v-btn
v-show="fetchingResponse" v-show="fetchingResponse"
icon="close" icon="close"
@@ -209,9 +209,36 @@ const deleteMessage = (index) => {
></v-btn> ></v-btn>
<MsgEditor ref="editor" :send-message="send" :disabled="fetchingResponse" :loading="fetchingResponse" /> <MsgEditor ref="editor" :send-message="send" :disabled="fetchingResponse" :loading="fetchingResponse" />
</div> </div>
<v-toolbar>
<Prompt v-show="!fetchingResponse" :use-prompt="usePrompt" />
<v-switch
hide-details
inset
color="primary"
label="Search on the web"
></v-switch>
<v-btn
icon
class="hidden-xs-only"
>
<v-icon>mdi-arrow-left</v-icon>
</v-btn>
<div class="px-4 py-2 text-disabled text-caption font-weight-light text-center w-100"> <v-toolbar-title>Title</v-toolbar-title>
© {{ new Date().getFullYear() }} {{ runtimeConfig.public.appName }}
<v-spacer></v-spacer>
<v-btn
icon
class="hidden-xs-only"
>
<v-icon>mdi-magnify</v-icon>
</v-btn>
</v-toolbar>
<!-- <div class="py-2 text-disabled text-caption font-weight-light text-center">-->
<!-- © {{ new Date().getFullYear() }} {{ runtimeConfig.public.appName }}-->
<!-- </div>-->
</div> </div>
</v-footer> </v-footer>
<v-snackbar <v-snackbar