notifications.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <?php include dirname(__FILE__).('/widgets/side_trending.php'); ?>
  32. <?php include dirname(__FILE__).('/widgets/side_firefox_addon.php'); ?>
  33. </section>
  34. <?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
  35. </aside>
  36. </div>
  37. </main>
  38. <script>
  39. current_file = location.pathname;
  40. $("#notifications_nav").addClass('view');
  41. localStorage.setItem("notification_count", 0);
  42. setNotifications();
  43. $('title').text('Halcyon / Notifications')
  44. </script>
  45. <?php include ('footer.php'); ?>