Issue #22 - Added setting and implemented removing elements by basic CSS selector (only simple .class and #id can be used as of now).

This commit is contained in:
Daniel Thee Roperto
2016-11-14 11:35:08 +11:00
parent 0c97b4be01
commit 27c7558e57
7 changed files with 193 additions and 20 deletions

View File

@@ -36,6 +36,6 @@ if (is_null($outage)) {
}
$page = maintenance_static_page::create_from_outage($outage);
$page->set_preview(true);
$page->get_io()->set_preview(true);
$page->generate();
readfile($page->get_template_file());
readfile($page->get_io()->get_template_file());