Fill in some accesskeys and tooltips.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3823 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -165,6 +165,14 @@ function stats() { | ||||
| 	document.getElementById("statsPane").style.display = 'flex'; | ||||
| } | ||||
|  | ||||
| function toggleStats() { | ||||
| 	if (document.getElementById("statsPane").style.display == 'none') { | ||||
| 		stats(); | ||||
| 	} else { | ||||
| 		closeStats(); | ||||
| 	} | ||||
| } | ||||
|  | ||||
| function guessMode(name) { | ||||
| 	return name.endsWith(".js") ? "javascript" : | ||||
| 		name.endsWith(".html") ? "htmlmixed" : | ||||
|   | ||||
| @@ -11,11 +11,11 @@ | ||||
| 		<div class="navigation"> | ||||
| 			<span>😎</span> | ||||
| 			<span id="title">Tilde Friends</span> | ||||
| 			<a href="/">home</a> | ||||
| 			<a href="/~core/apps/">apps</a> | ||||
| 			<a accesskey="h" data-tip="Open home app." href="/">home</a> | ||||
| 			<a accesskey="a" data-tip="Open apps list." href="/~core/apps/">apps</a> | ||||
| 			<a accesskey="e" data-tip="Toggle the app editor." href="#" onclick="event.preventDefault(); toggleEdit()">edit</a> | ||||
| 			<a href="#" onclick="event.preventDefault(); trace()">trace</a> | ||||
| 			<a href="#" onclick="event.preventDefault(); stats()">stats</a> | ||||
| 			<a accesskey="t" data-tip="Open performance trace." href="#" onclick="event.preventDefault(); trace()">trace</a> | ||||
| 			<a accesskey="g" data-tip="Show graphs." href="#" onclick="event.preventDefault(); toggleStats()">stats</a> | ||||
| 			<span id="status"></span> | ||||
| 			<span id="login"></span> | ||||
| 		</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user