Commit 7c95fc57 authored by Chris's avatar Chris
Browse files

There's some more stuff to click on now

parent 67e2069b
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
<!DOCTYPE html>
<meta charset="utf-8">
<html>
    <style>
        textarea[name="message"] {
            width: 80%;
            height: 20%;
            resize: none;
        }
    </style>

    <!-- Title -->
    <title>Spam Hunter</title>
@@ -17,9 +10,15 @@
        <div id="interactivity" class="jumbotron">
            <!-- User interactivity portion -->
            <h3>Type your message here:</h3>
            <textarea name="message"></textarea>
            <textarea id='message' style="width: 80%;
            height: 20%;
            resize: none;"></textarea>
            <p>Is it spam or ham? <button onclick="getPrediction()">Find out!</button> </p>
            <p id="prediction"></p>
            <p>Is this prediction correct?</p>
            <button id="report_ham">This is actually a ham!</button>
            <button id="report_spam">This is actually a spam!</button>
            <button id="clear" onclick="clearIndex()">Clear</button>
        </div>
        <br>
        <!-- List used in spam -->
+4 −0
Original line number Diff line number Diff line
@@ -112,3 +112,7 @@ function initializeIndex() {
    getTopFiveAlgorithms();
    getTopFiveWords();
}

function clearIndex() {
    document.getElementById("message").value = "";
}
 No newline at end of file