mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
Cleanup
This commit is contained in:
parent
1626875ba8
commit
2b3698ece0
7 changed files with 11 additions and 6 deletions
|
@ -50,6 +50,10 @@
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
width: 120px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-height: 440px) {
|
@media all and (min-height: 440px) {
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</style>
|
</style>
|
||||||
<iron-icon icon="chat:wifi-tethering"></iron-icon>
|
<iron-icon icon="chat:wifi-tethering"></iron-icon>
|
||||||
<div class="paper-font-body1">
|
<div class="paper-font-body1">
|
||||||
The easiest way to transfer data.
|
Easily transfer data across devices.
|
||||||
</div>
|
</div>
|
||||||
<div class="paper-font-body1 discover">
|
<div class="paper-font-body1 discover">
|
||||||
Allow me to be discovered by: Everyone in this network.
|
Allow me to be discovered by: Everyone in this network.
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<h2>Download File</h2>
|
<h2>Download File</h2>
|
||||||
<p><b class="filename">{{file.name}}</b></p>
|
<p><b class="filename">{{file.name}}</b></p>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<paper-button dialog-dismiss on-tap="_decline">Discard</paper-button>
|
<paper-button dialog-dismiss on-tap="_decline">Ignore</paper-button>
|
||||||
<paper-button dialog-confirm on-tap="_accept" autofocus>Download</paper-button>
|
<paper-button dialog-confirm on-tap="_accept" autofocus>Download</paper-button>
|
||||||
</div>
|
</div>
|
||||||
</paper-dialog>
|
</paper-dialog>
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
console.log(err);
|
console.log(err);
|
||||||
if (err.message.indexOf('Connection is not open') > -1) {
|
if (err.message.indexOf('Connection is not open') > -1) {
|
||||||
console.error('Handle this error!!', err);
|
console.error('Handle this error!!', err);
|
||||||
this.connectToPeer(requestedPeer, callback);
|
//this.connectToPeer(requestedPeer, callback);
|
||||||
}
|
}
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<paper-button dialog-dismiss>Discard</paper-button>
|
<paper-button dialog-dismiss>Close</paper-button>
|
||||||
<paper-button on-tap="_copy" autofocus hidden$="{{!clipboardSupported}}">Copy</paper-button>
|
<paper-button on-tap="_copy" autofocus hidden$="{{!clipboardSupported}}">Copy</paper-button>
|
||||||
<a href="tel:{{tel}}" hidden$="{{!tel}}">
|
<a href="tel:{{tel}}" hidden$="{{!tel}}">
|
||||||
<paper-button autofocus dialog-dismiss>Call</paper-button>
|
<paper-button autofocus dialog-dismiss>Call</paper-button>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="Snapdrop is the easiest way to send files accross devices">
|
<meta name="description" content="Snapdrop is an easy way to transfer files. Instantly share images, video, PDF, and links across devices. Peer2Peer, Private, Secure and Open Source. No Setup, No Signup.">
|
||||||
<meta name="viewport" content="width=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
<meta name="viewport" content="width=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
<meta name="generator" content="Snapdrop">
|
<meta name="generator" content="Snapdrop">
|
||||||
<title>Snapdrop</title>
|
<title>Snapdrop</title>
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
"platinum-elements": "PolymerElements/platinum-elements#^1.1.0",
|
"platinum-elements": "PolymerElements/platinum-elements#^1.1.0",
|
||||||
"polymer": "Polymer/polymer#^1.2.0",
|
"polymer": "Polymer/polymer#^1.2.0",
|
||||||
"paper-menu": "PolymerElements/paper-menu#4fecb43601",
|
"paper-menu": "PolymerElements/paper-menu#4fecb43601",
|
||||||
"peerjs": "~0.3.14"
|
"peerjs": "~0.3.14",
|
||||||
|
"clipboard": "~1.5.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"web-component-tester": "*"
|
"web-component-tester": "*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue