Documentation fixes and such

This commit is contained in:
2021-05-05 20:20:34 +02:00
parent 7258a8a039
commit db4195ac57
10 changed files with 37 additions and 25 deletions

View File

@@ -40,14 +40,17 @@ The following types of content are not allowed to be shared on pixeldrain. They
will be removed when reported.
* **Copyright violation**: Works which are shared without permission from the
copyright holder.
copyright holder. For copyright reports we need a formal DMCA takedown
request originating from the copyright holder or a representative. If your
request is not valid it will be ignored. Takedown requests which are sent to
any other address than abuse@pixeldrain.com will also be ignored.
* **Abuse of minors**: Videos, images or audio fragments depicting abuse or
inappropriate touching of minors will be removed and reported to the National
Center for Missing and Exploited Children when found.
* **Terrorism**: Videos, images or audio fragments which promote and
glorify acts of terrorism.
* **Gore**: Graphic and shocking videos or images depicting severe harm to
humans.
humans (or animals).
* **Malware and computer viruses**: Software designed to cause harm to computer
systems.

View File

@@ -17,8 +17,8 @@ Keep in mind that these are maximums, you are allowed to go lower.
| Requirement | Max rate EUR | Max rate SC |
|--------------------------|--------------|-------------|
| Storage price per month | € 2.00 / TB | {{ div 2.0 $price | formatSC }} / TB |
| Download price | € 3.00 / TB | {{ div 3.0 $price | formatSC }} / TB |
| Storage price per month | € 1.80 / TB | {{ div 1.8 $price | formatSC }} / TB |
| Download price | € 2.50 / TB | {{ div 2.5 $price | formatSC }} / TB |
| Upload price | € 2.00 / TB | {{ div 2.0 $price | formatSC }} / TB |
| Collateral per month | € 8.00 / TB | {{ div 8.0 $price | formatSC }} / TB |
| Contract formation price | € 0.10 | {{ div 0.1 $price | formatSC }} |

View File

@@ -208,7 +208,9 @@ function getStats(order) {
<td>${v.position}</td>
<td>${v.reachable}</td>
<td>${v.unreachable_count}</td>
<td>${v.load_1_min} ${v.load_5_min} ${v.load_15_min}</td>
<td>${v.load_1_min}</td>
<td>${v.load_5_min}</td>
<td>${v.load_15_min}</td>
<td>${formatDuration(v.latency)}</td>
<td>${formatDataVolume(v.free_space, 3)}</td>
<td>${formatDataVolume(v.min_free_space, 3)}</td>`
@@ -256,4 +258,4 @@ function getStats(order) {
}
getStats("calls")
setInterval(() => { getStats(lastOrder) }, 5000)
setInterval(() => { getStats(lastOrder) }, 10000)

View File

@@ -36,7 +36,7 @@ function drawGraph(element, label, dataType) {
position: "left",
id: "ax_1",
ticks: {
callback: function(value, index, values) {
callback: function (value, index, values) {
if (dataType == "bytes") {
return formatDataVolume(value, 3);
}
@@ -44,7 +44,7 @@ function drawGraph(element, label, dataType) {
},
beginAtZero: true
},
gridLines: { display: false },
gridLines: { display: true },
}
],
xAxes: [

View File

@@ -8,7 +8,7 @@ function AudioViewer(viewer, file, next) {
this.container.appendChild(document.createElement("br"))
this.icon = document.createElement("img")
this.icon.src = "/res/img/mime/audio.png"
this.icon.src = "/api/file/" + this.file.id + "/thumbnail"
this.container.appendChild(this.icon)
this.container.appendChild(document.createElement("br"))

View File

@@ -127,7 +127,6 @@ is collapsed */
}
.node > div > span {
margin: auto;
margin-top: 4px; /* I couldn't find another way to vertically align the text*/
box-sizing: border-box;
display: block;
text-overflow: ellipsis;

View File

@@ -298,6 +298,10 @@ p, .indent {
margin: 10px;
}
li {
margin-bottom: 0.5em;
}
hr{
height: 1px;
border: none;