index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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-3 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-9">
  31. <div class="ui-content">
  32. <h4><a href="{:url('user/profile')}">{$user.nickname|htmlentities}</a></h4>
  33. <p class="text-muted">
  34. {$user.bio|default=__("This guy hasn't written anything yet")|htmlentities}
  35. </p>
  36. </div>
  37. </div>
  38. <div class="col-md-9 col-sm-9 col-xs-12">
  39. <div class="ui-content">
  40. <div class="basicinfo">
  41. <div class="row">
  42. <div class="col-xs-4 col-md-2">{:__('Money')}</div>
  43. <div class="col-xs-8 col-md-4">
  44. <a href="javascript:;" class="viewmoney">{$user.money}</a>
  45. </div>
  46. <div class="col-xs-4 col-md-2">{:__('Score')}</div>
  47. <div class="col-xs-8 col-md-4">
  48. <a href="javascript:;" class="viewscore">{$user.score}</a>
  49. </div>
  50. </div>
  51. <div class="row">
  52. <div class="col-xs-4 col-md-2">{:__('Logintime')}</div>
  53. <div class="col-xs-8 col-md-4">{$user.logintime|date="Y-m-d H:i:s",###}</div>
  54. <div class="col-xs-4 col-md-2">{:__('Prevtime')}</div>
  55. <div class="col-xs-8 col-md-4">{$user.prevtime|date="Y-m-d H:i:s",###}</div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>