use html default header in tx pusher

master
moneroexamples 8 years ago
parent 9b2edff4f4
commit b144154ddd

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

@ -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>
<div class="center"> <div class="center">
<h1 class="center"><a href="/">Onion Monero Transaction Pusher</a></h1> <br/>
<h4 style="font-size: 15px; margin: 0px">(no javascript - no cookies - no web analytics trackers - no images - open sourced)</h4> <h3 class="center">Transaction checking</h3>
</div> </div>
<div class="center"> <div class="center">

@ -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>
<div class="center"> <div class="center">
<h1 class="center"><a href="/">Onion Monero Transaction Pusher</a></h1> <br/>
<h4 style="font-size: 15px; margin: 0px">(no javascript - no cookies - no web analytics trackers - no images - open sourced)</h4> <h3 class="center">Transaction Pusher</h3>
</div> </div>
<div class="center"> <div class="center">

@ -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>
<div class="center"> <div class="center">
<h1 class="center"><a href="/">Onion Monero Transaction Pusher</a></h1> <br/>
<h4 style="font-size: 15px; margin: 0px">(no javascript - no cookies - no web analytics trackers - no images - open sourced)</h4> <h3 class="center">Transaction Pusher</h3>
</div> </div>

Loading…
Cancel
Save