about summary refs log blame commit diff
path: root/public/submit-queue.tmpl.html
blob: cad001cd3dbd10c9f0a70462e0546b647603e8b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                                                                               

                            
                               

                                         

                                              
                                                                                            

                                                        
                                                                                                           















                                                                                                                 
        
           
        

       
<!DOCTYPE html>
<html>
<head>
  <title>Gerrit Submit Queue</title>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha256-CjSoeELFOcH0/uxWu6mC/Vlrc1AARqbm/jiiImDGV3s=" crossorigin="anonymous"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha256-YLGeXaapI0/5IgZopewRJcFXomhRMlYYjugPLSyNjTY=" crossorigin="anonymous" />
</head>
<body>
  <h1>Gerrit Submit Queue</h1>
  <h2>{{ .projectName }}/{{ .branchName }} is at {{ printf "%.7s" .HEAD }}</h2>
  <h2>Current Queue:</h2>
  <div class="card-columns">

  {{ range $serie := .series }}

  <div class="card" style="width: 18rem">
  <div class="list-group">
    {{ range $changeset := $serie.ChangeSets}}
    <div class="list-group-item{{ if not ($serie | isAutoSubmittable) }} disabled{{ end }}">
      <div class="d-flex w-100 justify-content-between">
        <h5>{{ $changeset.Subject }}</h5>
        <small><a href="{{ changesetURL $changeset }}" target="_blank">#{{ $changeset.Number }}</a></small>
      </div>
      <div class="d-flex w-100 justify-content-between">
          <small>{{ $changeset.OwnerName }}</small>
          <span>
              {{ if $changeset.IsVerified }}<span class="badge badge-success badge-pill">+1 (CI)</span>{{ end }}
              {{ if $changeset.IsCodeReviewed }}<span class="badge badge-info badge-pill">+2 (CR)</span>{{ end }}
          </span>
      </div>
      <div>
        <code>
          {{ $changeset.CommitID }}
        </code>
      </div>
    </div>
    {{ end }}
  </div>
  </div>
  {{ end }}
  </div>
</body>
</html>