1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-29 14:51:17 +00:00

reordered Sync menu; new neslib

This commit is contained in:
Steven Hugg 2019-07-21 21:28:44 -04:00
parent e852fd27a6
commit 2f55ba9bf0
4 changed files with 5 additions and 5 deletions

View File

@ -73,12 +73,12 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<li><a class="dropdown-item" href="#" id="item_github_logout">Log out</a></li> <li><a class="dropdown-item" href="#" id="item_github_logout">Log out</a></li>
<hr> <hr>
<li><a class="dropdown-item" href="#" id="item_github_import">Import Project from GitHub...</a></li> <li><a class="dropdown-item" href="#" id="item_github_import">Import Project from GitHub...</a></li>
<li><a class="dropdown-item" href="#" id="item_github_publish">Publish Project on GitHub...</a></li> <li><a class="dropdown-item" href="#" id="item_github_pull">Pull Latest from Repository</a></li>
<li><a class="dropdown-item" href="#" id="item_repo_delete">Delete Local Repository...</a></li>
<hr> <hr>
<li><a class="dropdown-item" href="#" id="item_github_publish">Publish Project on GitHub...</a></li>
<li><a class="dropdown-item" href="#" id="item_github_push">Push Changes to Repository...</a></li> <li><a class="dropdown-item" href="#" id="item_github_push">Push Changes to Repository...</a></li>
<hr> <hr>
<li><a class="dropdown-item" href="#" id="item_github_pull">Pull Latest from Repository</a></li> <li><a class="dropdown-item" href="#" id="item_repo_delete">Delete Local Repository...</a></li>
</ul> </ul>
</li> </li>
<li class="dropdown dropdown-submenu"> <li class="dropdown dropdown-submenu">

View File

@ -612,8 +612,8 @@ function pushChangesToGithub(message:string) {
function _deleteRepository() { function _deleteRepository() {
var ghurl = getBoundGithubURL(); var ghurl = getBoundGithubURL();
if (!ghurl) return; if (!ghurl) return;
bootbox.prompt("<p>Are you sure you want to delete this repository (" + ghurl + ") from browser storage?</p><p>All changes since last commit will be lost.</p><p>Type YES to proceed.<p>", (yes) => { bootbox.prompt("<p>Are you sure you want to delete this repository (" + ghurl + ") from browser storage?</p><p>All changes since last commit will be lost.</p><p>Type DELETE to proceed.<p>", (yes) => {
if (yes.trim().toUpperCase() == "YES") { if (yes.trim().toUpperCase() == "DELETE") {
deleteRepository(); deleteRepository();
} }
}); });

Binary file not shown.

Binary file not shown.