Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « graphs « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3d5094ddc5fb6bf41774a02741bfdf80de69f14 (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
= render 'head'
.loading-graph
  .center
    %h3.page-title
      %i.fa.fa-spinner.fa-spin
      Building repository graph.
    %p.slead Please wait a moment, this page will automatically refresh when ready.

.stat-graph.hide
  .header.clearfix
    %h3#date_header.page-title
    %p.light
      Commits to #{@project.default_branch}, excluding merge commits. Limited by 6,000 commits
    %input#brush_change{:type => "hidden"}
  .graphs
    #contributors-master
    #contributors.clearfix
      %ol.contributors-list.clearfix



:coffeescript
  $.ajax
    type: "GET",
    url: location.href,
    success: (data) ->
      graph = new ContributorsStatGraph()
      graph.init(data)

      $("#brush_change").change ->
        graph.change_date_header()
        graph.redraw_authors()

      $(".stat-graph").fadeIn();
      $(".loading-graph").hide();
    dataType: "json"