-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from JMU-CS/dev
First deployment of Summer 2024
- Loading branch information
Showing
36 changed files
with
4,698 additions
and
1,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- Welcome/About screen --> | ||
<div id="myModal" class="modal"> | ||
<div class="modal-content"> | ||
<span class="close">×</span> | ||
|
||
<h2>Welcome To Praxly!</h2> | ||
<ul id="helpMenu"> | ||
<button class="helpMenuButtons" id="FeaturesButton">features (outdated)</button> | ||
<button class="helpMenuButtons" id="ChangelogButton">Changelog</button> | ||
<button class="helpMenuButtons" id="BugButton">Report a bug</button> | ||
<button class="helpMenuButtons" id="GitHubButton">github</button> | ||
<button class="helpMenuButtons" id="PeopleButton">People</button> | ||
</ul> | ||
|
||
<p>This is a place to try the pseudocode that will be used in the praxis exam. | ||
Feel free to switch between the blocks and the text whenever you please!</p> | ||
<p>📕 The <b>Book</b> Icon is the manual, which is the reference to the pseudocode that this was made for.</p> | ||
<p>🔗The Blue links are example programs. | ||
Feel free to submit your own example to me through the bug report form.</p> | ||
|
||
<h4>Notes</h4> | ||
<ol> | ||
<li>✅ This is in very early release, but as of now everything on the blocks list will work properly.</li> | ||
<li>🚨 error messages are probably going to be inconsistent. | ||
I'm sure there will be many scenarios I didn't think of that will cause errors.</li> | ||
<li>😔 There is currently no support for object-oriented programming.</li> | ||
</ol> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
let modal; | ||
let featuresButton; | ||
let changelogButton; | ||
let bugButton; | ||
let githubButton; | ||
let peopleButton; | ||
|
||
modal = document.getElementById("myModal"); | ||
featuresButton = document.getElementById('FeaturesButton'); | ||
changelogButton = document.getElementById('ChangelogButton'); | ||
bugButton = document.getElementById("BugButton"); | ||
githubButton = document.getElementById('GitHubButton'); | ||
peopleButton = document.getElementById('PeopleButton'); | ||
|
||
// When the user clicks the button, open the modal | ||
infoButton.onclick = function () { | ||
setLight(); | ||
modal.style.display = "block"; | ||
} | ||
|
||
// When the user clicks on <span> (x), close the modal | ||
span.onclick = function () { | ||
modal.style.display = "none"; | ||
manual.style.display = "none"; | ||
} | ||
|
||
// When the user clicks anywhere outside of the modal, close it | ||
window.onclick = function (event) { | ||
if (event.target == modal || event.target == manual) { | ||
modal.style.display = "none"; | ||
manual.style.display = "none"; | ||
} | ||
} | ||
|
||
featuresButton.addEventListener('click', function () { | ||
window.open("features.html", '_blank'); | ||
}); | ||
|
||
changelogButton.addEventListener('click', function () { | ||
window.open("changelog.html", '_blank'); | ||
}); | ||
|
||
bugButton.addEventListener('click', function () { | ||
window.open("BugsList.html", '_blank'); | ||
}); | ||
|
||
githubButton.addEventListener('click', function () { | ||
window.open("https://github.com/JMU-CS/praxly", '_blank'); | ||
}); | ||
|
||
peopleButton.addEventListener('click', function () { | ||
window.open('people.html'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>Praxly</title> | ||
<link id="Theme" rel="stylesheet" href="./themes.css"> | ||
<link rel="icon" href="/fallen-leaf_1f342.ico" type="image/x-icon"> | ||
<link rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" /> | ||
</head> | ||
|
||
<body class="embed"> | ||
<div id="blocker"></div> | ||
|
||
<main> | ||
<div id="aceCode" class="codeEditor"></div> | ||
<div id="blocklyDiv"></div> | ||
</main> | ||
|
||
<div class="resizeBarX"></div> | ||
<div class="resizeBarY"></div> | ||
|
||
<div class="side-view"> | ||
|
||
<!-- Toolbar --> | ||
<div id="embed-toolbar"> | ||
<button id="runButton" class="embed-button"> | ||
Run | ||
<span class="material-symbols-rounded run">play_arrow</span> | ||
</button> | ||
<button id="debugButton" class="embed-button"> | ||
Debug | ||
<span class="material-symbols-rounded bug">pest_control</span> | ||
</button> | ||
<button id="stepButton" class="embed-button debugOptions"> | ||
Step | ||
<span class="material-symbols-rounded step">step</span> | ||
</button> | ||
<button id="stopButton" class="embed-button debugOptions"> | ||
Exit | ||
<span class="material-symbols-rounded stop">stop</span> | ||
</button> | ||
<button id="resetButton" class="embed-button"> | ||
Reset | ||
<span class="material-symbols-rounded reset">restart_alt</span> | ||
</button> | ||
<button id="newWindow" class="embed-button"> | ||
Open | ||
<span class="material-symbols-rounded open">open_in_new</span> | ||
</button> | ||
</div> | ||
|
||
<!-- Output --> | ||
<div class="output"> | ||
<div class="clearOut">🗑</div> | ||
<p class="stdout"></p> | ||
<p class="stderr"></p> | ||
</div> | ||
|
||
<div class="resize-side-view"></div> | ||
|
||
<!--Variables --> | ||
<div id="Variable-table-container"> | ||
<table id="Variable-table-outer"> | ||
<thead> | ||
<tr> | ||
<th>Variable</th> | ||
<th>Type</th> | ||
<th>Value</th> | ||
<th>Scope</th> | ||
</tr> | ||
</thead> | ||
<tbody id="Variable-table"></tbody> | ||
</table> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="debugModal"> | ||
<div class="debugModal-content"> | ||
<h2>Are you sure you want to reset?</h2> | ||
<p>Resetting will remove any changes you made AND clear both the output and variables table.</p> | ||
<div class="answerOptions"> | ||
<button id="yes">Yes</button> | ||
<button id="no">No</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="./src/main.js" type="module"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.