use html default header in tx pusher

This commit is contained in:
moneroexamples 2017-01-30 16:27:33 +08:00
parent 9b2edff4f4
commit b144154ddd
4 changed files with 10 additions and 57 deletions

View file

@ -1745,7 +1745,7 @@ public:
string rawtx_html = xmreg::read(TMPL_MY_RAWTX);
// add header and footer
string full_page = rawtx_html + get_footer();
string full_page = get_full_page(rawtx_html);
add_css_style(context);
@ -2370,11 +2370,12 @@ public:
{"tx_details", xmreg::read(string(TMPL_PARIALS_DIR) + "/tx_details.html")},
};
// read checkrawtx.html
string checkrawtx_html = xmreg::read(TMPL_MY_CHECKRAWTX);
// add header and footer
string full_page = checkrawtx_html + get_footer();
string full_page = get_full_page(checkrawtx_html);
add_css_style(context);
@ -2407,7 +2408,7 @@ public:
string pushrawtx_html = xmreg::read(TMPL_MY_PUSHRAWTX);
// add header and footer
string full_page = pushrawtx_html + get_footer();
string full_page = get_full_page(pushrawtx_html);
add_css_style(context);

View file

@ -1,24 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
{{#refresh}}
<meta http-equiv="refresh" content="10">
{{/refresh}}
<title>Onion Monero Blockchain Explorer</title>
<!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
<style type="text/css">
{{#css_styles}}{{/css_styles}}
</style>
</head>
<body>
<div>
<div class="center">
<h1 class="center"><a href="/">Onion Monero Transaction Pusher</a></h1>
<h4 style="font-size: 15px; margin: 0px">(no javascript - no cookies - no web analytics trackers - no images - open sourced)</h4>
<br/>
<h3 class="center">Transaction checking</h3>
</div>
<div class="center">

View file

@ -1,24 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
{{#refresh}}
<meta http-equiv="refresh" content="10">
{{/refresh}}
<title>Onion Monero Blockchain Explorer</title>
<!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
<style type="text/css">
{{#css_styles}}{{/css_styles}}
</style>
</head>
<body>
<div>
<div class="center">
<h1 class="center"><a href="/">Onion Monero Transaction Pusher</a></h1>
<h4 style="font-size: 15px; margin: 0px">(no javascript - no cookies - no web analytics trackers - no images - open sourced)</h4>
<br/>
<h3 class="center">Transaction Pusher</h3>
</div>
<div class="center">

View file

@ -1,24 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
{{#refresh}}
<meta http-equiv="refresh" content="10">
{{/refresh}}
<title>Onion Monero Blockchain Explorer</title>
<!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
<style type="text/css">
{{#css_styles}}{{/css_styles}}
</style>
</head>
<body>
<div>
<div class="center">
<h1 class="center"><a href="/">Onion Monero Transaction Pusher</a></h1>
<h4 style="font-size: 15px; margin: 0px">(no javascript - no cookies - no web analytics trackers - no images - open sourced)</h4>
<br/>
<h3 class="center">Transaction Pusher</h3>
</div>