Check-in [8e5aed79dc]
Overview
Comment:Added reload button to CACKey UI page to reload info more easily
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8e5aed79dc34b7a96bf067bbd1598220a4fe79cc
User & Date: rkeene on 2019-01-30 17:47:00
Other Links: manifest | tags
Context
2019-01-30
17:47
Whitespace cleanup check-in: 90921f9444 user: rkeene tags: trunk
17:47
Added reload button to CACKey UI page to reload info more easily check-in: 8e5aed79dc user: rkeene tags: trunk
17:24
Only display extended key usage if it is present in the certificate check-in: 731ccabde6 user: rkeene tags: trunk
Changes

Modified build/chrome/ui.html from [e2cfa8c888] to [646f12701f].

1
2
3
4
5
6
7
8
9
10
11

12
13
<html>
	<head>
		<title>CACKey</title>
		<script type="text/javascript" src="jsrsasign.js"></script>
		<script type="text/javascript" src="ui.js"></script>
	</head>
	<body>
		<h1>CACKey for Chrome</h1>
		<div>Certificate Provider: <span id="certificate_provider"></span></div>
		<div>Smartcard Readers: <span id="smartcard_readers"></span></div>
		<div>Certificates: <span id="certificates"></span></div>

	</body>
</html>











>


1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html>
	<head>
		<title>CACKey</title>
		<script type="text/javascript" src="jsrsasign.js"></script>
		<script type="text/javascript" src="ui.js"></script>
	</head>
	<body>
		<h1>CACKey for Chrome</h1>
		<div>Certificate Provider: <span id="certificate_provider"></span></div>
		<div>Smartcard Readers: <span id="smartcard_readers"></span></div>
		<div>Certificates: <span id="certificates"></span></div>
		<div><button id="reload">Refresh</button></div>
	</body>
</html>

Modified build/chrome/ui.js from [ae57f2ddff] to [019205436c].

114
115
116
117
118
119
120





121

122
123
124
125











126
127

		return;
	});

	return;
}






setTimeout(function() {

	updateCertificates(document.getElementById('certificates'));
	updateSmartcardReaders(document.getElementById('smartcard_readers'));
	updateCertificateProvider(document.getElementById('certificate_provider'));












	return;
}, 1);







>
>
>
>
>
|
>



|
>
>
>
>
>
>
>
>
>
>
>


114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144

		return;
	});

	return;
}

function clearStatusInfo() {
	document.getElementById('certificates').innerHTML = '<i>Loading...</i>';
	document.getElementById('smartcard_readers').innerHTML = '<i>Loading...</i>';
	document.getElementById('certificate_provider').innerHTML = '<i>Loading...</i>';
}

function loadStatusInfo() {
	updateCertificates(document.getElementById('certificates'));
	updateSmartcardReaders(document.getElementById('smartcard_readers'));
	updateCertificateProvider(document.getElementById('certificate_provider'));
}

setTimeout(function() {
	loadStatusInfo();

	document.getElementById('reload').onclick = function() {
		clearStatusInfo();
		setTimeout(function() {
			loadStatusInfo();
		}, 1);
	};
	
	return;
}, 1);