diff options
author | Valentin Popov <info@valentineus.link> | 2019-08-20 13:51:06 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-08-20 13:51:06 +0300 |
commit | 9c57d101f0181aa134190edb0b2e7aabdba1151f (patch) | |
tree | 41e2405204d001490ba76e272bc5d11020a2c357 /example/application/src/index.html | |
parent | b3461bdcc0462bda7fad46b02f8307a0bc1166cd (diff) | |
download | electron-hot-reload-9c57d101f0181aa134190edb0b2e7aabdba1151f.tar.xz electron-hot-reload-9c57d101f0181aa134190edb0b2e7aabdba1151f.zip |
Added example application
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'example/application/src/index.html')
-rw-r--r-- | example/application/src/index.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/example/application/src/index.html b/example/application/src/index.html new file mode 100644 index 0000000..9b8aba9 --- /dev/null +++ b/example/application/src/index.html @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html lang="en"> + + <head> + <meta name="viewport" content="initial-scale=1.0, maximum-scale=1, shrink-to-fit=no, width=device-width" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta charset="utf-8" /> + <title><%= htmlWebpackPlugin.options.title %></title> + + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" /> + </head> + + <body> + <div class="container-fluid"> + <div class="container text-center"> + <h1>Last reload</h1> + </div> + + <div class="container text-center"> + <div> + Main Process: + <span id="main"></span> + </div> + + <div> + Renderer Process: + <span id="renderer"></span> + </div> + </div> + + <div class="container text-center pt-3"> + <div class="btn-group" role="group" aria-label="Basic example"> + <button type="button" class="btn btn-secondary" id="btnMain">Reload Main</button> + <button type="button" class="btn btn-secondary" id="btnRend">Reload Renderer</button> + </div> + </div> + </div> + + <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> + </body> + +</html> |