overlay_redirect_nitter.php 1.4 KB

12345678910111213141516171819202122232425
  1. <div class="overlay_simple overlay_redirect_nitter invisible">
  2. <header class="overlay_simple_header">
  3. <span><?=_('Protect your privacy!')?></span>
  4. </header>
  5. <div class="overlay_simple_body">
  6. <div class="overlay_redirect_nitter_text" style="margin-bottom:10px">
  7. <?=_("Halcyon has detected that you're trying to click a link to the centralized microblogging platform Twitter. Halcyon can automatically redirect that link to Nitter, a privacy-friendly and faster way to view this content for free and without any ads. Do you want to use Nitter?")?><br/>
  8. <center><a href="https://github.com/zedeus/nitter" class="halcyon_link" target="_blank"><?=_("Tell me more about Nitter!")?></a></center>
  9. <div style="margin-bottom:20px;width:100%">
  10. <div class="switch" style="margin:0;float:left">
  11. <input type="checkbox" id="redirect_nitter_permanent">
  12. <div class="switch-btn">
  13. <span></span>
  14. </div>
  15. </div>
  16. <label for="redirect_nitter_permanent" style="margin-left:5px;vertical-align:sub"><?=_('Remember my decision')?></label>
  17. </div>
  18. </div>
  19. <div class="overlay_simple_controls">
  20. <button class="overlay_redirect_nitter_yes toot_button" style="float:right;width:150px"><div class="toot_button_label"><i class="fa fa-fw fa-check"></i><span><?=_('Open Nitter')?></span></div></button>
  21. <a href="javascript:void(0)" class="overlay_redirect_nitter_no halcyon_link" style="float:right;margin-top:5px;margin-right:10px"><i class="fa fa-times"></i> <?=_('No, thanks')?></a>
  22. </div>
  23. </div>
  24. </div>