aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
blob: 06b559bcd844bb7a6f25f7d5ca88df7d7b4c5648 (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
#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_asset(const char*);

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

#endif