aboutsummaryrefslogtreecommitdiffstats
path: root/webui/public
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-16 22:25:50 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-16 22:25:50 +0200
commitead4511250deb877e1867c2e38cbee9c27deb299 (patch)
tree09572e68634c7241eff7cb65bf94c02a6aac9a50 /webui/public
parentd659d74131996cea06e39f90114e21b36e61f6fc (diff)
downloadgit-bug-ead4511250deb877e1867c2e38cbee9c27deb299.tar.gz
add the infrastructure for an embedded web UI + command
Diffstat (limited to 'webui/public')
-rw-r--r--webui/public/favicon.icobin0 -> 3870 bytes
-rw-r--r--webui/public/index.html40
-rw-r--r--webui/public/manifest.json15
3 files changed, 55 insertions, 0 deletions
diff --git a/webui/public/favicon.ico b/webui/public/favicon.ico
new file mode 100644
index 00000000..a11777cc
--- /dev/null
+++ b/webui/public/favicon.ico
Binary files differ
diff --git a/webui/public/index.html b/webui/public/index.html
new file mode 100644
index 00000000..ed0ebafa
--- /dev/null
+++ b/webui/public/index.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="theme-color" content="#000000">
+ <!--
+ manifest.json provides metadata used when your web app is added to the
+ homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
+ -->
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json">
+ <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
+ <!--
+ Notice the use of %PUBLIC_URL% in the tags above.
+ It will be replaced with the URL of the `public` folder during the build.
+ Only files inside the `public` folder can be referenced from the HTML.
+
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
+ work correctly both with client-side routing and a non-root public URL.
+ Learn how to configure a non-root public URL by running `npm run build`.
+ -->
+ <title>React App</title>
+ </head>
+ <body>
+ <noscript>
+ You need to enable JavaScript to run this app.
+ </noscript>
+ <div id="root"></div>
+ <!--
+ This HTML file is a template.
+ If you open it directly in the browser, you will see an empty page.
+
+ You can add webfonts, meta tags, or analytics to this file.
+ The build step will place the bundled scripts into the <body> tag.
+
+ To begin the development, run `npm start` or `yarn start`.
+ To create a production bundle, use `npm run build` or `yarn build`.
+ -->
+ </body>
+</html>
diff --git a/webui/public/manifest.json b/webui/public/manifest.json
new file mode 100644
index 00000000..ef19ec24
--- /dev/null
+++ b/webui/public/manifest.json
@@ -0,0 +1,15 @@
+{
+ "short_name": "React App",
+ "name": "Create React App Sample",
+ "icons": [
+ {
+ "src": "favicon.ico",
+ "sizes": "64x64 32x32 24x24 16x16",
+ "type": "image/x-icon"
+ }
+ ],
+ "start_url": "./index.html",
+ "display": "standalone",
+ "theme_color": "#000000",
+ "background_color": "#ffffff"
+}