feat: burn is better than deleted here
This commit is contained in:
@@ -55,8 +55,8 @@ pub fn created(key: String) -> String {
|
|||||||
text("The server never stores or sees the decryption key."),
|
text("The server never stores or sees the decryption key."),
|
||||||
]),
|
]),
|
||||||
html.div([attribute.class("notice")], [
|
html.div([attribute.class("notice")], [
|
||||||
html.strong([], [text("Burn after reading")]),
|
html.strong([], [text("Beware")]),
|
||||||
text(" — This paste will be deleted after the first view"),
|
text(" — This paste will be burned after the first view!"),
|
||||||
]),
|
]),
|
||||||
html.div(
|
html.div(
|
||||||
[attribute.attribute("data-paste-id", key), attribute.class("hidden")],
|
[attribute.attribute("data-paste-id", key), attribute.class("hidden")],
|
||||||
@@ -100,7 +100,7 @@ pub fn not_found() -> String {
|
|||||||
layout.card([
|
layout.card([
|
||||||
html.h2([], [text("Paste not found")]),
|
html.h2([], [text("Paste not found")]),
|
||||||
html.p([], [
|
html.p([], [
|
||||||
text("This paste may have already been viewed and deleted."),
|
text("This content has already been burned 🔥"),
|
||||||
]),
|
]),
|
||||||
html.a([attribute.href("/"), attribute.class("btn-primary")], [
|
html.a([attribute.href("/"), attribute.class("btn-primary")], [
|
||||||
text("Create New Paste"),
|
text("Create New Paste"),
|
||||||
|
|||||||
Reference in New Issue
Block a user