aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
blob: 15e07eefd6be3f7e3d01564d7f6005e8fb63a55d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef UI_H
#define UI_H

#include <time.h>
#include <stdint.h>

#define HTML_START "<!DOCTYPE html><html>"
#define HTML_END "</html>"

void print_html();
void print_head();

void print_body();
void print_title();
void print_build_nav();
void print_build_info();
void print_build_trigger();
void print_build_list();
void print_project_nav();
void print_project_list();
void print_footer();

void print_asset(const char*);

void strdifftime(time_t, time_t, char*, size_t);

#endif