summaryrefslogtreecommitdiff
path: root/templates/page.julius
blob: a9d0b422392b23f71f4b6d94e7b77a78157544c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
connfailed =
  '<div id="modal" class="modal fade">' +
  '  <div class="modal-header">' +
  '    <h3>git-annex has shut down</h3>' +
  '  </div>' +
  '  <div class="modal-body">' +
  '    You can now close this browser window.' +
  '  </div>' +
  '</div>' ;

function webapp_disconnected () {
	$('#modal').replaceWith(connfailed);
	$('#modal').modal('show');

	// ideal, but blocked by many browsers
	window.close();
}