build debian packages should work now
This commit is contained in:
		@@ -24,13 +24,17 @@
 | 
			
		||||
 | 
			
		||||
<ul id="menu" style="display: none">
 | 
			
		||||
  <li onclick="backup()">Download Backup</li>
 | 
			
		||||
  <li class="toolbutton"><label for="restore">Restore Backup</label><input autocomplete="off" type="file" accept="text/*" id="restore" /></li>
 | 
			
		||||
  <li onclick="groups()">Edit Groups</li>
 | 
			
		||||
  <li href="safechat.apk"><a href="safechat.apk">Download Android-App</a></li>
 | 
			
		||||
  <li class="toolbutton"><label for="restore">Restore Backup</label><input autocomplete="off" type="file" accept="*.bak" id="restore" /></li>
 | 
			
		||||
  <li id="groups" onclick="groups()">Edit Groups</li>
 | 
			
		||||
  <li id="android-download" href="safechat.apk"><a href="safechat.apk">Download Android-App</a></li>
 | 
			
		||||
</ul>
 | 
			
		||||
<script>
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
  $(function() { // on load: without cordova, remove andoid-download
 | 
			
		||||
    if ("@CORDOVA@" == "0") $("#android-download").hide();
 | 
			
		||||
    if (!window.FileReader) $("#restore").hide(); // not supported by browser
 | 
			
		||||
    $("#groups").hide();
 | 
			
		||||
  })
 | 
			
		||||
  $("#restore").change(function(evt){restore(evt)});
 | 
			
		||||
  if (!window.FileReader) $("#restore").hide(); // not supported by browser
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<div id="main">
 | 
			
		||||
 
 | 
			
		||||
@@ -121,6 +121,10 @@ td:last-child {
 | 
			
		||||
  list-style-type: none;
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
}
 | 
			
		||||
#menu a {
 | 
			
		||||
  text-decoration: inherit;
 | 
			
		||||
  color: inherit;
 | 
			
		||||
}
 | 
			
		||||
#menu li {
 | 
			
		||||
  padding: 0 1em 0 1em;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user