index.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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-primary pull-right"><i class="fa fa-pencil"></i> {:__('Profile')}</a>
  23. </h2>
  24. <div class="row user-baseinfo">
  25. <div class="col-md-3 col-sm-3 col-xs-2 text-center user-center">
  26. <a href="{:url('user/profile')}" title="{:__('Click to edit')}">
  27. <span class="avatar-img"><img src="{$user.avatar|htmlentities|cdnurl}" alt=""></span>
  28. </a>
  29. </div>
  30. <div class="col-md-9 col-sm-9 col-xs-10">
  31. <!-- Content -->
  32. <div class="ui-content">
  33. <!-- Heading -->
  34. <h4><a href="{:url('user/profile')}">{$user.nickname|htmlentities}</a></h4>
  35. <!-- Paragraph -->
  36. <p class="text-muted">
  37. {$user.bio|default=__("This guy hasn't written anything yet")|htmlentities}
  38. </p>
  39. <!-- Success -->
  40. </div>
  41. </div>
  42. <div class="col-md-9 col-sm-9 col-xs-12">
  43. <!-- Content -->
  44. <div class="ui-content">
  45. <div class="basicinfo">
  46. <div class="row">
  47. <div class="col-xs-4 col-md-2">{:__('Money')}</div>
  48. <div class="col-xs-8 col-md-4">
  49. <a href="javascript:;" class="viewmoney">{$user.money}</a>
  50. </div>
  51. <div class="col-xs-4 col-md-2">{:__('Score')}</div>
  52. <div class="col-xs-8 col-md-4">
  53. <a href="javascript:;" class="viewscore">{$user.score}</a>
  54. </div>
  55. </div>
  56. <div class="row">
  57. <div class="col-xs-4 col-md-2">{:__('Successions')}</div>
  58. <div class="col-xs-8 col-md-4">{$user.successions} {:__('Day')}</div>
  59. <div class="col-xs-4 col-md-2">{:__('Maxsuccessions')}</div>
  60. <div class="col-xs-8 col-md-4">{$user.maxsuccessions} {:__('Day')}</div>
  61. </div>
  62. <div class="row">
  63. <div class="col-xs-4 col-md-2">{:__('Logintime')}</div>
  64. <div class="col-xs-8 col-md-4">{$user.logintime|date="Y-m-d H:i:s",###}</div>
  65. <div class="col-xs-4 col-md-2">{:__('Prevtime')}</div>
  66. <div class="col-xs-8 col-md-4">{$user.prevtime|date="Y-m-d H:i:s",###}</div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>