pulls.tmpl 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. <div id="repo-wrapper">
  4. {{template "repo/header" .}}
  5. <div class="clear container repo-wide-wrapper repo-pr">
  6. <div class="pr-main">
  7. <div class="pr-title clear">
  8. <h2 class="pr-title grid-5-6 left">Fix: Repo Name can not be converted to lower in some cases <span class="pr-num">#256</span></h2>
  9. <div class="pr-title-btn grid-1-6 right text-right">
  10. <button class="btn btn-gray btn-radius">Edit</button>&nbsp;&nbsp;
  11. <a href="#"><button class="btn btn-green btn-radius">New Issue</button></a>
  12. </div>
  13. </div>
  14. <div class="pr-meta">
  15. <button class="btn btn-small btn-green btn-radius">
  16. <i class="octicon octicon-git-pull-request"></i> Open
  17. </button>
  18. <span class="msg">
  19. <a href="#" class="text-bold pr-author">eryx</a> <span class="label radius label-blue">2</span> commits
  20. <span class="pr-branch label label-gray radius">gogits:master</span>
  21. <i class="octicon octicon-arrow-right"></i>
  22. <span class="pr-branch label label-gray radius">unknown repository</span>
  23. </span>
  24. </div>
  25. <div class="pr-nav clear">
  26. <ul class="menu menu-line left" id="pr-nav">
  27. <li class="current js-tab-nav js-tab-nav-show" data-tab-target="#pr-conversation"><a href="#"><i class="octicon octicon-comment"></i>conversations
  28. <span class="label label-gray label-radius">5</span>
  29. </a></li>
  30. <li class="js-tab-nav" data-tab-target="#pr-commit"><a href="#"><i class="octicon octicon-git-commit"></i>commits
  31. <span class="label label-gray label-radius">2</span>
  32. </a></li>
  33. <li class="js-tab-nav" data-tab-target="#pr-file-diff"><a href="#"><i class="octicon octicon-file-code"></i>files
  34. <span class="label label-gray label-radius">3</span>
  35. </a></li>
  36. </ul>
  37. <div class="diff-bar right">
  38. <span class="diff-add">+12</span>
  39. <span class="inline-block diff-status">
  40. <span class="block diff-status-inner"></span>
  41. </span>
  42. <span class="diff-delete">-7</span>
  43. </div>
  44. </div>
  45. <div id="pr-conversation" class="js-tab-show clear">
  46. <div id="pr-conversation-list" class="left grid-5-6">
  47. <div class="issue-comment clear">
  48. <a class="author-avatar" href="#"><img class="avatar-40 radius" src="https://avatars2.githubusercontent.com/u/275347?v=1&s=96" alt=""/></a>
  49. <div class="panel panel-radius">
  50. <p class="panel-header clear"><a class="author-name" href="#">eryx</a>
  51. <span class="date">7 days ago</span>
  52. <span class="action right">
  53. <span class="label label-black label-radius">owner</span>
  54. <a href="#"><i class="octicon octicon-pencil"></i></a>
  55. <a href="#"><i class="octicon octicon-x"></i></a>
  56. </span>
  57. </p>
  58. <div class="panel-content content markdown">just like github.com, the RepoName can not be converted to lower in the case of backend data storage, or frontend clone link display.</div>
  59. </div>
  60. </div>
  61. <div class="issue-commit clear">
  62. <i class="mega-octicon octicon-git-commit left"></i>
  63. <a class="author-avatar left" href="#"><img class="avatar-24 radius" src="https://avatars2.githubusercontent.com/u/275347?v=1&s=96" alt=""/></a>
  64. <a class="sha right" href="#">8e259ba</a>
  65. <span class="message">Fix: Repo Name can not be converted to lower in the case of backend data storage, or frontend clone link display. or frontend clone link display or frontend clone link display.</span>
  66. </div>
  67. <div class="issue-line"></div>
  68. <div class="issue-merge issue-merge-ok clear">
  69. <span class="inline-block radius ico"><i class="mega-octicon octicon-git-pull-request"></i></span>
  70. <div class="panel panel-radius">
  71. <p class="panel-header clear">
  72. <i class="octicon octicon-check"></i><strong>All is well !</strong>
  73. </p>
  74. <div class="panel-content content clear">
  75. <div class="message left"><strong>This pull request can be automatically merged.</strong><br/>
  76. You can also merge branches on the <a href="#">command line</a>.</div>
  77. <button class="btn btn-green right btn-radius">
  78. <i class="octicon octicon-git-merge"></i>
  79. Merge Pull Request
  80. </button>
  81. </div>
  82. </div>
  83. </div>
  84. <div class="issue-add-comment clear">
  85. <a class="author-avatar" href="#"><img class="avatar-40 radius" src="https://avatars2.githubusercontent.com/u/275347?v=1&s=96" alt=""/></a>
  86. <div class="panel panel-radius">
  87. <div class="panel-header">
  88. <ul class="menu menu-line add-nav">
  89. <li class="js-tab-nav js-tab-nav-show" data-tab-target="#issue-add-comment-form"><a href="#">Write</a></li>
  90. <li class="js-tab-nav" data-tab-target="#issue-add-comment-preview"><a href="#" id="pull-issue-preview">Preview</a></li>
  91. </ul>
  92. </div>
  93. <div class="panel-content content">
  94. <form id="issue-add-comment-form" action="#" method="post">
  95. <textarea class="ipt ipt-radius js-preview-input" name="content" id="issue-add-content"></textarea>
  96. <p class="submit text-right">
  97. <button class="btn btn-gray btn-radius text-bold" name="submit" value="close">Close pull request</button>&nbsp;&nbsp;
  98. <button class="btn btn-green btn-radius text-bold" name="submit" value="comment">Comment</button>
  99. </p>
  100. </form>
  101. <div id="issue-add-comment-preview" class="js-preview-container">
  102. preview
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <div id="pr-conversation-sidebar" class="left grid-1-6">
  109. 1-4
  110. </div>
  111. </div>
  112. <div id="pr-commit">commit</div>
  113. <div id="pr-file-diff">file diff</div>
  114. </div>
  115. <div class="pr-sidebar">
  116. {{template "repo/sidebar_mini" .}}
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. {{template "ng/base/footer" .}}