A webclient for Mastodon and Pleroma which looks like Twitter https://www.halcyon.social
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings_filters.php 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php include ('header.php'); ?>
  2. <main id="main">
  3. <?php include dirname(__FILE__).('/widgets/settings_header.php'); ?>
  4. <div class="article_wrap">
  5. <aside class="left_column">
  6. <?php include dirname(__FILE__).('/widgets/side_current_user.php'); ?>
  7. <?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
  8. </aside>
  9. <article class="center_column">
  10. <header class="timeline_header">
  11. <ul class="header_items">
  12. <li class="item toots view"><?=_('Filter settings')?></li>
  13. </ul>
  14. </header>
  15. <div class="timeline">
  16. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  17. <h3><?=_('Show replies')?></h3>
  18. </div>
  19. <div class="show_replies_wrap" style="float:left;width:50%">
  20. <div class="switch">
  21. <input type="checkbox" id="setting_show_replies">
  22. <div class="switch-btn">
  23. <span></span>
  24. </div>
  25. </div>
  26. </div>
  27. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  28. <h3><?=_('Show toots of bots')?></h3>
  29. </div>
  30. <div class="show_bots_wrap" style="float:left;width:50%">
  31. <div class="switch">
  32. <input type="checkbox" id="setting_show_bots">
  33. <div class="switch-btn">
  34. <span></span>
  35. </div>
  36. </div>
  37. </div>
  38. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  39. <h3><?=_('Add new filter')?></h3>
  40. </div>
  41. <div class="header_wrap" style="float:left;width:50%">
  42. <button class="halcyon_button" id="setting_add_filter" style="width:calc(75% - 2px);margin:10px;padding:0;height:28px;position:relative">
  43. <span style="margin:auto"><?=_('Create a filter')?></span>
  44. </button>
  45. </div>
  46. <table style="width:100%;text-align:center" cellspacing="0" cellpadding="0">
  47. <thead>
  48. <tr>
  49. <th style="border-bottom:1px solid #189EFC;padding-top:5px;padding-bottom:5px"><?=_('Word or phrase to filter')?></th>
  50. <th style="border:1px solid #189EFC;border-top:0"><?=_('Filter in the following timelines')?></th>
  51. <th style="border-bottom:1px solid #189EFC"><?=_('Expires in')?></th>
  52. <th style="border-bottom:1px solid #189EFC;border-left:1px solid #189EFC"></th>
  53. </tr>
  54. </thead>
  55. <tbody id="filterlist"></tbody>
  56. </table>
  57. <span style="visibility:hidden">-</span>
  58. </div>
  59. <footer id="js-timeline_footer" class="timeline_footer">
  60. <i id="savestate" class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
  61. </footer>
  62. </article>
  63. </div>
  64. </main>
  65. <script src="/assets/js/halcyon/halcyonSettings.js"></script>
  66. <?php include ('footer.php'); ?>