set the size of the LOC graph in the code file view
This commit is contained in:
parent
111c662dec
commit
7b799a6f2a
@ -262,11 +262,11 @@ if (array_key_exists('properties', $file) && count($file['properties']) > 0)
|
|||||||
?>
|
?>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<div class="title">CLOC</div>
|
<div class="title">LOC</div>
|
||||||
<?php
|
<?php
|
||||||
/* TODO: show this if it's enabled in the user settings */
|
/* TODO: show this if it's enabled in the user settings */
|
||||||
$graph_url = codepot_merge_path (site_url(), "/code/graph/cloc-file/{$project->id}/{$xpar}{$revreq}");
|
$graph_url = codepot_merge_path (site_url(), "/code/graph/cloc-file/{$project->id}/{$xpar}{$revreq}");
|
||||||
print "<img src='{$graph_url}' />";
|
print "<img src='{$graph_url}' id='code_file_mainarea_result_info_locgraph' />";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div> <!-- code_file_mainarea_result_info -->
|
</div> <!-- code_file_mainarea_result_info -->
|
||||||
|
@ -92,6 +92,11 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#code_file_mainarea_result_info_locgraph {
|
||||||
|
width: 21em;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/*-----------------------------------------------
|
/*-----------------------------------------------
|
||||||
* project source blame view
|
* project source blame view
|
||||||
*-----------------------------------------------*/
|
*-----------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user