mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-04-23 11:22:11 +00:00
Deleted File in .gitignore
This commit is contained in:
parent
51aba20c00
commit
21c8fff855
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace AdminLib\Classes;
|
|
||||||
|
|
||||||
use AdminPanel\Classes\Controller;
|
|
||||||
|
|
||||||
class AdminController extends Controller
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace AdminLib\Controller;
|
|
||||||
|
|
||||||
use AdminLib\Classes\AdminController;
|
|
||||||
|
|
||||||
class IndexController extends AdminController
|
|
||||||
{
|
|
||||||
public function index()
|
|
||||||
{
|
|
||||||
return "Hello Administrator!";
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"adminIndex": {
|
|
||||||
"path": "/admin/",
|
|
||||||
"controller": "\\AdminLib\\Controller\\IndexController",
|
|
||||||
"function": "index"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace Index\Controller;
|
|
||||||
|
|
||||||
use AdminPanel\Controller;
|
|
||||||
use AdminPanel\AdminPanel;
|
|
||||||
|
|
||||||
class IndexController extends Controller
|
|
||||||
{
|
|
||||||
|
|
||||||
public function index()
|
|
||||||
{
|
|
||||||
return $this->render("@Index/index.twig", [
|
|
||||||
"title" => "Coming Soon"
|
|
||||||
]);
|
|
||||||
// return file_get_contents($this->getModuleRoot() . "/index.html");
|
|
||||||
}
|
|
||||||
|
|
||||||
public function test()
|
|
||||||
{
|
|
||||||
return "hello " . $this->getUrlArguments()["slug"];
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
{% extends "@AdminPanel/template.twig" %}
|
|
||||||
|
|
||||||
{% block styles %}
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
{% endblock %}
|
|
||||||
{% block body %}
|
|
||||||
<div class="container">
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="content">
|
|
||||||
<div class="item">
|
|
||||||
<h1>COMING SOON</h1>
|
|
||||||
<p>This website is under construction.</p>
|
|
||||||
<p style="font-size: .7rem">Webpage Source: <a href="https://codepen.io/ompmega/pen/tDKCo">Ompmega</a> edited by <a href="https://delta-wings.net">Aviortheking</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
@ -1,78 +0,0 @@
|
|||||||
@import url(https://fonts.googleapis.com/css?family=Montserrat);
|
|
||||||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin: 0;
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
font-size: 4em;
|
|
||||||
color: #333;
|
|
||||||
-webkit-text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7);
|
|
||||||
-moz-text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7);
|
|
||||||
text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7);
|
|
||||||
word-spacing: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
|
||||||
font-size: 1.4em;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #222;
|
|
||||||
text-shadow: 0 0 40px #fff, 0 0 30px #fff, 0 0 20px #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
background: url('');
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
width: 100%;
|
|
||||||
min-height: 100%;
|
|
||||||
height: auto;
|
|
||||||
display: table;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item {
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
margin: 0 auto;
|
|
||||||
text-align: center;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 800px) {
|
|
||||||
h1 {
|
|
||||||
font-size: 6em;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-size: 1.6em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 320px) {
|
|
||||||
h1 {
|
|
||||||
font-size: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Edits
|
|
||||||
*/
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"index": {
|
|
||||||
"path": "/",
|
|
||||||
"controller": "\\Index\\Controller\\IndexController",
|
|
||||||
"function": "index"
|
|
||||||
},
|
|
||||||
"css": {
|
|
||||||
"path": "/style.css",
|
|
||||||
"file": "/css/style.css",
|
|
||||||
"type": "text/css",
|
|
||||||
"headers": {
|
|
||||||
"Content-Type": "text/css"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"arg": {
|
|
||||||
"path": "/{arg}/{arg2}",
|
|
||||||
"controller": "\\ModuleName\\Controller\\ExampleController",
|
|
||||||
"function": "example",
|
|
||||||
"args": {
|
|
||||||
"arg": {
|
|
||||||
"regex": "/[a-z]+/"
|
|
||||||
},
|
|
||||||
"arg2": {
|
|
||||||
"option": "test.option"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"templateFolder": "/Templates/"
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user