the environment page in frontend of testing-scheduler
[bottlenecks.git] / testing-scheduler / ui / src / components / env_component / base_input.vue
diff --git a/testing-scheduler/ui/src/components/env_component/base_input.vue b/testing-scheduler/ui/src/components/env_component/base_input.vue
new file mode 100644 (file)
index 0000000..d96921a
--- /dev/null
@@ -0,0 +1,20 @@
+<template>\r
+    <div class="form-group">\r
+        <label class="col-lg-3 control-label">{{ name }}</label>\r
+        <div class="col-lg-7">\r
+            <input type="text" class="form-control" v-bind:value="value" v-on:input="$emit('input', $event.target.value)">\r
+        </div>\r
+    </div>\r
+</template>\r
+<script>\r
+export default {\r
+    props: ['name', 'value'],\r
+    data: function() {\r
+        return {\r
+            inputName: this.name,\r
+            inputValue: this.value,\r
+            fake: "abc"\r
+        }\r
+    }\r
+}\r
+</script>
\ No newline at end of file