mirror of
https://github.com/leoherzog/TorrentParts.git
synced 2026-01-24 04:08:04 -08:00
Tweak Placeholder Text
This commit is contained in:
@@ -33699,7 +33699,7 @@ function start() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (event.key === "Enter") {
|
if (event.key === "Enter") {
|
||||||
originalSourceIcon.innerHTML = '<span class="fad fa-magnet fa-fw"></span>';
|
originalSourceIcon.innerHTML = '<span class="fad fa-magnet fa-fw"></span>';
|
||||||
originalSourceIcon.title = 'Originally sourced from Magnet URL';
|
originalSourceIcon.title = 'Currently loaded information sourced from Magnet URL';
|
||||||
parse(magnet.value);
|
parse(magnet.value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -33709,7 +33709,7 @@ function start() {
|
|||||||
try {
|
try {
|
||||||
event.target.files[0].arrayBuffer().then(function(arrayBuffer) {
|
event.target.files[0].arrayBuffer().then(function(arrayBuffer) {
|
||||||
originalSourceIcon.innerHTML = '<span class="fad fa-file fa-fw"></span>';
|
originalSourceIcon.innerHTML = '<span class="fad fa-file fa-fw"></span>';
|
||||||
originalSourceIcon.title = 'Originally sourced from Torrent file';
|
originalSourceIcon.title = 'Currently loaded information sourced from Torrent file';
|
||||||
parse(Buffer.from(arrayBuffer));
|
parse(Buffer.from(arrayBuffer));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -33752,7 +33752,7 @@ function start() {
|
|||||||
|
|
||||||
if (window.location.hash) {
|
if (window.location.hash) {
|
||||||
originalSourceIcon.innerHTML = '<span class="fad fa-link fa-fw"></span>';
|
originalSourceIcon.innerHTML = '<span class="fad fa-link fa-fw"></span>';
|
||||||
originalSourceIcon.title = 'Originally sourced from shared torrent.parts link';
|
originalSourceIcon.title = 'Currently loaded information sourced from shared torrent.parts link';
|
||||||
parse(window.location.hash.split('#')[1]);
|
parse(window.location.hash.split('#')[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
bundle.min.js
vendored
2
bundle.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -93,7 +93,7 @@
|
|||||||
<label for="comment">Comment</label>
|
<label for="comment">Comment</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<input id="comment" type="text" placeholder="None" />
|
<input id="comment" type="text" placeholder="Not included in the URL/File provided" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
6
parse.js
6
parse.js
@@ -36,7 +36,7 @@ function start() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (event.key === "Enter") {
|
if (event.key === "Enter") {
|
||||||
originalSourceIcon.innerHTML = '<span class="fad fa-magnet fa-fw"></span>';
|
originalSourceIcon.innerHTML = '<span class="fad fa-magnet fa-fw"></span>';
|
||||||
originalSourceIcon.title = 'Originally sourced from Magnet URL';
|
originalSourceIcon.title = 'Currently loaded information sourced from Magnet URL';
|
||||||
parse(magnet.value);
|
parse(magnet.value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -46,7 +46,7 @@ function start() {
|
|||||||
try {
|
try {
|
||||||
event.target.files[0].arrayBuffer().then(function(arrayBuffer) {
|
event.target.files[0].arrayBuffer().then(function(arrayBuffer) {
|
||||||
originalSourceIcon.innerHTML = '<span class="fad fa-file fa-fw"></span>';
|
originalSourceIcon.innerHTML = '<span class="fad fa-file fa-fw"></span>';
|
||||||
originalSourceIcon.title = 'Originally sourced from Torrent file';
|
originalSourceIcon.title = 'Currently loaded information sourced from Torrent file';
|
||||||
parse(Buffer.from(arrayBuffer));
|
parse(Buffer.from(arrayBuffer));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -89,7 +89,7 @@ function start() {
|
|||||||
|
|
||||||
if (window.location.hash) {
|
if (window.location.hash) {
|
||||||
originalSourceIcon.innerHTML = '<span class="fad fa-link fa-fw"></span>';
|
originalSourceIcon.innerHTML = '<span class="fad fa-link fa-fw"></span>';
|
||||||
originalSourceIcon.title = 'Originally sourced from shared torrent.parts link';
|
originalSourceIcon.title = 'Currently loaded information sourced from shared torrent.parts link';
|
||||||
parse(window.location.hash.split('#')[1]);
|
parse(window.location.hash.split('#')[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,8 @@ header {
|
|||||||
|
|
||||||
#startButtons > * {
|
#startButtons > * {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
height: 36px;
|
height: 40px;
|
||||||
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#magnet {
|
#magnet {
|
||||||
@@ -211,10 +212,12 @@ label {
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#addTracker, #addWebseed {
|
#addTracker, #addWebseed {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
|
height: 40px;
|
||||||
margin: 0 0 16px 0;
|
margin: 0 0 16px 0;
|
||||||
color: var(--light-blue);
|
color: var(--light-blue);
|
||||||
background: var(--dark-blue);
|
background: var(--dark-blue);
|
||||||
|
|||||||
Reference in New Issue
Block a user