api: add a sample rig web ui (php)