Move Brave ad into template and show it on both the file viewer and text upload

This commit is contained in:
Wim Brand
2019-05-15 11:50:48 +02:00
parent 1d024d6a80
commit 319e924f44
3 changed files with 24 additions and 27 deletions

View File

@@ -31,20 +31,14 @@
<img src="/res/img/upload_small.png" alt="Start Upload"/>
<span>Upload</span>
</button>
<a href="/" class="button toolbar_button button_full_width">
<img src="/res/img/pixeldrain_small.png" alt="Visit the home page" style="width:22px; height: 22px;"/>
<span>Home</span>
</a>
</form>
<iframe id='sponsors' data-aa='73974'
src='//ad.a-ads.com/73974?size=120x600&amp;background_color=000000&amp;text_color=eeeeee&amp;title_color=eeeeee&amp;link_color=9fcf6c&amp;link_hover_color=d2ffa1&amp;title_hover_color=d2ffa1'
scrolling='no' allowtransparency='true' seamless="seamless">
</iframe>
<a href="/" class="button toolbar_button button_full_width">
<img src="/res/img/pixeldrain_small.png" alt="Visit the home page" style="width:22px; height: 22px;"/>
<span>Home</span>
</a>
{{template "advertisement" .}}
</div>
</div>
</div>
<script src="/res/script/compiled/textupload.js"></script>
{{template "analytics"}}
</body>