Update Favicon and AWS Operating Mode
This commit is contained in:
parent
ed189f8282
commit
a161d7e5f6
2 changed files with 4 additions and 0 deletions
0
dist/icon/favicon.ico → dist/favicon.ico
vendored
0
dist/icon/favicon.ico → dist/favicon.ico
vendored
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
4
dist/js/main.js
vendored
4
dist/js/main.js
vendored
|
@ -154,6 +154,10 @@ function addRow(network, netSize, colspan, note, notesWidth, color) {
|
||||||
let addressLast = subnet_last_address(addressFirst, netSize)
|
let addressLast = subnet_last_address(addressFirst, netSize)
|
||||||
// Will need to adjust this for AWS mode
|
// Will need to adjust this for AWS mode
|
||||||
let usableFirst = addressFirst + 1
|
let usableFirst = addressFirst + 1
|
||||||
|
if (operatingMode === 'AWS') {
|
||||||
|
// https://docs.aws.amazon.com/vpc/latest/userguide/subnet-sizing.html
|
||||||
|
usableFirst += 3
|
||||||
|
}
|
||||||
let usableLast = addressLast - 1
|
let usableLast = addressLast - 1
|
||||||
let hostCount = 1 + usableLast - usableFirst
|
let hostCount = 1 + usableLast - usableFirst
|
||||||
let styleTag = ''
|
let styleTag = ''
|
||||||
|
|
Loading…
Reference in a new issue