forked from Minecraft/minecraft_manager
Polish
Removed page headers and relocated to the window title to reclaim screen real estatereminder
parent
28841c58d6
commit
17399b17e2
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load template_settings %}
|
||||
{% block title %}CoreProtect Activity Monitor{% endblock %}
|
||||
{% block section %}
|
||||
<a href="{% template_settings 'COREPROTECT_ACTIVITY_URL' %}?username={{ user.username }}" target="_blank">Fullscreen</a>
|
||||
<iframe id="cpgui" width="100%" height="750px" src="{% template_settings 'COREPROTECT_ACTIVITY_URL' %}?username={{ user.username }}">Loading...</iframe>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% load static %}
|
||||
{% block title %}Alerts{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content" hidden="hidden">
|
||||
<table id="model-table" class="table table-hover link-table">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Alert Info{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<h2 class="sub-header">Alert Info</h2>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load static %}
|
||||
{% block title %}Applications{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content" hidden="hidden">
|
||||
<table id="model-table" class="table table-hover link-table">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Application {{ application.username }}{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<h2 class="sub-header">Viewing application for {{ application.username }}</h2>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% block title %}Bans{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content" hidden="hidden">
|
||||
<table id="model-table" class="table table-hover link-table">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
{% block head %}{% endblock head %}
|
||||
{% template_settings 'WINDOW_TITLE' as WINDOW_TITLE %}
|
||||
<title>{% if WINDOW_TITLE %}{{ WINDOW_TITLE }}{% else %}MCM{% endif %}</title>
|
||||
<title>{% if WINDOW_TITLE %}{{ WINDOW_TITLE }}{% else %}MCM{% endif %} - {% block title %}{% endblock %}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% load getattribute %}
|
||||
{% block title %}Bots{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<!-- {{ form.status }} -->
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Chat{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<div class="row">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load template_settings %}
|
||||
{% block title %}CoreProtect GUI{% endblock %}
|
||||
{% block section %}
|
||||
<a href="{% template_settings 'COREPROTECT_WEB_URL' %}?username={{ user.username }}" target="_blank">Fullscreen</a>
|
||||
<iframe id="cpgui" width="100%" height="750px" src="{% template_settings 'COREPROTECT_WEB_URL' %}?username={{ user.username }}">Loading...</iframe>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-9 col-md-10 main">
|
||||
<h1 class="page-header">{{ current_app|capfirst }} {% block after_h1 %}{% endblock %}</h1>
|
||||
{% block h1 %}{% endblock %}
|
||||
<div id="alert" class="popup"></div>
|
||||
{% block section %}{% endblock section %}
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load static %}
|
||||
{% block after_h1 %}{{ ip.ip }}{% endblock %}
|
||||
{% block title %}IP{% endblock %}
|
||||
{% block h1 %}<h1>{{ ip.ip }}</h1>{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<table id="model-table" class="table table-striped">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load static %}
|
||||
{% block title %}Overview{% endblock %}
|
||||
{% block head %}
|
||||
<script src="{% static 'minecraft_manager/js/chart.min.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% block section %}
|
||||
{% block title %}Players{% endblock %}
|
||||
<div id="content" hidden="hidden">
|
||||
<table id="model-table" class="table table-hover link-table">
|
||||
<thead>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Player {{ player.username }}{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<h2 class="sub-header">Player Info ({{ player.username }})</h2>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load static %}
|
||||
{% block title %}Reference Report{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<table id="model-table" class="table table-striped">
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
|
||||
{% block after_h1 %}{% if timestamp %}- {{ timestamp }}{% endif %}{% endblock %}
|
||||
{% block h1 %}{% if timestamp %}<h2>Report Generated on {{ timestamp }}</h2>{% endif %}{% endblock %}
|
||||
|
||||
{% block title %}Entity Report{% endblock %}
|
||||
{% block section %}
|
||||
<form>
|
||||
Report: <br/>
|
||||
<label for="player">
|
||||
<input type="radio" name="report" id="player" value="players" {% if report == 'players' %}checked{% endif %}>Players
|
||||
</label>
|
||||
</label>
|
||||
<label for="entity">
|
||||
<input type="radio" name="report" id="entity" value="entities" {% if report == 'entities' %}checked{% endif %}>Entities
|
||||
</label>
|
||||
</label>
|
||||
<label for="count">
|
||||
<input type="radio" name="report" id="count" value="counts" {% if report == 'counts' %}checked{% endif %}>Counts
|
||||
</label>
|
||||
|
@ -18,10 +19,10 @@
|
|||
World: <br/>
|
||||
<label for="overworld">
|
||||
<input type="radio" name="world" id="overworld" value="overworld" {% if world == 'overworld' %}checked{% endif %}>Overworld
|
||||
</label>
|
||||
</label>
|
||||
<label for="nether">
|
||||
<input type="radio" name="world" id="nether" value="nether" {% if world == 'nether' %}checked{% endif %}>Nether
|
||||
</label>
|
||||
</label>
|
||||
<label for="end">
|
||||
<input type="radio" name="world" id="end" value="end" {% if world == 'end' %}checked{% endif %}>The End
|
||||
</label>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% block title %}Tickets{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content" hidden="hidden">
|
||||
<table id="model-table" class="table table-hover link-table">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Ticket Info{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<h2 class="sub-header">Ticket Info ({{ ticket.issuer }}) <span {% if ticket.resolved is True %}class="label label-success"{% else %}class="label label-danger"{% endif %}>{{ ticket.resolved_label }}</span></h2>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% block title %}Warnings{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content" hidden="hidden">
|
||||
<table id="model-table" class="table table-hover link-table">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Add Warning{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<h2 class="sub-header">New Warning</h2>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "minecraft_manager/dashboard.html" %}
|
||||
{% load csrf_html %}
|
||||
{% block title %}Warning Info{% endblock %}
|
||||
{% block section %}
|
||||
<div id="content">
|
||||
<h2 class="sub-header">Warning Info ({{ warning.player.username }})</h2>
|
||||
|
|
Loading…
Reference in New Issue