nep-cli 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/assets/vue.js +11944 -0
- package/bin/assets/vuetify/json/attributes.json +9158 -0
- package/bin/assets/vuetify/json/tags.json +3063 -0
- package/bin/assets/vuetify/json/web-types.json +27671 -0
- package/bin/assets/vuetify/vuetify.css +24876 -0
- package/bin/assets/vuetify/vuetify.css.map +1 -0
- package/bin/assets/vuetify/vuetify.js +41073 -0
- package/bin/assets/vuetify/vuetify.js.map +1 -0
- package/bin/assets/vuetify/vuetify.min.css +8 -0
- package/bin/assets/vuetify/vuetify.min.js +6 -0
- package/bin/image.html +14 -6
- package/bin/index.js +611 -271
- package/bin/json.html +9 -4
- package/package.json +3 -4
package/bin/image.html
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
7
|
<title>NEP+ Image</title>
|
|
8
|
-
<!-- Include Vue 2 and Vuetify 2
|
|
9
|
-
<link href="
|
|
10
|
-
<script src="
|
|
11
|
-
<script src="
|
|
8
|
+
<!-- Include Vue 2 and Vuetify 2 -->
|
|
9
|
+
<link href="assets/vuetify/vuetify.min.css" rel="stylesheet">
|
|
10
|
+
<script src="assets/vue.js"></script>
|
|
11
|
+
<script src="assets/vuetify/vuetify.js"></script>
|
|
12
12
|
</head>
|
|
13
13
|
|
|
14
14
|
<body>
|
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
<v-app style="background-color: #121212;">
|
|
17
17
|
<v-container>
|
|
18
18
|
<v-toolbar flat dense dark color="transparent">
|
|
19
|
-
<v-toolbar-title> Topic
|
|
19
|
+
<v-toolbar-title> Topic {{ topic }}</v-toolbar-title>
|
|
20
20
|
<v-spacer></v-spacer>
|
|
21
21
|
</v-toolbar>
|
|
22
22
|
<v-row>
|
|
23
23
|
<v-col>
|
|
24
24
|
<v-card color="#1A1A1A">
|
|
25
|
-
<v-
|
|
25
|
+
<v-slider v-model="imageHeight" min="100" max="800" step="10" ></v-slider>
|
|
26
|
+
<v-img :src="imageSrc" :height="imageHeight + 'px'" alt="Streamed Image" contain></v-img>
|
|
26
27
|
</v-card>
|
|
27
28
|
</v-col>
|
|
28
29
|
</v-row>
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
</v-app>
|
|
31
32
|
</div>
|
|
32
33
|
<script src="/socket.io/socket.io.js"></script> <!-- Include the Socket.IO client library -->
|
|
34
|
+
|
|
33
35
|
<script>
|
|
34
36
|
|
|
35
37
|
// Function to get the value of a URL parameter by name
|
|
@@ -54,8 +56,14 @@
|
|
|
54
56
|
return {
|
|
55
57
|
imageSrc: '', // Initialize the image source as empty
|
|
56
58
|
topic: "",
|
|
59
|
+
imageHeight: 400, // Initialize the image height
|
|
57
60
|
};
|
|
58
61
|
},
|
|
62
|
+
watch: {
|
|
63
|
+
topic(newVal) {
|
|
64
|
+
document.title = newVal ? `NEP+ Image ${newVal}` : 'NEP+ Image';
|
|
65
|
+
}
|
|
66
|
+
},
|
|
59
67
|
mounted() {
|
|
60
68
|
this.topic = getParameterByName('topic');
|
|
61
69
|
const image = document.getElementById('image');
|