gitlab-org--gitlab-foss/app/views/projects/graphs/show.html.haml
Ciro Santilli 83f4735b57 Replace HTML5 obsolete center element with CSS.
Fix #6901. Would generate invalid HTML5.
2014-06-21 09:43:00 +02:00

35 lines
896 B
Text

.loading-graph
.center
%h3.page-title
%i.icon-spinner.icon-spin
Building repository graph.
%p Please wait a moment, this page will automatically refresh when ready.
.stat-graph
.header.clearfix
.pull-right
%select
%option{:value => "commits"} Commits
%option{:value => "additions"} Additions
%option{:value => "deletions"} Deletions
%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
:javascript
$(".stat-graph").hide();
$.ajax({
type: "GET",
url: location.href,
complete: function() {
$(".stat-graph").fadeIn();
$(".loading-graph").hide();
},
dataType: "script"
});