Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1020 commits
Select commit Hold shift + click to select a range
005d67e
feat: replaces alerts with modals
OliverMengich Nov 19, 2024
0f6bd2c
feat: changes table style
OliverMengich Nov 19, 2024
abc4b1f
style: changes padding and background color
OliverMengich Nov 19, 2024
a3ac435
Merge pull request #52 from Waziup/ui-updates
OliverMengich Nov 19, 2024
45fac4e
feat: failure show modal and snackbar error
OliverMengich Nov 20, 2024
ec8e938
feat: style and path changed
OliverMengich Nov 20, 2024
155f45a
style: button
OliverMengich Nov 20, 2024
239dd35
style: show modals
OliverMengich Nov 20, 2024
f3ba4e3
feat: user profile and editable password
OliverMengich Nov 20, 2024
9ce0049
Merge pull request #53 from Waziup/ui-updates
OliverMengich Nov 20, 2024
6890a63
style: dialog and snackbar and padding styles
OliverMengich Nov 21, 2024
4a89b71
style: width and button style
OliverMengich Nov 21, 2024
bc99d99
style: paddings
OliverMengich Nov 21, 2024
df19973
refactor: code changes for dashboard
OliverMengich Nov 21, 2024
47928e5
refactor: path
OliverMengich Nov 21, 2024
e2effb4
style: item styles
OliverMengich Nov 21, 2024
8010294
refactor: styles
OliverMengich Nov 21, 2024
d3dee36
style: components
OliverMengich Nov 21, 2024
7199430
refactor: changes the select element
OliverMengich Nov 21, 2024
5e671c7
style: dynamic styles and text input changes
OliverMengich Nov 21, 2024
55c5adb
Merge pull request #54 from Waziup/ui-updates
OliverMengich Nov 21, 2024
353480d
fix: fixes background color
OliverMengich Nov 22, 2024
647e935
style: alignment
OliverMengich Nov 22, 2024
aa77079
style: vertical margin
OliverMengich Nov 22, 2024
af96c19
reefactor: section titles and style padding
OliverMengich Nov 23, 2024
a718351
refactor: title
OliverMengich Nov 23, 2024
57fb612
style: page padding
OliverMengich Nov 24, 2024
cf25d8f
style: font size
OliverMengich Nov 24, 2024
6d02f5e
fix: fixes text scrolls on mobile devices
OliverMengich Nov 25, 2024
4b8d089
fix: fixes text wrap
OliverMengich Nov 25, 2024
dd99498
feat: row container
OliverMengich Nov 25, 2024
43d5d84
refactor(BREAKING CHANGE): changes URL to test
OliverMengich Nov 25, 2024
2cb66d7
refactor: checker on connectivity section
OliverMengich Nov 25, 2024
c5cb535
fix: fixes width
OliverMengich Nov 25, 2024
874fa8d
fix: fixes graph display of memory usage values
OliverMengich Nov 26, 2024
a9d2ca8
style: hover styles
OliverMengich Nov 26, 2024
aa5e1c3
refactor: editable and changes style
OliverMengich Nov 26, 2024
83d1f7d
style: font size
OliverMengich Nov 26, 2024
3c46636
refactor: hiding close button
OliverMengich Nov 26, 2024
3b51375
style: cards and headers
OliverMengich Nov 26, 2024
1519612
style; new bg color
OliverMengich Nov 26, 2024
f5e0c24
style: changes table padding
OliverMengich Nov 26, 2024
e153e11
style: changes styling
OliverMengich Nov 26, 2024
c10b181
refactor: style on settings
OliverMengich Nov 26, 2024
8c7ecb2
style: fixes styling on logs section
OliverMengich Nov 26, 2024
48be3c5
refactor: removes description text
OliverMengich Nov 27, 2024
dcb9b9f
refactor: changes the backdrop component to dialog
OliverMengich Nov 27, 2024
f66dd3e
refactor: changes export tab section
OliverMengich Nov 28, 2024
8ffad78
refactor: changes value tab section
OliverMengich Nov 28, 2024
9ec9f6a
refactor: optional y axis
OliverMengich Nov 30, 2024
ad24c45
refactor: changes to single modal window
OliverMengich Nov 30, 2024
28702f0
refactor: removes the boardtype option
OliverMengich Dec 1, 2024
8f0d37f
chore: adds check for connection status
OliverMengich Dec 2, 2024
02d9121
feat: checks for connection status
OliverMengich Dec 2, 2024
5a61a6b
feat: icon on device
OliverMengich Dec 2, 2024
63cb8af
style: marging
OliverMengich Dec 2, 2024
301dc0c
style: padding styles
OliverMengich Dec 2, 2024
b13546c
chore: icons
OliverMengich Dec 2, 2024
1137f4d
refactor: removes device meta show
OliverMengich Dec 2, 2024
aeeb233
refactor: removes meta type
OliverMengich Dec 2, 2024
d20cdc6
refactor: removes meta select
OliverMengich Dec 2, 2024
b961cbe
refactor: changes to modal window for changing time zone and date
OliverMengich Dec 2, 2024
1c7157f
refactor: removes device meta type
OliverMengich Dec 2, 2024
186164a
style: button state and color
OliverMengich Dec 3, 2024
240699f
refactor: changes refetch time
OliverMengich Dec 4, 2024
3a0f858
refactor: app custom
OliverMengich Dec 4, 2024
66341d6
style: changes overrall background color
OliverMengich Dec 10, 2024
3e87de2
style: adds box shadow to all component cards
OliverMengich Dec 10, 2024
7732293
refactor: changes to paper
OliverMengich Dec 10, 2024
db86bad
feat: adds icon on table devices
OliverMengich Dec 10, 2024
8e30e4b
style: elevation on cards
OliverMengich Dec 10, 2024
bb7a7b6
feat: circular progress on loading connection state
OliverMengich Jan 13, 2025
59923fc
feat: passes last modified value
OliverMengich Jan 22, 2025
d1ac026
fix: sets active time for actuator
OliverMengich Jan 26, 2025
15eeedd
style: notifier after updating sensor readings
OliverMengich Jan 26, 2025
1e4bae0
feat: displays sensor/actuator last updated time
OliverMengich Jan 26, 2025
f24cc9c
fix: fixes not setting lorawan options
OliverMengich Jan 26, 2025
d066da7
refactor: sets onInput
OliverMengich Jan 26, 2025
6246260
feat: fetches version and blackout protection status
OliverMengich Jan 29, 2025
f55710a
fix: changes route for version
OliverMengich Jan 29, 2025
7ea404c
refactor: changes get device function and MQTT subscription
OliverMengich Jan 30, 2025
8c0f8cd
fix: fixes appskey and nwkskey clearing
OliverMengich Jan 30, 2025
c971438
revert: removes subscribing to device on context
OliverMengich Feb 4, 2025
ecec880
refactor: changes subscriber function
OliverMengich Feb 4, 2025
4d4a75e
refactor: changes response message
OliverMengich Feb 4, 2025
21c408a
revert: reverts back to different appSKey and nwkSKey
OliverMengich Feb 4, 2025
383ad3d
fix: null checker for modified time
OliverMengich Feb 4, 2025
a016ce9
revert: removes toggle switch
OliverMengich Feb 4, 2025
6d72d22
fix: fixes path for updating an actuator value
OliverMengich Feb 5, 2025
56211dd
feat: updating an application
OliverMengich Feb 5, 2025
6d9d5a7
revert: returns editing device name and deleting a device
OliverMengich Feb 5, 2025
0c25bd6
style: table title
OliverMengich Feb 5, 2025
2f03965
fix: changes to modified when time is null
OliverMengich Feb 5, 2025
cf804cc
refactor: removes unnecessary logging
OliverMengich Feb 6, 2025
dd04855
feat: MQTT subscriber on sensor/actuator page
OliverMengich Feb 6, 2025
30da49d
feat: updates waziup-js library
OliverMengich Feb 6, 2025
489705a
feat: error notifier
OliverMengich Feb 6, 2025
1942b58
chore: function to order accesspoints
OliverMengich Feb 6, 2025
0c6da63
feat: orders wifi signals
OliverMengich Feb 6, 2025
394c367
style: erro message
OliverMengich Feb 6, 2025
fcaff41
style: loading indicator and changes wifi showing
OliverMengich Feb 6, 2025
1003310
refactor: changes interval
OliverMengich Feb 6, 2025
e8926d7
style: color
OliverMengich Feb 12, 2025
193da05
fix: page title
OliverMengich Feb 12, 2025
9cd9640
refactor: hides app ID and places in app status
OliverMengich Feb 13, 2025
108c4f3
refactor: changes font
OliverMengich Feb 13, 2025
24828bf
style: display on dashboard components
OliverMengich Feb 19, 2025
7ee3e52
refactor: ontology and options checker
OliverMengich Feb 19, 2025
9ef7425
style: font weight
OliverMengich Feb 19, 2025
1bb3368
fix: removes opening wazilab gateway docs on current tab
OliverMengich Mar 4, 2025
83c2e86
style: width
OliverMengich Mar 4, 2025
f255147
Update SettingsNetworking.tsx
cdupont Mar 4, 2025
8152ee0
Update DeviceSettings.tsx
cdupont Mar 4, 2025
cc27292
feat: breadcrumbs
OliverMengich Mar 5, 2025
f6826a3
refactor: removes username
OliverMengich Mar 5, 2025
ad3b8ed
revert: removes general info
OliverMengich Mar 6, 2025
b328bce
refactor: moves hte files
OliverMengich Mar 6, 2025
f22e5d0
feat: moves the files
OliverMengich Mar 6, 2025
7585f4a
feat: changes rendered files
OliverMengich Mar 6, 2025
8289d2f
feat: files
OliverMengich Mar 6, 2025
4be6147
Merge pull request #58 from Waziup/code-review
OliverMengich Mar 6, 2025
6da422d
Update User.tsx
cdupont Mar 6, 2025
8991605
Update SettingsNetworking.tsx
cdupont Mar 6, 2025
3f42ca4
Update ontologies.json
cdupont Mar 6, 2025
4b1c461
refactor: names of handlerFunctions
OliverMengich Mar 9, 2025
a2ed3e2
Merge branch 'main' of https://github.com/Waziup/wazigate-dashboard-v3
OliverMengich Mar 9, 2025
221f332
Update README.md
cdupont Mar 10, 2025
e9b8d9e
left-side icon alignment adjusted
nahin91 Mar 10, 2025
42ccd5d
dashboard ui adjusted
nahin91 Mar 10, 2025
ba147b9
Dashboard page updated
nahin91 Mar 11, 2025
102acc7
new color added
nahin91 Mar 11, 2025
017b3ee
optimized the HelpPage code
nahin91 Mar 11, 2025
5a5479d
fontsize adjusted
nahin91 Mar 11, 2025
4777db9
minor
nahin91 Mar 11, 2025
2119009
login UI updated
nahin91 Mar 12, 2025
904a366
Typos SensorSettings.tsx
cdupont Mar 12, 2025
147ebb5
Update Actuator.tsx
cdupont Mar 12, 2025
2806f79
Update Sensor.tsx
cdupont Mar 12, 2025
65531a8
Test
cdupont Mar 12, 2025
63bccac
Update Sensor.tsx
cdupont Mar 12, 2025
d68654a
Clean Sensor.tsx
cdupont Mar 12, 2025
a16e592
refactored the code
nahin91 Mar 12, 2025
bc51fcc
prop renamed
nahin91 Mar 12, 2025
0267a44
devices page refactored
nahin91 Mar 12, 2025
02b20d6
create device modal refactored
nahin91 Mar 12, 2025
6310614
login card width set
nahin91 Mar 12, 2025
ce3f6d8
device card component created
nahin91 Mar 12, 2025
2b712b5
devices page updated
nahin91 Mar 14, 2025
ad13e49
top cards renamed and updated
nahin91 Mar 14, 2025
a62fd7a
Renamed to EdgeApplicationsPage
nahin91 Mar 14, 2025
00320ab
Colorfull icons imported
nahin91 Mar 17, 2025
5e310d4
Settings page updated
nahin91 Mar 17, 2025
95460d5
network page ui updated
nahin91 Mar 18, 2025
95d74bc
networking renamed as networks
nahin91 Mar 18, 2025
729f5b2
Maintenance page ui updated
nahin91 Mar 18, 2025
de143d1
active app counter function added
nahin91 Mar 18, 2025
5f222d8
Sensor-Actuator Setting pages updated
nahin91 Mar 19, 2025
48c78fa
profile page ui updated
nahin91 Mar 19, 2025
9b3dce6
small adjustment
nahin91 Mar 19, 2025
3d98964
font size adjusted
nahin91 Mar 19, 2025
da8e13f
Grid items adjusted
nahin91 Mar 19, 2025
116af33
mixed adjustment
nahin91 Mar 19, 2025
041b6fc
Single Sensor & Actuator pages are redesigned
nahin91 Mar 20, 2025
35860cc
table made densed
nahin91 Mar 20, 2025
66c66e1
multiple components updated
nahin91 Mar 20, 2025
b30971a
minor updates
nahin91 Mar 20, 2025
d375f76
feat: breadcrumbs
OliverMengich Mar 24, 2025
a17ce2c
fix: value for non-numerical
OliverMengich Mar 24, 2025
2f52447
fix: disabled button and breadcrumbs
OliverMengich Mar 26, 2025
53e6a3d
fix: closes menu item after click
OliverMengich Mar 26, 2025
8eed89c
refactor: moves utility function
OliverMengich Mar 26, 2025
ac9c7b7
refactor: moves graph function
OliverMengich Mar 26, 2025
ba7f127
refactor: removes dropdown and sets dialog on recommended apps and
OliverMengich Mar 26, 2025
9775596
style: styling chagnes
OliverMengich Mar 26, 2025
0548948
fix: breadcrumbs
OliverMengich Mar 26, 2025
3011e00
refactor: reverts to linear tabs
OliverMengich Mar 26, 2025
22a70fd
refactor: removes timer for re-token
OliverMengich Mar 26, 2025
330b08c
refactor: uses one dialog for edit and create device
OliverMengich Mar 26, 2025
b7df957
refactor: modal dialog
OliverMengich Mar 26, 2025
b9247d6
fix: ontology input
OliverMengich Mar 26, 2025
19fdfcd
feat: token hander in system API
OliverMengich Mar 26, 2025
7e608d4
refactor: removes the 'use...' for setting optional type
OliverMengich Mar 26, 2025
1d1be66
refactor: checks for array value in sensor/actuator value
OliverMengich Mar 26, 2025
3563379
fix: save changes
OliverMengich Mar 26, 2025
d2119f5
fix: connecting to wifi
OliverMengich Mar 26, 2025
35fc96d
Merge branch 'ui-details-update'
OliverMengich Mar 27, 2025
f7b9ddd
style: styling changes and success shows
OliverMengich Mar 27, 2025
c6bc3a8
refactor: changes the updated function
OliverMengich Mar 31, 2025
6966b5c
feat: toggle password show and disable background height on autofill …
OliverMengich Apr 15, 2025
8b54ecc
feat: adds copy to the text inputs
OliverMengich Apr 16, 2025
afc00e2
refactor: removes unused variables
OliverMengich Apr 16, 2025
fe21b54
fix: checks for undefined value
OliverMengich Apr 16, 2025
ddb4cd5
feat: value checker
OliverMengich Apr 16, 2025
b0ad8fe
feat: lorawan values checker
OliverMengich Apr 16, 2025
83760de
fix: showing snackbar
OliverMengich Apr 24, 2025
646eb54
fix: rendering apps
OliverMengich Apr 24, 2025
18c3e29
fix: await
OliverMengich Apr 24, 2025
0c74f6f
fix: removes extra "last updated"
OliverMengich Apr 25, 2025
c2f0b78
fix: check for empty value
OliverMengich Apr 25, 2025
a8bca30
fix: checker for empty value
OliverMengich Apr 25, 2025
7c59d59
style: height
OliverMengich Apr 25, 2025
c655cf4
revert: returns to analogevalue
OliverMengich Apr 25, 2025
652c377
refactor: token checker
OliverMengich Apr 25, 2025
bf5921e
refactor: updates waziup-js
OliverMengich Apr 25, 2025
916616e
refactor: shows snackbar error
OliverMengich Apr 25, 2025
9492f25
refactor: copy to clipboard for unsecure connection
OliverMengich Apr 26, 2025
971fb97
style: success message
OliverMengich Apr 26, 2025
ef17f43
fix: fixes decode issue by removing restart policy
OliverMengich Apr 26, 2025
95abbe6
style: design styling
OliverMengich Apr 26, 2025
4f1586e
fix: naming convection
OliverMengich Apr 28, 2025
a64e551
fix: removes for empty device
OliverMengich Apr 28, 2025
231fdd9
fix: patch updates waziup-js
OliverMengich Apr 28, 2025
74cee63
fix: showing icon and kind
OliverMengich Apr 28, 2025
8327dcb
refactor: changes to display name
OliverMengich Apr 30, 2025
0d485e3
fix: disables editing when sync is active
OliverMengich Apr 30, 2025
a7a20d8
refactor: removes renaming a cloud
OliverMengich Apr 30, 2025
c61aacd
style: text name change
OliverMengich Apr 30, 2025
2c45da3
fix: fixes sending undefined value
OliverMengich May 5, 2025
6b3fae3
refactor: disables changing access point settings
OliverMengich May 5, 2025
4220207
refactor: acceptss components to dialog content
OliverMengich May 5, 2025
577a08e
refacotr: connecting to wifi and switching to access point
OliverMengich May 5, 2025
75a9f5f
fix: last updated time on sensor
OliverMengich May 5, 2025
766f5f5
fix: removes redudant confirm function
OliverMengich May 5, 2025
1116b1f
fix: setting default page item
OliverMengich May 6, 2025
17521ef
refactor: time date format
OliverMengich May 6, 2025
2fc5b73
refactor: removes return
OliverMengich May 6, 2025
4cb4b53
feat: tracks props
OliverMengich May 6, 2025
9e52939
fix: updating access point settings
OliverMengich May 7, 2025
066c075
revert: removes using useCallback in function
OliverMengich May 7, 2025
e3c6282
feat: sensor value adding
OliverMengich May 8, 2025
17dd640
feat: forgetting a wifi
OliverMengich May 8, 2025
82db6fa
refactor: changes the warning and reboot function
OliverMengich May 8, 2025
bc7bd14
chore: app context
OliverMengich Jun 3, 2025
787d85d
chore: global shared context
OliverMengich Jun 3, 2025
c788ee9
chore: settings context
OliverMengich Jun 3, 2025
0dae7fa
feat: combines context
OliverMengich Jun 3, 2025
f93523b
feat: global context wrapper
OliverMengich Jun 3, 2025
694d641
refactor: migrates to respective context
OliverMengich Jun 3, 2025
418fccc
feat: only handles devices info
OliverMengich Jun 3, 2025
ac04f8d
fix: ensure safe access to app.waziapp.menu
OliverMengich Jun 25, 2025
42b9e62
Fix expired token login
j-forster Jul 28, 2025
5e20399
fix: SSH access on remote
OliverMengich Aug 29, 2025
a17e056
fix: removes leading slash for relative path
OliverMengich Aug 29, 2025
d58940f
feat: VPN functions in system API
OliverMengich Sep 26, 2025
2ff4601
feat: fetching VPN info in context API
OliverMengich Sep 26, 2025
6433799
refactor: adds MQTT address and REST API address options in an accordion
OliverMengich Sep 27, 2025
015e891
feat: VPN options added
OliverMengich Sep 27, 2025
823d720
chore: type cast for registered to wazicloud
OliverMengich Nov 22, 2025
216ae72
feat: add VPN activation on sync to wazicloud tooltip and error handl…
OliverMengich Nov 22, 2025
04f5c62
remove redundant gateway endpoints
cdupont Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
.env
.eslintrc.js
.gitignore
postcss.config.js
tailwind.config.js
commitlint.config.js
Empty file added .env
Empty file.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ dist-ssr
*.njsproj
*.sln
*.sw?
*.zip
*.sh
changes.txt
src/app
/system_apps/*
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:alpine3.19 as production
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install --force
COPY . .
RUN npm run build
EXPOSE 5173
CMD ["npm", "run", "preview"]
49 changes: 31 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
# React + TypeScript + Vite
# Wazigate dashboard V3

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
This is the application repository for the wazigate dashboard version 3, feel free to check the repository and run the development version.

Currently, two official plugins are available:
## Installation

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
- To install and run the development version of the app, clone the repository
- use either pnpm, yarn or npm to install dependencies
- ```npm install```
- Then run the development ``npm run dev``

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
## Docker

- Configure the top-level `parserOptions` property like this:
To run with docker, do:
```
docker build -t wazigate_ui_v3 .
docker run -it --net=host wazigate_ui_v3
```

Then open http://localhost:5173/

```js
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
Development
===========

You can develop on the dashboard locally on your PC, linking it to a remote WaziGate.
Run it like this:
```
export VITE_WAZIGATE_API_URL=http://wazigate-dashboard.staging.waziup.io
npm run dev
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
Then, you need to open the interface inyou browser, without CORS protections.
With Chrome, you can run it like that:
```
google-chrome --disable-site-isolation-trials --disable-web-security --user-data-dir="~/tmp"
```
Or install a plugin to remove CORS protections.


4 changes: 4 additions & 0 deletions admin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<script>
// redirect to login
window.location.href = "../";
</script>
1 change: 1 addition & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}
43 changes: 43 additions & 0 deletions custom.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
server {
listen 5173;
server_name localhost;

#access_log /var/log/nginx/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
58 changes: 58 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after
{
box-sizing: inherit;
}

body
{
margin:0;
background: #fafafa;
}
</style>
</head>

<body>
<div id="swagger-ui"></div>

<script src="./swagger-ui-bundle.js"> </script>
<script src="./swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "openapi.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
})
// End Swagger UI call region

window.ui = ui
}
</script>
</body>
</html>
Loading