Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
centralize acl control
- Loading branch information
1 parent
72ae933
commit 07b5b27
Showing
11 changed files
with
893 additions
and
819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{% extends "baseTemplate/index.html" %} | ||
{% load i18n %} | ||
{% block title %}{% trans "Home - CyberPanel" %}{% endblock %} | ||
{% block content %} | ||
|
||
|
||
{% get_current_language as LANGUAGE_CODE %} | ||
<!-- Current language: {{ LANGUAGE_CODE }} --> | ||
|
||
<div class="container"> | ||
<div id="page-title"> | ||
<h2>{% trans "Home" %}</h2> | ||
<p>{% trans "Use the tabs to navigate through the control panel." %}</p> | ||
</div> | ||
|
||
|
||
<!--- Hide statistics for non-admins---> | ||
|
||
<div class="mx-10 col-lg-9 panel col-md-push-50"> | ||
<div class="panel-body"> | ||
<h3 class="content-box-header"> | ||
{% trans "Something went wrong..." %} | ||
</h3> | ||
|
||
<div class="example-box-wrapper mt-5"> | ||
<div class="alert alert-danger"> | ||
<h4 class="alert-title">Error</h4> | ||
<p>Error: {{ error_message }}</p> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
|
||
{% endblock %} |
Oops, something went wrong.