Skip to content

Commit

Permalink
html indentation for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
joypan1 committed Feb 29, 2024
1 parent a62d1d9 commit 0932111
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
15 changes: 8 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<body>
<nav>
<div class = "heading">
<h1>Longmetal 7127 test</h1>
<h1>Longmetal 7127</h1>
</div>
<div class = "topnav">
<a href="index.html"> Teams </a>
Expand All @@ -37,13 +37,14 @@ <h1>Longmetal 7127 test</h1>
</div>
</nav>

<header>
<h1>Teams</h1>
<form id="new-team-form">
<input type="text" name="new-team-input" id="new-team-input" placeholder="Input Team Name" />
<input type="submit" id="new-team-submit" value="Add Team" />
</form>
<header>
<h1>Teams</h1>
<form id="new-team-form">
<input type="text" name="new-team-input" id="new-team-input" placeholder="Input Team Name" />
<input type="submit" id="new-team-submit" value="Add Team" />
</form>
</header>

<main>
<section class="team-list">

Expand Down
33 changes: 16 additions & 17 deletions pages/aboutus.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
</style>

<script>
// Check that service workers are supported
if ("serviceWorker" in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener("load", () => {
navigator.serviceWorker.register("./sw.js");
});
}
// Check that service workers are supported
if ("serviceWorker" in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener("load", () => {
navigator.serviceWorker.register("./sw.js");
});
}
</script>

</head>
Expand All @@ -67,32 +67,31 @@ <h2>Our robot capabilities:</h2>
</div>
<!-- Space or new line between the box and the bullet list -->
<p class="indented"><strong>Autonomous</strong></p>

<ul>
<li class="bullet-list">prefer position ___ </li>
<li class="bullet-list">leaves position and shoots in ___ </li>
</ul>
<br>
</ul><br>

<p class="indented"><strong>TeleOp</strong></p>
<ul>
<li class="bullet-list">prefer scoring in ___ </li>
<li class="bullet-list">prefer intaking from ___ </li>
<li class="bullet-list">can hang with ___ </li>
</ul>
<br>
</ul><br>

<p class="indented"><strong>Human Player</strong></p>
<ul></ul>
<li class="bullet-list">prefer the coopertition button </li>
<li class="bullet-list">don't attempt the spotlight </li>
</ul>
<br>
</ul><br>

<div class="capability-box">
<h2>Our Stats:</h2>
</div>
<br>
<p class="indented"><strong>Current Ranking:</strong> <input type="text" class="ranking-input"></p>
<br>
<p class="indented"><strong>Average points scored:</strong> <input type="text" class="ranking-input"></p>
<br>
<p class="indented"><strong>Current Ranking:</strong> <input type="text" class="ranking-input"></p><br>
<p class="indented"><strong>Average points scored:</strong> <input type="text" class="ranking-input"></p><br>

<input type="submit" class="submit" value="Save">

Expand Down
16 changes: 8 additions & 8 deletions pages/teamdetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h1> Team Details v1</h1>
<h2> Abilities </h2><br>

<!-- Autonomous Survey-->
<label for="Autonomous Starting position"> Autonomous Starting Position: </label>
<label for="Autonomous Starting position"> Autonomous Starting Position: </label>
<input type="text" class="moreinfo" name="startingpos" maxlength="100"><br>

<input type="checkbox" id="action1" name="Leaveszone" value="leaves">
Expand Down Expand Up @@ -113,12 +113,12 @@ <h2> Abilities </h2><br>
<label for="either">Either</label>
<input type="radio" class="radio" id="either" name="intake" value="either">

<br>
<br>

<label for="prefintake"> Other: </label>
<input type="text" id="othertext" name="prefintake" maxlength="100">
<label for="prefintake"> Other: </label>
<input type="text" id="othertext" name="prefintake" maxlength="100">

<br>
<br>

<p>Preferred scoring method:</p>
<input type="radio" id="amp" name="score" value="amp">
Expand All @@ -139,22 +139,22 @@ <h2> Abilities </h2><br>
<input type="checkbox" id="another" name="another" value="another">
<label for="another"> Hangs with another </label><br>

<br>
<br>

<!-- Human Player Survey-->
<input type="checkbox" id="spotlight" name="spotlight" value="spotlight">
<label for="spotlight"> Attempts Spotlight</label><br>
<input type="checkbox" id="coop" name="coop" value="coop">
<label for="coop"> Favors coopertition button</label><br>

<br>
<br>

<!-- <h1>Team Details</h1>
<div id="team-details">
Team details will be displayed here
</div> -->

<input type="submit" class="submit" id="submitButton">
<input type="submit" class="submit" id="submitButton">
</form>

<!-- NOTE: add a "CANCEL" button if any changes are made to the text fields in case changes are not to be saved-->
Expand Down

0 comments on commit 0932111

Please sign in to comment.