template back buttons

This commit is contained in:
Brandon Thomas committed 2021-08-19 00:56:43 -04:00
1 parent 15866e6cca
commit 00aeaba697
2 files changed
+17

No files matched your search

+4
View File
@@ -34,6 +34,10 @@ class FrontendUrlConfig {
// W2L template links
static w2lListPage() : string {
return '/video';
}
static w2lTemplatePage(templateToken: string) : string {
return `/w2l/${templateToken}`;
}
@@ -318,6 +318,12 @@ function W2lTemplateViewFc(props: Props) {
<div>
<h1 className="title is-1"> Video lip sync template </h1>
<div className="content">
<p>
<Link to={FrontendUrlConfig.w2lListPage()}>&lt; Back to all templates</Link>
</p>
</div>
<div className="content is-size-4">
<p>
Upload audio from vo.codes or any other source (music, other websites),
@@ -433,6 +439,13 @@ function W2lTemplateViewFc(props: Props) {
<br />
<SessionW2lInferenceResultListFc w2lInferenceJobs={props.w2lInferenceJobs} />
<div className="content">
<p>
<Link to={FrontendUrlConfig.w2lListPage()}>&lt; Back to all templates</Link>
</p>
</div>
<br />
<ReportDiscordLinkFc />
</div>