This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="flex flex-row justify-between w-full lg:w-auto gap-2 p-2 bg-gray-100 shadow dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-600"
|
class="flex flex-col sm:flex-row justify-between w-full lg:w-auto gap-2 p-2 bg-gray-100 shadow dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-600"
|
||||||
>
|
>
|
||||||
<dev class="">
|
<dev class="">
|
||||||
<input
|
<input
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
placeholder="URL источника"
|
placeholder="URL источника"
|
||||||
readonly
|
readonly
|
||||||
class="flex-1 m-1 h-12 dark:bg-gray-900 border-slate-100 shadow rounded-xl p-3 min-w-0"
|
class="flex-1 sm:mr-1 h-12 dark:bg-gray-900 border-slate-100 shadow rounded-xl p-3 w-2/3 sm:min-w-0"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
@@ -16,21 +16,21 @@
|
|||||||
type="text"
|
type="text"
|
||||||
placeholder="Промт"
|
placeholder="Промт"
|
||||||
readonly
|
readonly
|
||||||
class="flex-1 m-1 h-12 dark:bg-gray-900 border-slate-100 shadow rounded-xl p-3 max-w-20"
|
class="flex-1 h-12 dark:bg-gray-900 border-slate-100 shadow rounded-xl p-3 w-1/3 sm:max-w-20"
|
||||||
/>
|
/>
|
||||||
</dev>
|
</dev>
|
||||||
<div class="min-w-40">
|
<div class="min-w-40">
|
||||||
<button
|
<button
|
||||||
@click="deleteParsing"
|
@click="deleteParsing"
|
||||||
:disabled="isDeleting"
|
:disabled="isDeleting"
|
||||||
class="w-9 h-11 m-1 bg-rose-600 hover:bg-rose-800 shadow text-white rounded-xl cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
|
class="w-1/3 sm:w-9 h-11 sm:mr-1 bg-rose-600 hover:bg-rose-800 shadow text-white rounded-xl cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
|
||||||
>
|
>
|
||||||
X
|
X
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
@click="startParsing"
|
@click="startParsing"
|
||||||
:disabled="isLoading"
|
:disabled="isLoading"
|
||||||
class="w-25 h-11 m-1 dark:bg-orange-500 hover:dark:bg-orange-600 shadow text-white bg-sky-700 hover:bg-sky-900 rounded-xl px-2 cursor-pointer whitespace-nowrap disabled:opacity-50 disabled:cursor-not-allowed"
|
class="w-2/3 sm:w-25 h-11 dark:bg-orange-500 hover:dark:bg-orange-600 shadow text-white bg-sky-700 hover:bg-sky-900 rounded-xl px-2 cursor-pointer whitespace-nowrap disabled:opacity-50 disabled:cursor-not-allowed"
|
||||||
>
|
>
|
||||||
{{ isLoading ? "..." : "Start" }}
|
{{ isLoading ? "..." : "Start" }}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user