cloud-sql/mysql/servlet/src/main/webapp/index.jsp [16:81]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <title>Tabs VS Spaces</title>
    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</head>
<body>
<nav class="red lighten-1">
    <div class="nav-wrapper">
        <a href="#" class="brand-logo center">Tabs VS Spaces</a>
    </div>
</nav>
<div class="section">
    <div class="center">
        <h4>
            <c:choose>
                <c:when test="${tabCount == spaceCount}">
                    TABS and SPACES are evenly matched!
                </c:when>
                <c:when test="${tabCount > spaceCount}">
                    TABS are winning by <c:out value="${tabCount - spaceCount}"/>
                    <c:out value='${tabCount - spaceCount > 1 ? "votes" : "vote"}'/>!
                </c:when>
                <c:when test="${tabCount < spaceCount}">
                    SPACES are winning by <c:out value="${spaceCount - tabCount}"/>
                    <c:out value='${spaceCount - tabCount > 1 ? "votes" : "vote"}'/>!!
                </c:when>
            </c:choose>
        </h4>
    </div>
    <div class="row center">
        <div class="col s6 m5 offset-m1">
            <c:if test="${tabCount > spaceCount}">
                <c:set value="green lighten-3" var="tabWinClass"></c:set>
            </c:if>
            <div class="card-panel ${tabWinClass}">
                <i class="material-icons large">keyboard_tab</i>
                <h3><c:out value="${tabCount}"/> votes</h3>
                <button id="voteTabs" class="btn green">Vote for TABS</button>
            </div>
        </div>
        <div class="col s6 m5">
            <c:if test="${tabCount < spaceCount}">
                <c:set value="blue lighten-3" var="spaceWinClass"></c:set>
            </c:if>
            <div class="card-panel ${spaceWinClass}">
                <i class="material-icons large">space_bar</i>
                <h3><c:out value="${spaceCount}"/> votes</h3>
                <button id="voteSpaces" class="btn blue">Vote for SPACES</button>
            </div>
        </div>
    </div>
    <h4 class="header center">Recent Votes</h4>
    <ul class="container collection center">
        <c:forEach items="${recentVotes}" var="vote">
            <li class="collection-item avatar">
                <c:choose>
                    <c:when test='${vote.getCandidate().equals("TABS")}'>
                        <i class="material-icons circle green">keyboard_tab</i>
                    </c:when>
                    <c:when test='${vote.getCandidate().equals("SPACES")}'>
                        <i class="material-icons circle blue">space_bar</i>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cloud-sql/sqlserver/servlet/src/main/webapp/index.jsp [16:81]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <title>Tabs VS Spaces</title>
    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</head>
<body>
<nav class="red lighten-1">
    <div class="nav-wrapper">
        <a href="#" class="brand-logo center">Tabs VS Spaces</a>
    </div>
</nav>
<div class="section">
    <div class="center">
        <h4>
            <c:choose>
                <c:when test="${tabCount == spaceCount}">
                    TABS and SPACES are evenly matched!
                </c:when>
                <c:when test="${tabCount > spaceCount}">
                    TABS are winning by <c:out value="${tabCount - spaceCount}"/>
                    <c:out value='${tabCount - spaceCount > 1 ? "votes" : "vote"}'/>!
                </c:when>
                <c:when test="${tabCount < spaceCount}">
                    SPACES are winning by <c:out value="${spaceCount - tabCount}"/>
                    <c:out value='${spaceCount - tabCount > 1 ? "votes" : "vote"}'/>!!
                </c:when>
            </c:choose>
        </h4>
    </div>
    <div class="row center">
        <div class="col s6 m5 offset-m1">
            <c:if test="${tabCount > spaceCount}">
                <c:set value="green lighten-3" var="tabWinClass"></c:set>
            </c:if>
            <div class="card-panel ${tabWinClass}">
                <i class="material-icons large">keyboard_tab</i>
                <h3><c:out value="${tabCount}"/> votes</h3>
                <button id="voteTabs" class="btn green">Vote for TABS</button>
            </div>
        </div>
        <div class="col s6 m5">
            <c:if test="${tabCount < spaceCount}">
                <c:set value="blue lighten-3" var="spaceWinClass"></c:set>
            </c:if>
            <div class="card-panel ${spaceWinClass}">
                <i class="material-icons large">space_bar</i>
                <h3><c:out value="${spaceCount}"/> votes</h3>
                <button id="voteSpaces" class="btn blue">Vote for SPACES</button>
            </div>
        </div>
    </div>
    <h4 class="header center">Recent Votes</h4>
    <ul class="container collection center">
        <c:forEach items="${recentVotes}" var="vote">
            <li class="collection-item avatar">
                <c:choose>
                    <c:when test='${vote.getCandidate().equals("TABS")}'>
                        <i class="material-icons circle green">keyboard_tab</i>
                    </c:when>
                    <c:when test='${vote.getCandidate().equals("SPACES")}'>
                        <i class="material-icons circle blue">space_bar</i>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



