updated display of the commits-per-month graph
This commit is contained in:
parent
b0720d88fa
commit
f86c4dcabe
@ -272,19 +272,19 @@ foreach ($urls as $url)
|
|||||||
<?=htmlspecialchars($project->name)?>
|
<?=htmlspecialchars($project->name)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="project_home_mainarea_stat">
|
|
||||||
<?php
|
|
||||||
$graph_url = codepot_merge_path (site_url(), "/code/graph/commits-per-month/{$project->id}");
|
|
||||||
print "<img src='{$graph_url}' />";
|
|
||||||
?>
|
|
||||||
</div> <!-- project_home_mainarea_stat -->
|
|
||||||
|
|
||||||
<div id="project_home_mainarea_wiki">
|
<div id="project_home_mainarea_wiki">
|
||||||
<pre id="project_home_mainarea_wiki_text" style="visibility: hidden">
|
<pre id="project_home_mainarea_wiki_text" style="visibility: hidden">
|
||||||
<?php print htmlspecialchars($project->description); ?>
|
<?php print htmlspecialchars($project->description); ?>
|
||||||
</pre>
|
</pre>
|
||||||
</div> <!-- project_home_mainarea_wiki -->
|
</div> <!-- project_home_mainarea_wiki -->
|
||||||
|
|
||||||
|
<div id="project_home_mainarea_stat">
|
||||||
|
<?php
|
||||||
|
$graph_url = codepot_merge_path (site_url(), "/code/graph/commits-per-month/{$project->id}");
|
||||||
|
print "<img src='{$graph_url}' id='project_home_commits_per_month_graph' />";
|
||||||
|
?>
|
||||||
|
</div> <!-- project_home_mainarea_stat -->
|
||||||
|
|
||||||
</div> <!-- project_home_mainarea -->
|
</div> <!-- project_home_mainarea -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,6 +39,15 @@
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#project_home_mainarea_stat {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#project_home_commits_per_month_graph {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/*-----------------------------------------------
|
/*-----------------------------------------------
|
||||||
* project file edit view
|
* project file edit view
|
||||||
*-----------------------------------------------*/
|
*-----------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user