paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 537d1bb52c35794ba5b913d44b73f5c643c3fd19
parent 4306279f89f750d6dcf2b79da360aba72dae8c75
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 27 Mar 2021 23:08:48 -0400

Remove borderlands dps calculator

Diffstat:
Mhttp/pages/projects.md | 1-
Dhttp/pages/projects/borderlands-3-dps-calculator.md | 71-----------------------------------------------------------------------
Dhttp/style/borderlands.css | 51---------------------------------------------------
3 files changed, 0 insertions(+), 123 deletions(-)

diff --git a/http/pages/projects.md b/http/pages/projects.md @@ -36,7 +36,6 @@ warning should pop up on those pages if you do not have JavaScript enabled. <ul id="web-utils"> <li><a href="projects/time-duration-calculator">Time Duration Calculator</a></li> - <li><a href="projects/borderlands-3-dps-calculator">Borderlands 3 DPS Calculator</a></li> <li><a href="projects/morrowind-character-roller">Morrowind Character Roller</a></li> <li class="sublist-header">Dungeons & Dragons <ul> diff --git a/http/pages/projects/borderlands-3-dps-calculator.md b/http/pages/projects/borderlands-3-dps-calculator.md @@ -1,71 +0,0 @@ -## Borderlands 3 DPS Calculator - -[//]: # "Use this utility to calculate the DPS of weapons in Borderlands 3." - -[//]: # "main.min.css borderlands.min.css" - -[//]: # - -<script src=/js/borderlands-3-dps-calculator.js></script> -<noscript>It seems that the current browser you are using does not support -JavaScript or it has been disabled. JavaScript is required for this applet to -function.</noscript> - -This project was submitted by Leon Baram, please direct comments and/or -suggestions to [Leon's email](mailto:balding@protonmail.com). - -Use this utility to calculate the DPS of weapons in Borderlands 3. - -<div id="grid-container"> - <form class="grid-item" id="form-1"> - <label for="dmg">Damage: </label><input id="dmg" type="number" min="0" placeholder="0" value="0"><br /> - <label for="dmg-mult">Projectiles Fired: </label><input id="dmg-mult" type="number" min="1" placeholder="1" value="1"><br /> - <label for="rload">Reload Time (s): </label><input id="rload" type="number" step="any" min="0" placeholder="0" value="0"><br /> - <label for="frate">Fire Rate (shots/s): </label><input id="frate" type="number" step="any" min="0" placeholder="0" value="0"><br /> - <label for="mag">Magazine Size: </label><input id="mag" type="number" min="0" placeholder="0" value="1"><br /> - <label for="ammo">Ammo Consumed Per Shot: </label><input id="ammo" type="number" min="1" placeholder="1" value="1"><br /> - <label for="elmnt">Elemental Type: </label><select id="elmnt"> - <option value="None" selected="selected">None</option> - <option value="Fire">Fire</option> - <option value="Shock">Shock</option> - <option value="Acid">Acid</option> - <option value="Cryo">Cryo</option> - <option value="Rad">Rad</option> </select><br /> - <label for="tvhm">True Vault Hunter Mode: </label><input class="checkbox" id="tvhm" type="checkbox"> - </form> - <form class="grid-item" id="form-2"> - <label for="dmg2">Damage: </label><input id="dmg2" type="number" min="0" placeholder="0" value="0"><br /> - <label for="dmg-mult2">Projectiles Fired: </label><input id="dmg-mult2" type="number" min="1" placeholder="1" value="1"><br /> - <label for="rload2">Reload Time (s): </label><input id="rload2" type="number" step="any" min="0" placeholder="0" value="0"><br /> - <label for="frate2">Fire Rate (shots/s): </label><input id="frate2" type="number" step="any" min="0" placeholder="0" value="0"><br /> - <label for="mag2">Magazine Size: </label><input id="mag2" type="number" min="0" placeholder="0" value="1"><br /> - <label for="ammo2">Ammo Consumed Per Shot: </label><input id="ammo2" type="number" min="1" placeholder="1" value="1"><br /> - <label for="elmnt2">Elemental Type: </label><select id="elmnt2"> - <option value="None" selected="selected">None</option> - <option value="Fire">Fire</option> - <option value="Shock">Shock</option> - <option value="Acid">Acid</option> - <option value="Cryo">Cryo</option> - <option value="Rad">Rad</option></select><br /> - <label for="tvhm2">True Vault Hunter Mode: </label><input class="checkbox" id="tvhm2" type="checkbox"> - </form> - - <button class="grid-item" id="calc-button" onclick="gamerMoment()"> Calculate DPS </button> - - <div class="grid-item" id="results-1"> - <h3>Weapon 1:</h3> - <table> - <tr><td><b>DPS against flesh: </b></td><td><p id="flesh"> -- </p></td></tr> - <tr><td><b>DPS against shields: </b></td><td><p id="shields"> -- </p></td></tr> - <tr><td><b>DPS against armour: </b></td><td><p id="armour"> -- </p></td></tr> - </table> - </div> - <div class="grid-item" id="results-2"> - <h3>Weapon 2:</h3> - <table> - <tr><td><b>DPS against flesh: </b></td><td><p id="flesh2"> -- </p></td></tr> - <tr><td><b>DPS against shields: </b></td><td><p id="shields2"> -- </p></td></tr> - <tr><td><b>DPS against armour: </b></td><td><p id="armour2"> -- </p></td></tr> - </table> - </div> -</div> diff --git a/http/style/borderlands.css b/http/style/borderlands.css @@ -1,51 +0,0 @@ -input:not(#tvhm):not(#tvhm2) { - width: 100px; -} - -select { - width: 106px; -} - -.td-label { - text-align: right; - padding-right: 10px; -} - -#grid-container { - display: grid; - grid-gap: 1em; - grid-template-columns: auto auto; - justify-content: center; - align-content: center; -} - -#form-1 { - grid-column: 1; - grid-row: 1; -} - -#form-2 { - grid-column: 2; - grid-row: 1; -} - -#results-1 { - grid-column: 1; - grid-row: 3; -} - -#results-2 { - grid-column: 2; - grid-row: 3; -} - -#calc-button { - grid-column: 1 / span 2; - grid-row: 2; - width: 50%; - margin-left: 25%; -} - -#flesh, #shields, #armour, #flesh2, #shields2, #armour2 { - margin: 0px; -}