Tweaked implementation, fixed email
This commit is contained in:
+13
-13
@@ -1,11 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<script src="node_modules/markdown-it/dist/markdown-it.js"></script>
|
|
||||||
<script src="node_modules/markdown-it-container/dist/markdown-it-container.js"></script>
|
|
||||||
<script src="node_modules/markdown-it-inline-comments/dist/markdown-it-inline-comments.js"></script>
|
|
||||||
<script src="tsorter.min.js"></script>
|
|
||||||
<script src="utilities.js"></script>
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/semantic-ui/2.2.8/semantic.min.css">
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/semantic-ui/2.2.8/semantic.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="styles/shared.css" />
|
<link rel="stylesheet" type="text/css" href="styles/shared.css" />
|
||||||
</head>
|
</head>
|
||||||
@@ -14,28 +9,33 @@
|
|||||||
<!-- header content -->
|
<!-- header content -->
|
||||||
<header>
|
<header>
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<h1 class="ui header centered">Mecha: Immense Warfare Game Rules</h1>
|
<h1 class="ui header centered"><a href="http://mecha.krgamestudios.com">Mecha: Immense Warfare Game Rules</a></h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- navigation buttons -->
|
<!-- navigation buttons -->
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
<div class="four ui buttons">
|
<div class="four ui buttons">
|
||||||
<button class="ui button centered" style="padding-left:0;padding-right:0;" onClick="printMarkdown('rules.md', document.getElementById('content'));">Rules</button>
|
<button class="ui button centered noPadding" onClick="printMarkdown('rules.md', document.getElementById('content'));">Rules</button>
|
||||||
<button class="ui button centered" style="padding-left:0;padding-right:0;" onClick="printCSV('cards.csv', document.getElementById('content'));">Cards</button>
|
<button class="ui button centered noPadding" onClick="printCSV('cards.csv', document.getElementById('content'));">Cards</button>
|
||||||
<button class="ui button centered" style="padding-left:0;padding-right:0;" onClick="printCSV('card_concepts.csv', document.getElementById('content'));">Card Concepts</button>
|
<button class="ui button centered noPadding" onClick="printCSV('card_concepts.csv', document.getElementById('content'));">Card Concepts</button>
|
||||||
<button class="ui button centered" style="padding-left:0;padding-right:0;" onClick="printHTML('feedback.html', document.getElementById('content'))">Feedback</button>
|
<button class="ui button centered noPadding" onClick="printHTML('feedback.html', document.getElementById('content'))">Feedback</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- body content -->
|
<!-- body content -->
|
||||||
<div class="ui container" id="content">This website requires Javascript to function.</div>
|
<div class="ui container" id="content">Loading content... (this website requires Javascript to function)</div>
|
||||||
|
|
||||||
<!-- footer content -->
|
<!-- footer content -->
|
||||||
<footer>
|
<footer>
|
||||||
<p>Copyright Kayne Ruse, KR Game Studios 2016-2017</p>
|
<p>Copyright Kayne Ruse, <a href="http://krgamestudios.com">KR Game Studios</a> 2016-2017</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- end scripts -->
|
<!-- Javascript -->
|
||||||
|
<script src="node_modules/markdown-it/dist/markdown-it.js"></script>
|
||||||
|
<script src="node_modules/markdown-it-container/dist/markdown-it-container.js"></script>
|
||||||
|
<script src="node_modules/markdown-it-inline-comments/dist/markdown-it-inline-comments.js"></script>
|
||||||
|
<script src="tsorter.min.js"></script>
|
||||||
|
<script src="utilities.js"></script>
|
||||||
<script>
|
<script>
|
||||||
printMarkdown("rules.md", document.getElementById("content"));
|
printMarkdown("rules.md", document.getElementById("content"));
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ h1 {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 a {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -50,6 +54,11 @@ footer {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.noPadding {
|
||||||
|
padding-left: 0 !important;
|
||||||
|
padding-right: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Up and Down Arrows */
|
/* Up and Down Arrows */
|
||||||
.descend:after{
|
.descend:after{
|
||||||
content: "\25B2";
|
content: "\25B2";
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ my $feedback = escapeHTML(CGI::param('feedback'));
|
|||||||
my $message = Email::MIME->create();
|
my $message = Email::MIME->create();
|
||||||
|
|
||||||
$message->header_str_set(From => 'no-reply@krgamestudios.com');
|
$message->header_str_set(From => 'no-reply@krgamestudios.com');
|
||||||
$message->header_str_set(To => 'kayneruse@gmail.com');
|
$message->header_str_set(To => 'kruse@localhost');
|
||||||
$message->header_str_set(Subject => 'Mecha Feedback');
|
$message->header_str_set(Subject => 'Mecha Feedback');
|
||||||
|
|
||||||
$message->encoding_set('quoted-printable');
|
#!$message->encoding_set('quoted-printable');
|
||||||
$message->charset_set('UTF-8');
|
$message->charset_set('UTF-8');
|
||||||
|
|
||||||
$message->body_set($feedback);
|
$message->body_set($feedback);
|
||||||
|
|||||||
Reference in New Issue
Block a user