diff options
| author | Alexander Kavon <me+git@alexkavon.com> | 2025-11-06 00:36:54 -0500 |
|---|---|---|
| committer | Alexander Kavon <me+git@alexkavon.com> | 2025-11-06 00:36:54 -0500 |
| commit | 9741661072905b51ddaa34ad6cc0a0abd9589b93 (patch) | |
| tree | f4c67b3cfd69dd60497be39e6b927c7f0dc6a083 /static/dm_slide.xsl | |
| parent | 7d1b28c68f1dfccd4864869bcf9568cd5aba0349 (diff) | |
remove extra data
Diffstat (limited to 'static/dm_slide.xsl')
| -rw-r--r-- | static/dm_slide.xsl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/static/dm_slide.xsl b/static/dm_slide.xsl new file mode 100644 index 0000000..3c12582 --- /dev/null +++ b/static/dm_slide.xsl @@ -0,0 +1,32 @@ +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="html" indent="yes" /> + <xsl:include href="templates.xsl" /> + + <xsl:param name="icon"> + <xsl:text>mail</xsl:text> + </xsl:param> + <xsl:param name="title"> + <xsl:text>Slide into my DMs</xsl:text> + </xsl:param> + <xsl:param name="message-placeholder"> + <xsl:text>Hey I think I might build an idol and start worshiping you. Which of the following materials would please you? Platinum, Gold, Silver,...</xsl:text> + </xsl:param> + + <xsl:param name="content"> + <!-- different interactive messaging elements, Chat via email, leave a voice message, leave a video message, send a letter, send a fax --> + <form id="contact-form" method="POST" action="/slide_in"> + <input name="your_name" placeholder="ur name" /> + <input name="your_email" placeholder="your@ema.il" /> + <textarea name="your_message" placeholder="{$message-placeholder}" row="5"></textarea> + <button type="submit">Transmit</button> + </form> + </xsl:param> + + <xsl:template match="/"> + <xsl:call-template name="page"> + <xsl:with-param name="icon" select="$icon" /> + <xsl:with-param name="title" select="$title" /> + <xsl:with-param name="content" select="$content" /> + </xsl:call-template> + </xsl:template> +</xsl:stylesheet> |
