Commit 654def3e authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) add initial rule setup to shaper UI

parent afa6209b
......@@ -37,7 +37,10 @@ class IndexController extends \OPNsense\Base\IndexController
public function indexAction()
{
$this->view->title = "Traffic Shaper";
// include dialog form definitions
$this->view->formDialogPipe = $this->getForm("dialogPipe");
$this->view->formDialogRule = $this->getForm("dialogRule");
// choose template
$this->view->pick('OPNsense/TrafficShaper/index');
}
}
<form>
<field>
<id>rule.sequence</id>
<label>sequence</label>
<type>text</type>
<help>order in which the rule will be evaluated</help>
</field>
<field>
<id>rule.interface</id>
<label>interface</label>
<type>text</type>
<help></help>
</field>
<field>
<id>rule.proto</id>
<label>proto</label>
<type>dropdown</type>
<help></help>
</field>
<field>
<id>rule.source</id>
<label>source</label>
<type>text</type>
<help></help>
</field>
<field>
<id>rule.destination</id>
<label>destination</label>
<type>text</type>
<help></help>
</field>
<field>
<id>rule.target</id>
<label>target</label>
<type>dropdown</type>
<help></help>
</field>
<field>
<id>rule.description</id>
<label>description</label>
<type>text</type>
<help></help>
</field>
</form>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment