Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Standalone Project Creation to match extension #607

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Changes from all commits
Commits
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
20 changes: 12 additions & 8 deletions wpilib-utility-standalone/projectcreator.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,33 @@ <h1>Welcome to WPILib New Project Creator</h1>
</select>

<br/>
<br/> Select a folder to place the new project into.
<br/> <span STYLE="font-weight:bold">Base Folder.</span> <span>Select a base folder to place the new project into.</span>
<br/>
<input id="projectFolder" type="text" style="width: 100%; margin-top: 10px; margin-bottom: 10px" />
<br/>
<button onclick="exports.projectSelectButtonClick();">Select a new project folder</button>
<br/>
<br/> Create new folder? Highly recommended to be checked
<br/> <span data-i18n-trans STYLE="font-weight:bold">Create a new folder?</span>
<input id="newFolderCB" type="checkbox" checked/>
<br/>
<span>This creates a new folder at <i>Base Folder\Project Name</i>. Highly recommended to be checked. Otherwise the folder will be placed at <i>Base Folder</i> and not utilize the Project Name</span>
<br/>
<div id="projectnamediv" class="error">Enter a project name</div>
<div id="projectnamediv" class="error" STYLE="font-weight:bold">Project Name</div>
<input id="projectName" class="error" oninput="validators.validateProject(document.getElementById('projectName'), document.getElementById('projectnamediv'));" type="text" style="width: 100%; margin-top: 10px; margin-bottom: 10px"
/>
<br/>
<div id="teamnumberdiv" class="error">Enter a team number</div>
<div id="teamnumberdiv" class="error" STYLE="font-weight:bold">Team Number</div>
<input id="teamNumber" class="error" oninput="validators.validateTeamNumber(document.getElementById('teamNumber'), document.getElementById('teamnumberdiv'));" type="text" style="width: 100%; margin-top: 10px; margin-bottom: 10px"
/>
<br/>
<div id="desktopdiv">
This is needed for simulation and unit testing support, however there are some cases where this will do
some unexpected things during build. In addition, not all vendor libraries support desktop.
This option can be set with the command "WPILib: Set Desktop Support" at any time.
<span STYLE="font-weight:bold">Enable Desktop Support</span>
<input id="desktopCB" type="checkbox" />
<br/>
<span data-i18n-trans data-i18n-key="hintDesktopSupport">
This is needed for simulation and unit testing support, however there are some cases where this will do
some unexpected things during build. In addition, not all vendor libraries support desktop.
This option can be set with the command "WPILib: Set Desktop Support" at any time.
</span>
</div>
<br/>

Expand Down