notifications.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php include ('header.php'); ?>
  2. <main id="main">
  3. <div class="article_wrap">
  4. <aside class="left_column">
  5. <?php include dirname(__FILE__).('/widgets/side_current_user.php'); ?>
  6. </aside>
  7. <article class="center_column">
  8. <header class="timeline_header">
  9. <ul class="header_items">
  10. <li class="item toots view">
  11. <a href="#">
  12. <?=_('All')?>
  13. </a>
  14. </li>
  15. </ul>
  16. </header>
  17. <div id="js-stream_update">
  18. <button>
  19. <?=_('View ')?><span></span><?=_(' new notitification')?>
  20. </button>
  21. </div>
  22. <ul id="js-timeline" class="timeline">
  23. </ul>
  24. <footer id="js-timeline_footer" class="timeline_footer">
  25. <i class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
  26. </footer>
  27. </article>
  28. <aside class="right_column">
  29. <section class="side_widgets_wrap">
  30. <?php include dirname(__FILE__).('/widgets/side_who_to_follow.php'); ?>
  31. </section>
  32. <?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
  33. </aside>
  34. </div>
  35. </main>
  36. <script>
  37. current_file = location.pathname;
  38. $("#notifications_nav").addClass('view');
  39. localStorage.setItem("notification_count", 0);
  40. setNotifications();
  41. $('title').text('Halcyon / Notifications')
  42. </script>
  43. <?php include ('footer.php'); ?>