Subversion Repositories IRC-Archiver

Rev

Rev 21 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 22
Line 1... Line 1...
1
/* $Id: html.c 21 2024-08-30 11:16:04Z nishi $ */
1
/* $Id: html.c 22 2024-08-30 11:17:48Z nishi $ */
2
 
2
 
3
#include "web_html.h"
3
#include "web_html.h"
4
 
4
 
5
#include "web_db.h"
5
#include "web_db.h"
6
 
6
 
Line 271... Line 271...
271
		fprintf(f, "		<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\">\n");
271
		fprintf(f, "		<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\">\n");
272
		fprintf(f, "		<title>%s</title>\n", title);
272
		fprintf(f, "		<title>%s</title>\n", title);
273
		fprintf(f, "		<style type=\"text/css\">\n");
273
		fprintf(f, "		<style type=\"text/css\">\n");
274
		fprintf(f, "		</style>\n");
274
		fprintf(f, "		</style>\n");
275
		fprintf(f, "	</head>\n");
275
		fprintf(f, "	</head>\n");
276
		fprintf(f, "	<body style=\"padding: 15px; margin: 0 auto; width: 900px;\">\n");
276
		fprintf(f, "	<body style=\"padding: 15px; margin: 0 auto; width: 910px;\">\n");
277
		fprintf(f, "		<div style=\"padding: 1px 0; margin: 0; text-align: center; background-color: #8080ff;\">\n");
277
		fprintf(f, "		<div style=\"padding: 1px 0; margin: 0; text-align: center; background-color: #8080ff;\">\n");
278
		fprintf(f, "			<h1>%s</h1>\n", title);
278
		fprintf(f, "			<h1>%s</h1>\n", title);
279
		fprintf(f, "		</div>\n");
279
		fprintf(f, "		</div>\n");
280
		fprintf(f, "		<hr>\n");
280
		fprintf(f, "		<hr>\n");
281
		fprintf(f, "		<table border=\"1\" style=\"width: 100%%;\">\n");
281
		fprintf(f, "		<table border=\"1\" style=\"width: 100%%;\">\n");