fix style
Seva Luchianov
4 years ago
0 | |
const fs = require('fs');
|
1 | 0 |
const path = require('path');
|
2 | 1 |
const utils = require('../utils');
|
3 | 2 |
const date = require('../utils/date');
|
4 | 3 |
const watchrooms = require('../utils/watchrooms');
|
5 | 4 |
const rimraf = require("rimraf");
|
6 | |
|
7 | |
// Aref Ruqaa
|
8 | |
// Average Sans
|
9 | |
// Electrolize
|
10 | |
// Geo
|
11 | |
// Gidugu
|
12 | |
// Gochi Hand
|
13 | |
// Ruda
|
14 | |
// Sansita
|
15 | 5 |
|
16 | 6 |
function createHandler(command, handler) {
|
17 | 7 |
return function(ws, user_id, data) {
|
104 | 104 |
`<span>Expires On <span class="video-entry-expires">
|
105 | 105 |
${utils.format_time(video.expires)}
|
106 | 106 |
</span></span>`, $(
|
107 | |
`<span class="video-entry-option" id="subtitle-upload-option">
|
108 | |
<label for="subtitle-upload" class="custom-subtitle-upload">upload subtitles</label>
|
109 | |
<input type="file" id="subtitle-upload" name="subtitle" accept=".srt">
|
110 | |
</span>`
|
|
107 |
`<span
|
|
108 |
class="video-entry-option"
|
|
109 |
id="subtitle-upload-option"
|
|
110 |
><label
|
|
111 |
for="subtitle-upload"
|
|
112 |
class="custom-subtitle-upload"
|
|
113 |
>upload subtitles</label><input
|
|
114 |
type="file"
|
|
115 |
id="subtitle-upload"
|
|
116 |
name="subtitle"
|
|
117 |
accept=".srt"
|
|
118 |
></span>`
|
111 | 119 |
).click(function(event) {
|
112 | 120 |
event.stopPropagation();
|
113 | 121 |
}).on("change", function(event) {
|