diff options
author | LeoQi <QibinZheng2014@tongji.edu.cn> | 2018-07-20 02:58:47 +0800 |
---|---|---|
committer | LeoQi <QibinZheng2014@tongji.edu.cn> | 2018-08-30 19:06:15 +0800 |
commit | dae60f00ff56acd4a57c750ad342a85a7a5d835c (patch) | |
tree | 71f952c077505e0307ca6d8fccf54f0fd1eafd03 /testing-scheduler/ui/src/components/env_component/base_input.vue | |
parent | ad12a6561be8c67f6da09c38c4e1c0e88eb9a6de (diff) |
the environment page in frontend of testing-scheduler
JIRA: BOTTLENECK-238
the environment page provides configuration setting operations.
Change-Id: I79f93bfc0c66c37a3f58d042669cbb61d3bad848
Signed-off-by: Zheng Qibin <QibinZheng2014@tongji.edu.cn>
Diffstat (limited to 'testing-scheduler/ui/src/components/env_component/base_input.vue')
-rw-r--r-- | testing-scheduler/ui/src/components/env_component/base_input.vue | 20 |
1 files changed, 20 insertions, 0 deletions
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 index 00000000..d96921a5 --- /dev/null +++ b/testing-scheduler/ui/src/components/env_component/base_input.vue @@ -0,0 +1,20 @@ +<template>
+ <div class="form-group">
+ <label class="col-lg-3 control-label">{{ name }}</label>
+ <div class="col-lg-7">
+ <input type="text" class="form-control" v-bind:value="value" v-on:input="$emit('input', $event.target.value)">
+ </div>
+ </div>
+</template>
+<script>
+export default {
+ props: ['name', 'value'],
+ data: function() {
+ return {
+ inputName: this.name,
+ inputValue: this.value,
+ fake: "abc"
+ }
+ }
+}
+</script>
\ No newline at end of file |