feat(plugins/stargazers): add plugin_stargazers_days and migrate to d3
This commit is contained in:
6
source/templates/classic/partials/habits.ejs
vendored
6
source/templates/classic/partials/habits.ejs
vendored
@@ -42,7 +42,7 @@
|
||||
<div class="column chart largeable">
|
||||
<h3>Commit activity per hour of day</h3>
|
||||
<% if (Array.isArray(plugins.habits.charts)) { %>
|
||||
<div class="row margin-bottom chartist">
|
||||
<div class="row margin-bottom">
|
||||
<%- plugins.habits.charts[0] %>
|
||||
</div>
|
||||
<% } else { %>
|
||||
@@ -72,7 +72,7 @@
|
||||
<section class="column chart">
|
||||
<h3>Commit activity per day of week</h3>
|
||||
<% if (Array.isArray(plugins.habits.charts)) { %>
|
||||
<div class="margin-bottom chartist">
|
||||
<div class="margin-bottom">
|
||||
<%- plugins.habits.charts[1] %>
|
||||
</div>
|
||||
<% } else { %>
|
||||
@@ -92,7 +92,7 @@
|
||||
<section class="column chart">
|
||||
<h3>Language activity</h3>
|
||||
<% if (Array.isArray(plugins.habits.charts)) { %>
|
||||
<div class="margin-bottom chartist">
|
||||
<div class="margin-bottom">
|
||||
<%- plugins.habits.charts[2] %>
|
||||
</div>
|
||||
<% } else { %>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<% } else { %>
|
||||
<% if (plugins.stargazers.charts) { %>
|
||||
<div class="row margin-bottom">
|
||||
<section class="column chart chartist">
|
||||
<section class="column chart">
|
||||
<h3>Total stargazers</h3>
|
||||
<% if (Array.isArray(plugins.stargazers.charts)) { %>
|
||||
<%- plugins.stargazers.charts[0] %>
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
<% } %>
|
||||
</section>
|
||||
<section class="column chart chartist">
|
||||
<section class="column chart">
|
||||
<h3>New stargazers per day</h3>
|
||||
<% if (Array.isArray(plugins.stargazers.charts)) { %>
|
||||
<%- plugins.stargazers.charts[1] %>
|
||||
|
||||
9
source/templates/classic/style.css
vendored
9
source/templates/classic/style.css
vendored
@@ -356,15 +356,6 @@
|
||||
padding-left: 37px;
|
||||
}
|
||||
|
||||
/* Chartist */
|
||||
/* purgecss ignore */
|
||||
.chartist .ct-post {
|
||||
fill: rgba(127, 127, 127, 0.8) !important;
|
||||
color: rgba(127, 127, 127, 0.8) !important;
|
||||
font-size: 9px;
|
||||
text-anchor: middle;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
margin-top: 8px;
|
||||
|
||||
Reference in New Issue
Block a user