mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
* Ignores archived samples * Uses eslint/recommended rules * Runs prettier and eslint (including --fix) pre-commit via husky * Adds new npm scripts: 'lint', 'lint:fix' and 'prettier' * Does not lint inline js code * Fix all prettier and eslint errors * Add custom prettier rules * Apply custom prettier rules * Update readme to explain how to setup the repo * addressed comments
42 lines
1.0 KiB
HTML
42 lines
1.0 KiB
HTML
<!-- Copyright 2017 The Chromium Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file. -->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Water Popup</title>
|
|
<style>
|
|
body {
|
|
text-align: center;
|
|
}
|
|
|
|
#hydrateImage {
|
|
width: 100px;
|
|
margin: 5px;
|
|
}
|
|
|
|
button {
|
|
margin: 5px;
|
|
outline: none;
|
|
}
|
|
|
|
button:hover {
|
|
outline: #80deea dotted thick;
|
|
}
|
|
</style>
|
|
<!--
|
|
- JavaScript and HTML must be in separate files
|
|
-->
|
|
</head>
|
|
<body>
|
|
<img src="./stay_hydrated.png" id="hydrateImage" />
|
|
<!-- An Alarm delay of less than the minimum 1 minute will fire
|
|
in approximately 1 minute increments if released -->
|
|
<button id="sampleMinute" value="1">Sample minute</button>
|
|
<button id="min15" value="15">15 Minutes</button>
|
|
<button id="min30" value="30">30 Minutes</button>
|
|
<button id="cancelAlarm">Cancel Alarm</button>
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|