index.html 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <style>
  2. .basicinfo {
  3. margin: 15px 0;
  4. }
  5. .basicinfo .row > .col-xs-4 {
  6. padding-right: 0;
  7. }
  8. .basicinfo .row > div {
  9. margin: 5px 0;
  10. }
  11. </style>
  12. <div id="content-container" class="container">
  13. <div class="row">
  14. <div class="col-md-3">
  15. {include file="common/sidenav" /}
  16. </div>
  17. <div class="col-md-9">
  18. <div class="panel panel-default">
  19. <div class="panel-body">
  20. <h2 class="page-header">
  21. {:__('Member center')}
  22. <a href="{:url('user/profile')}" class="btn btn-success pull-right"><i class="fa fa-pencil"></i>
  23. {:__('Profile')}</a>
  24. </h2>
  25. <div class="row user-baseinfo">
  26. <div class="col-md-3 col-sm-3 col-xs-2 text-center user-center">
  27. <a href="{:url('user/profile')}" title="{:__('Click to edit')}">
  28. <span class="avatar-img"><img src="{$user.avatar|htmlentities|cdnurl}" alt=""></span>
  29. </a>
  30. </div>
  31. <div class="col-md-9 col-sm-9 col-xs-10">
  32. <!-- Content -->
  33. <div class="ui-content">
  34. <!-- Heading -->
  35. <h4><a href="{:url('user/profile')}">{$user.nickname|htmlentities}</a></h4>
  36. <!-- Paragraph -->
  37. <p>
  38. <a href="{:url('user/profile')}">
  39. {$user.bio|default=__("This guy hasn't written anything yet")|htmlentities}
  40. </a>
  41. </p>
  42. <!-- Success -->
  43. </div>
  44. </div>
  45. <div class="col-md-9 col-sm-9 col-xs-12">
  46. <!-- Content -->
  47. <div class="ui-content">
  48. <div class="basicinfo">
  49. <div class="row">
  50. <div class="col-xs-4 col-md-2">{:__('Money')}</div>
  51. <div class="col-xs-8 col-md-4">
  52. <a href="javascript:;" class="viewmoney">{$user.money}</a>
  53. </div>
  54. <div class="col-xs-4 col-md-2">{:__('Score')}</div>
  55. <div class="col-xs-8 col-md-4">
  56. <a href="javascript:;" class="viewscore">{$user.score}</a>
  57. </div>
  58. </div>
  59. <div class="row">
  60. <div class="col-xs-4 col-md-2">{:__('Successions')}</div>
  61. <div class="col-xs-8 col-md-4">{$user.successions} {:__('Day')}</div>
  62. <div class="col-xs-4 col-md-2">{:__('Maxsuccessions')}</div>
  63. <div class="col-xs-8 col-md-4">{$user.maxsuccessions} {:__('Day')}</div>
  64. </div>
  65. <div class="row">
  66. <div class="col-xs-4 col-md-2">{:__('Logintime')}</div>
  67. <div class="col-xs-8 col-md-4">{$user.logintime|date="Y-m-d H:i:s",###}</div>
  68. <div class="col-xs-4 col-md-2">{:__('Prevtime')}</div>
  69. <div class="col-xs-8 col-md-4">{$user.prevtime|date="Y-m-d H:i:s",###}</div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>