diff options
author | Mika Havela <mika.havela@gmail.com> | 2009-07-02 15:41:59 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2009-07-02 15:41:59 +0000 |
commit | bc9c06910c0544c3f3029db287beda85afa2b542 (patch) | |
tree | 17ddbfe5d64c403b2c360c2e4cf67d0aad6b80a6 /rrdtool-controller.lua | |
parent | ccda03f6238def938e63e4ccd81c79aed9e2bb88 (diff) | |
download | acf-rrdtool-bc9c06910c0544c3f3029db287beda85afa2b542.tar.bz2 acf-rrdtool-bc9c06910c0544c3f3029db287beda85afa2b542.tar.xz |
Started on 'create new rrd' function (still much to do).
The viewfile for NewRRD is showing some forms, but it's still not usable.
Diffstat (limited to 'rrdtool-controller.lua')
-rw-r--r-- | rrdtool-controller.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rrdtool-controller.lua b/rrdtool-controller.lua index 71c429f..56b9a1e 100644 --- a/rrdtool-controller.lua +++ b/rrdtool-controller.lua @@ -27,3 +27,8 @@ function listrrd(self) return cfe({ type="list", value=configfiles.value, label="RoundRobinDatabase (rrd) files" }) end + +function createrrd(self) + return controllerfunctions.handle_form(self, self.model.createnewrrd, self.model.write_file, self.clientdata, "Save", "Edit Interfaces file", "File saved") + +end |