Commit fab2c6db authored by sirjorj's avatar sirjorj

squad2 is ready

parent 46f60ab9
......@@ -87,13 +87,13 @@ void index(struct kreq *req) {
khtml_attr(&r, KELEM_A, KATTR_HREF, (std::string(req->pname) + "/quickbuilds2").c_str(), KATTR__MAX); khtml_puts(&r, "quickbuilds");
khtml_closeelem(&r, 3); // a td tr
}
{ // validator
{ // validator / squad
khtml_elem(&r, KELEM_TR);
khtml_elem(&r, KELEM_TD);
khtml_attr(&r, KELEM_A, KATTR_HREF, (std::string(req->pname) + "/validator").c_str(), KATTR__MAX); khtml_puts(&r, "validator");
khtml_closeelem(&r, 2); // a td
khtml_elem(&r, KELEM_TD);
khtml_attr(&r, KELEM_A, KATTR_HREF, (std::string(req->pname) + "/validator2").c_str(), KATTR__MAX); khtml_puts(&r, "validator"); khtml_closeelem(&r, 1);
khtml_attr(&r, KELEM_A, KATTR_HREF, (std::string(req->pname) + "/squad2").c_str(), KATTR__MAX); khtml_puts(&r, "squad"); khtml_closeelem(&r, 1);
khtml_closeelem(&r, 2); // td tr
}
......
This diff is collapsed.
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