improved import result screen
This commit is contained in:
@@ -202,9 +202,21 @@ export default function EPUBImportPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="flex gap-4 mt-6">
|
<div className="flex flex-wrap gap-4 mt-6">
|
||||||
<Button
|
<Button
|
||||||
onClick={() => router.push(`/stories/${importResult.storyId}`)}
|
onClick={() => router.push(`/stories/${importResult.storyId}`)}
|
||||||
|
>
|
||||||
|
Read Story
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => router.push(`/stories/${importResult.storyId}/edit`)}
|
||||||
|
variant="secondary"
|
||||||
|
>
|
||||||
|
Edit Story
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => router.push(`/stories/${importResult.storyId}/detail`)}
|
||||||
|
variant="secondary"
|
||||||
>
|
>
|
||||||
View Story
|
View Story
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -445,9 +445,21 @@ export default function FileImportPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="flex gap-4 mt-6">
|
<div className="flex flex-wrap gap-4 mt-6">
|
||||||
<Button
|
<Button
|
||||||
onClick={() => router.push(`/stories/${importResult.storyId}`)}
|
onClick={() => router.push(`/stories/${importResult.storyId}`)}
|
||||||
|
>
|
||||||
|
Read Story
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => router.push(`/stories/${importResult.storyId}/edit`)}
|
||||||
|
variant="secondary"
|
||||||
|
>
|
||||||
|
Edit Story
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => router.push(`/stories/${importResult.storyId}/detail`)}
|
||||||
|
variant="secondary"
|
||||||
>
|
>
|
||||||
View Story
|
View Story
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user