mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Oxidized API cleanup Import more settings to the UI use lnms config:set * validate os and type exist * map settings WIP * oops * editing working. Needed to add new property to pass update state to child * implement deleting and handle text overflow a little better. * Update app/Models/Device.php Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com> * Update app/Models/Device.php Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com> * revert change * fix style * add return Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
39 lines
1.2 KiB
Vue
39 lines
1.2 KiB
Vue
<!--
|
|
- BaseSetting.vue
|
|
-
|
|
- Description-
|
|
-
|
|
- This program is free software: you can redistribute it and/or modify
|
|
- it under the terms of the GNU General Public License as published by
|
|
- the Free Software Foundation, either version 3 of the License, or
|
|
- (at your option) any later version.
|
|
-
|
|
- This program is distributed in the hope that it will be useful,
|
|
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
|
- GNU General Public License for more details.
|
|
-
|
|
- You should have received a copy of the GNU General Public License
|
|
- along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-
|
|
- @package LibreNMS
|
|
- @link https://www.librenms.org
|
|
- @copyright 2019 Tony Murray
|
|
- @author Tony Murray <murraytony@gmail.com>
|
|
-->
|
|
|
|
<script>
|
|
export default {
|
|
name: "BaseSetting",
|
|
props: {
|
|
name: {type: String, required: true},
|
|
value: {required: true},
|
|
disabled: Boolean,
|
|
required: Boolean,
|
|
pattern: String,
|
|
"update-status": String,
|
|
options: {}
|
|
}
|
|
}
|
|
</script>
|