Merge pull request #4359 from tobiasd/20180129-fedstat

positioning of the fedstat graph
This commit is contained in:
Hypolite Petovan 2018-01-29 12:00:40 -05:00 committed by GitHub
commit 59406b24c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -414,6 +414,7 @@ a {
} }
.federation-graph { .federation-graph {
margin: 0 auto; margin: 0 auto;
float: right;
} }
.federation-network-graph { .federation-network-graph {
float: left; float: left;
@ -578,4 +579,4 @@ img.invalid-src:after { vertical-align: top;}
} }
.tag-cloud { .tag-cloud {
word-wrap: break-word; word-wrap: break-word;
} }

View File

@ -1,7 +1,7 @@
<script src="{{$baseurl}}/vendor/asset/Chart-js/dist/Chart.min.js"></script> <script src="{{$baseurl}}/vendor/asset/Chart-js/dist/Chart.min.js"></script>
<canvas id="FederationChart" class="federation-graph" width="400" height="400"></canvas>
<div id="adminpage"> <div id="adminpage">
<h1>{{$title}} - {{$page}}</h1> <h1>{{$title}} - {{$page}}</h1>
<canvas id="FederationChart" class="federation-graph" width="320" height="320"></canvas>
<p>{{$intro}}</p> <p>{{$intro}}</p>
{{if not $autoactive}} {{if not $autoactive}}
<p class="error-message">{{$hint}}</p> <p class="error-message">{{$hint}}</p>