settings_profile.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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"><?=_('Profile 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><?=_('Display name')?></h3>
  18. </div>
  19. <div class="display_name_wrap" style="float:left;width:50%">
  20. <input name="display_name" type="text" class="disallow_enter textfield" id="setting_display_name" maxlength="30">
  21. </div>
  22. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  23. <h3><?=_('About me')?></h3>
  24. </div>
  25. <div class="about_me_wrap" style="float:left;width:50%">
  26. <textarea name="about_me" class="disallow_enter textfield" id="setting_about_me" maxlength="160" style="resize:none;height:100px;font-family:arial;padding:5px"></textarea>
  27. </div>
  28. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  29. <h3><?=_('Avatar')?></h3>
  30. </div>
  31. <div class="avatar_wrap" style="float:left;width:50%">
  32. <span class="halcyon_button uploadbtn" style="width:calc(75% - 2px);margin:10px;padding:0;height:28px;position:relative">
  33. <input name="avatar" type="file" id="setting_avatar" style="opacity:0;width:100%;height:100%;float:left">
  34. </span>
  35. </div>
  36. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  37. <h3><?=_('Header')?></h3>
  38. </div>
  39. <div class="header_wrap" style="float:left;width:50%">
  40. <span class="halcyon_button uploadbtn" style="width:calc(75% - 2px);margin:10px;padding:0;height:28px;position:relative">
  41. <input name="header" type="file" id="setting_header" style="opacity:0;width:100%;height:100%;float:left">
  42. </span>
  43. </div>
  44. <div style="float:left;width:50%;text-align:right;margin-top:16px">
  45. <h3><?=_('Lock account')?></h3>
  46. </div>
  47. <div class="lock_account_wrap" style="float:left;width:50%">
  48. <div class="switch">
  49. <input type="checkbox" id="setting_lock_account">
  50. <div class="switch-btn">
  51. <span></span>
  52. </div>
  53. </div>
  54. </div>
  55. <span style="visibility:hidden">-</span>
  56. </div>
  57. <footer id="js-timeline_footer" class="timeline_footer">
  58. <i id="savestate" class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
  59. </footer>
  60. </article>
  61. </div>
  62. </main>
  63. <script src="/assets/js/halcyon/halcyonSettings.js"></script>
  64. <?php include ('footer.php'); ?>