DmitrMakeev commited on
Commit
7aabb8a
·
verified ·
1 Parent(s): 3371288

Update buil_json.html

Browse files
Files changed (1) hide show
  1. buil_json.html +47 -4
buil_json.html CHANGED
@@ -6,19 +6,62 @@
6
  <title>Video List Editor</title>
7
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.2/jsoneditor.min.css" />
8
  <style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  #jsoneditor {
10
  width: 60%;
11
  height: 400px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }
13
  </style>
14
  </head>
15
  <body>
16
  <h1>Video List Editor</h1>
17
  <div>
18
- <label for="title">Title:</label>
19
- <input type="text" id="title" placeholder="Enter video title">
20
- <label for="file">File URL:</label>
21
- <input type="text" id="file" placeholder="Enter video file URL">
 
 
22
  <button id="addVideo">Add Video</button>
23
  <button id="saveToClipboard">Save to Clipboard</button>
24
  </div>
 
6
  <title>Video List Editor</title>
7
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/9.9.2/jsoneditor.min.css" />
8
  <style>
9
+ body {
10
+ font-family: Arial, sans-serif;
11
+ text-align: center;
12
+ background-color: #f0f0f0;
13
+ margin: 0;
14
+ padding: 0;
15
+ max-height: 250px; /* Устанавливаем максимальную высоту страницы */
16
+ }
17
+ h1 {
18
+ background-color: #4CAF50;
19
+ color: white;
20
+ padding: 20px;
21
+ margin: 0;
22
+ border-bottom: 2px solid #388E3C;
23
+ }
24
+ .input-row {
25
+ display: flex;
26
+ justify-content: center;
27
+ gap: 10px;
28
+ margin-top: 20px;
29
+ }
30
+ .input-row input, .input-row textarea {
31
+ padding: 10px;
32
+ font-size: 16px;
33
+ border: 1px solid #ccc;
34
+ border-radius: 5px;
35
+ }
36
  #jsoneditor {
37
  width: 60%;
38
  height: 400px;
39
+ margin: 20px auto;
40
+ }
41
+ #addVideo, #saveToClipboard {
42
+ color: white;
43
+ background-color: #4CAF50;
44
+ border: none;
45
+ cursor: pointer;
46
+ padding: 10px 20px;
47
+ font-size: 16px;
48
+ border-radius: 5px;
49
+ margin-top: 20px;
50
+ }
51
+ #addVideo:hover, #saveToClipboard:hover {
52
+ background-color: #388E3C;
53
  }
54
  </style>
55
  </head>
56
  <body>
57
  <h1>Video List Editor</h1>
58
  <div>
59
+ <div class="input-row">
60
+ <label for="title">Title:</label>
61
+ <input type="text" id="title" placeholder="Enter video title">
62
+ <label for="file">File URL:</label>
63
+ <input type="text" id="file" placeholder="Enter video file URL">
64
+ </div>
65
  <button id="addVideo">Add Video</button>
66
  <button id="saveToClipboard">Save to Clipboard</button>
67
  </div>