1
1
Fork 0

provide/fix adminpage div container for all admin pages

This commit is contained in:
rabuzarus 2018-02-07 16:23:19 +01:00
parent 764a9be90a
commit 96d24af20f
5 changed files with 164 additions and 153 deletions

View file

@ -2,10 +2,11 @@
<h1>{{$title}} - {{$page}}</h1>
<p>{{$intro1}}</p>
<p>{{$intro2}}</p>
</div>
<form action="{{$baseurl}}/admin/deleteitem" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
{{include file="field_input.tpl" field=$deleteitemguid}}
<div class="submit"><input type="submit" name="page_deleteitem_submit" value="{{$submit}}" /></div>
</form>
</div>

View file

@ -1,12 +1,16 @@
<script src="{{$baseurl}}/vendor/asset/Chart-js/dist/Chart.min.js"></script>
<div id="adminpage">
<h1>{{$title}} - {{$page}}</h1>
<canvas id="FederationChart" class="federation-graph" width="320" height="320"></canvas>
<p>{{$intro}}</p>
{{if not $autoactive}}
<p class="error-message">{{$hint}}</p>
{{/if}}
<p>{{$legendtext}}</p>
<ul>
{{foreach $counts as $c}}
{{if $c[0]['total'] > 0}}
@ -14,7 +18,7 @@
{{/if}}
{{/foreach}}
</ul>
</div>
<script>
var FedData = {
datasets: [{
@ -116,3 +120,4 @@ var my{{$c[2]}}DoughnutChart = new Chart(ctx, {
{{/if}}
{{/foreach}}
</table>
</div>

View file

@ -1,3 +1,5 @@
<div id="adminpage">
<h1>{{$title}}</h1>
<form action="admin/features" method="post" autocomplete="off">
@ -19,3 +21,4 @@
{{/foreach}}
</form>
</div>

View file

@ -1,12 +1,13 @@
<div id="adminpage">
<h2>{{$banner}}</h2>
<div id="failed_updates_desc">{{$desc}}</div>
{{if $failed}}
{{foreach $failed as $f}}
<h4>{{$f}}</h4>
<ul>
<li><a href="{{$base}}/admin/dbsync/mark/{{$f}}">{{$mark}}</a></li>
<li><a href="{{$base}}/admin/dbsync/{{$f}}">{{$apply}}</a></li>
@ -15,4 +16,4 @@
<hr />
{{/foreach}}
{{/if}}
</div>

View file

@ -1,7 +1,8 @@
<div id="adminpage">
<h2>{{$banner}}</h2>
<p><a href="{{$base}}/admin/dbsync/check">{{$check}}</a></p>
<hr />
</div>