diff options
author | Cláudio <claudio.engdist@gmail.com> | 2021-02-14 23:48:37 -0300 |
---|---|---|
committer | Cláudio <claudio.engdist@gmail.com> | 2021-02-14 23:48:37 -0300 |
commit | 76d1ea1f4f5e75824ec4f65faeb70c906fd1d9f6 (patch) | |
tree | 1b813e1b03e2cfaa57929c0753cf43474b1fbc97 | |
parent | 956f98b676ab44d19ed522061c9520a32aab1a3c (diff) | |
download | git-bug-76d1ea1f4f5e75824ec4f65faeb70c906fd1d9f6.tar.gz |
Commits for issues #564 e #566
-rw-r--r-- | webui/Readme.md | 17 | ||||
-rw-r--r-- | webui/public/apollo_logo.svg | 1 | ||||
-rw-r--r-- | webui/public/graphql_logo.svg | 71 | ||||
-rw-r--r-- | webui/public/materialui_logo.svg | 1 | ||||
-rw-r--r-- | webui/public/reactjs_logo.png | bin | 0 -> 41893 bytes |
5 files changed, 89 insertions, 1 deletions
diff --git a/webui/Readme.md b/webui/Readme.md index 50d7afa6..29b2f1cd 100644 --- a/webui/Readme.md +++ b/webui/Readme.md @@ -1,5 +1,17 @@ # git-bug rich web UI +## Prerequisites + +<div align="center"> +<img height="119px" alt="ReactJS" src="./public/reactjs_logo.png"> +<img width="150px" src="./public/materialui_logo.svg"> +<img height="119px" src="./public/graphql_logo.svg"> +<img height="119px" src="./public/apollo_logo.svg"> +</div> +<div align="center"> +ReactJS | Material UI | GraphQL | Apollo GraphQL +</div> + ## How to develop ### Run GraphQL backend @@ -26,4 +38,7 @@ The development version of the WebUI is configured to query the backend on the p ## Bundle the web UI -Once the webUI is good enough for a new release, run `make pack-webui` from the root directory to bundle the compiled js into the go binary. +Once the webUI is good enough for a new release: +1. run `make build` from webui folder +2. run `make pack-webui` from the *root directory* to bundle the compiled js into the go binary. + - You must have Go installed on Your machine to run this command.
\ No newline at end of file diff --git a/webui/public/apollo_logo.svg b/webui/public/apollo_logo.svg new file mode 100644 index 00000000..955fff19 --- /dev/null +++ b/webui/public/apollo_logo.svg @@ -0,0 +1 @@ +<svg height="2430" viewBox="26.69 28.9 1173.9 1144.1" width="2500" xmlns="http://www.w3.org/2000/svg"><path d="m599.49 29.7c-2.2.1-10.5.8-18.5 1.4-100 7.4-201.4 44.4-284.5 103.8-27.5 19.6-49.2 38-73.4 62.2-139.1 139.2-196.4 338.4-152.9 531.9 17.8 79.4 55.8 159.3 106.2 223.5 79.1 100.9 187.5 172 309.1 202.8 49.5 12.6 90.6 17.7 142.5 17.7 51.2 0 88.9-4.6 137.7-16.5 70.1-17.2 131.7-45.5 193.3-88.6 59-41.4 113.9-99.4 153.3-161.9 50.8-80.8 79.7-170 86.8-267.9 1.5-20.6.6-71.6-1.6-92.6-4.4-41.7-15.6-96.7-22.1-108.2-2.6-4.5-9.9-10.3-15.3-12.2-1.9-.6-6.1-1.1-9.5-1.1-15 0-27.6 12.5-27.6 27.2 0 3.5 1.6 11.9 3.9 21 19.8 77 21.4 161.6 4.5 238.8-21.6 98.9-69.8 186.1-142.5 257.6-33.9 33.3-66.6 57.9-108.9 82.1-98.7 56.5-221.4 77.9-336.5 58.7-87.4-14.5-163.3-48.1-235.4-104.2-33.9-26.4-75.2-69.9-100.8-106.3-44.2-62.8-72-129-86.4-205.9-7.3-39.2-9.8-91.2-6.4-133.5 5.2-64.2 21.3-123.8 48.6-180.3 12.6-26.3 20.4-40 35.5-62.7 30.8-46.6 71.6-90.2 116.7-124.8 52.9-40.7 115.7-71.6 179.2-88.2 34.3-9 61.7-13.5 96.5-16 125.9-9 248.3 27.2 348 103.1 7.4 5.6 15.2 11.7 17.3 13.6l3.8 3.3-1.5 4.2c-7.7 21.6-2 48.5 14.2 67.3 8.3 9.6 23.3 18.6 36 21.6 8.7 2.1 23.8 2.1 32.6 0 22.3-5.3 43.1-24.4 49.7-45.6 7.4-23.7 3.1-47.1-12.1-66.1-16.8-21-45.7-30.4-72.4-23.4l-5.8 1.5-8.2-6.8c-33.3-27.9-73.6-53.7-116-74.2-68.8-33.3-137.9-51.2-216.6-56-15.1-.9-50.8-1.1-60.5-.3z"/><path d="m540.29 358.7c-10.6 27.4-33.6 87.4-51.3 133.3s-54 140.2-80.7 209.5c-26.6 69.3-48.7 126.3-48.9 126.7-.3.5 27.8.8 62.3.8h62.9l3.7-10.3c2.1-5.6 9.5-25.4 16.4-44l12.6-33.7h94.4c75.2 0 94.4-.3 94.1-1.3-1-2.7-16.4-46.7-24.6-70.2l-8.8-25-62.5-.5-62.4-.5 40.6-111.9c24.4-67.2 40.9-111.2 41.2-110.2.4.9 16.6 47 36.1 102.4s51.7 146.6 71.5 202.7l35.9 102 62.6.3c34.4.1 62.6 0 62.6-.2s-8.1-21.5-18.1-47.2c-10-25.8-31.4-81.3-47.6-123.4s-34.4-89.3-40.5-105c-6-15.7-16.5-42.9-23.3-60.5s-24.5-63.7-39.5-102.5-28.1-72.9-29.2-75.8l-1.9-5.2h-138.5z"/></svg>
\ No newline at end of file diff --git a/webui/public/graphql_logo.svg b/webui/public/graphql_logo.svg new file mode 100644 index 00000000..58b2cc28 --- /dev/null +++ b/webui/public/graphql_logo.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" id="GraphQL_Logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" + y="0px" viewBox="0 0 400 400" enable-background="new 0 0 400 400" xml:space="preserve"> +<g> + <g> + <g> + + <rect x="122" y="-0.4" transform="matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)" fill="#E535AB" width="16.6" height="320.3"/> + </g> + </g> + <g> + <g> + <rect x="39.8" y="272.2" fill="#E535AB" width="320.3" height="16.6"/> + </g> + </g> + <g> + <g> + + <rect x="37.9" y="312.2" transform="matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)" fill="#E535AB" width="185" height="16.6"/> + </g> + </g> + <g> + <g> + + <rect x="177.1" y="71.1" transform="matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)" fill="#E535AB" width="185" height="16.6"/> + </g> + </g> + <g> + <g> + + <rect x="122.1" y="-13" transform="matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)" fill="#E535AB" width="16.6" height="185"/> + </g> + </g> + <g> + <g> + + <rect x="109.6" y="151.6" transform="matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)" fill="#E535AB" width="320.3" height="16.6"/> + </g> + </g> + <g> + <g> + <rect x="52.5" y="107.5" fill="#E535AB" width="16.6" height="185"/> + </g> + </g> + <g> + <g> + <rect x="330.9" y="107.5" fill="#E535AB" width="16.6" height="185"/> + </g> + </g> + <g> + <g> + + <rect x="262.4" y="240.1" transform="matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)" fill="#E535AB" width="14.5" height="160.9"/> + </g> + </g> + <path fill="#E535AB" d="M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 + C373.5,259.9,379.2,281.2,369.5,297.9"/> + <path fill="#E535AB" d="M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 + C94.8,99,100.5,120.3,90.9,137"/> + <path fill="#E535AB" d="M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 + C61.4,320.3,40.1,314.6,30.5,297.9"/> + <path fill="#E535AB" d="M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 + C340.1,159.4,318.7,153.7,309.1,137"/> + <path fill="#E535AB" d="M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 + C234.9,380.1,219.3,395.8,200,395.8"/> + <path fill="#E535AB" d="M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 + C234.9,58.4,219.3,74,200,74"/> +</g> +</svg> diff --git a/webui/public/materialui_logo.svg b/webui/public/materialui_logo.svg new file mode 100644 index 00000000..9c2dba7e --- /dev/null +++ b/webui/public/materialui_logo.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 600 476.6" xmlns="http://www.w3.org/2000/svg"><path d="m0 259.8v-259.8l225 129.9v86.6l-150-86.6v173.2z" fill="#00b0ff"/><path d="m225 129.9 225-129.9v259.8l-150 86.6-75-43.3 150-86.6v-86.6l-150 86.6z" fill="#0081cb"/><path d="m225 303.1v86.6l150 86.6v-86.6z" fill="#00b0ff"/><path d="m375 476.3 225-129.9v-173.2l-75 43.3v86.6l-150 86.6zm150-346.4v-86.6l75-43.3v86.6z" fill="#0081cb"/></svg>
\ No newline at end of file diff --git a/webui/public/reactjs_logo.png b/webui/public/reactjs_logo.png Binary files differnew file mode 100644 index 00000000..8d543b75 --- /dev/null +++ b/webui/public/reactjs_logo.png |