From bc9c06910c0544c3f3029db287beda85afa2b542 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 2 Jul 2009 15:41:59 +0000 Subject: Started on 'create new rrd' function (still much to do). The viewfile for NewRRD is showing some forms, but it's still not usable. --- rrdtool-controller.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rrdtool-controller.lua') 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 -- cgit v1.2.3