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