tweak UI
This commit is contained in:
@@ -348,9 +348,15 @@ export const AudioDetail = (props: { id?: string; md5?: string }) => {
|
|||||||
<PingPoint colorClassName="bg-muted" />
|
<PingPoint colorClassName="bg-muted" />
|
||||||
<div className="inline">
|
<div className="inline">
|
||||||
<span>{t("notTranscribedYet")}</span>
|
<span>{t("notTranscribedYet")}</span>
|
||||||
<Button className="ml-4" size="sm">
|
{initialized && (
|
||||||
{t("transcribe")}
|
<Button
|
||||||
</Button>
|
onClick={generateTranscription}
|
||||||
|
className="ml-4"
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
|
{t("transcribe")}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -361,9 +361,15 @@ export const VideoDetail = (props: { id?: string; md5?: string }) => {
|
|||||||
<PingPoint colorClassName="bg-muted" />
|
<PingPoint colorClassName="bg-muted" />
|
||||||
<div className="inline">
|
<div className="inline">
|
||||||
<span>{t("notTranscribedYet")}</span>
|
<span>{t("notTranscribedYet")}</span>
|
||||||
<Button className="ml-4" size="sm">
|
{initialized && (
|
||||||
{t("transcribe")}
|
<Button
|
||||||
</Button>
|
onClick={generateTranscription}
|
||||||
|
className="ml-4"
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
|
{t("transcribe")}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user