<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Apartment Control Center</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Control the apartment">
    <meta name="author" content="Brian Michalski">
    <link rel="stylesheet" href="/node_modules/material-design-lite/material.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  </head>

  <body>
    <ul>
      {{ range .Devices }}
        <li><a href="/toggle?name={{ .Name }}">{{ .FriendlyName }}</a></li>
      {{ end }}
    </ul>
    <script src="/node_modules/material-design-lite/material.min.js"></script>
  </body>
</html>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Apartment Control Center</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Control the apartment">
    <meta name="author" content="Brian Michalski">
    <link rel="stylesheet" href="/node_modules/material-design-lite/material.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  </head>

  <body>
    <ul class="mdl-list">
      {{ range .Devices }}
        <li class="mdl-list__item">
          <button onclick='toggle("{{ .Name }}")'
                  class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored">
            {{ .FriendlyName }}
          </button>
        </li>
      {{ end }}
    <ul>
    <script src="/node_modules/material-design-lite/material.min.js"></script>
    <script>
      function toggle(name) {
        window.location.href = '/toggle?name=' + name;
      }
    </script>
  </body>
</html>

Make the links into buttons.
Make the links into buttons.
