rearranged onionshare_gui files, made it work better with packaging

This commit is contained in:
Micah Lee 2014-05-29 22:53:35 -04:00
parent 33cd3ba0ea
commit 3deab0dc40
9 changed files with 40 additions and 20 deletions

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="style.css" />
</head>
<body>
<h1><span class="skull">&#9760;</span> <span id="basename">...</span></h1>
<div id="url-wrapper">
<div id="give-this-url">Give this URL to the person you're sending the file to:</div>
<div id="url"></div>
</div>
<div id="output">...</div>
<script src="jquery-1.11.1.min.js"></script>
<script src="onionshare.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,13 @@
function send(msg) {
document.title = "null";
document.title = msg;
}
function set_basename(basename) {
$('#basename').html(basename);
}
function set_strings(strings) {
strings = JSON.parse(strings)
$('#give-this-url').html(strings['give_this_url'])
}

View file

@ -0,0 +1,42 @@
body {
background-color: #222222;
color: #aaffaa;
font-family: monospace;
width: 400px;
margin: 0 auto;
padding: 0;
}
h1 {
background-color: #FFC4D5;
color: #000000;
text-align: center;
font-size: 30px;
margin: 0;
padding: 10px;
font-family: sans-serif;
}
h1 .skull {
font-size: 40px;
font-weight: bold;
color: #FF0048;
}
#url-wrapper {
padding: 10px;
background-color: #ffffff;
display: none;
}
#give-this-url {
font-size: 14px;
margin-bottom: 10px;
font-family: sans-serif;
color: #666666;
}
#url {
word-wrap: break-word;
font-size: 30px;
color: #000000;
}
#output {
padding: 10px;
}