29 lines
460 B
C++
29 lines
460 B
C++
//
|
|
// Created by lukas on 5/11/25.
|
|
//
|
|
|
|
#ifndef HTMXTABLEROW_H
|
|
#define HTMXTABLEROW_H
|
|
|
|
#include <string>
|
|
#include "HtmxObject.h"
|
|
|
|
class HtmxTableRow : public HtmxObject {
|
|
|
|
public:
|
|
void add_status_box(std::string_view name, bool is_active);
|
|
|
|
void add_button(std::string_view endpoint, std::string_view name, std::string_view text);
|
|
|
|
void add(std::string_view text);
|
|
|
|
/**
|
|
* Complete the row
|
|
*/
|
|
void complete();
|
|
};
|
|
|
|
|
|
|
|
#endif //HTMXTABLEROW_H
|