remove unused code
This commit is contained in:
@ -1,35 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* app/controllers/alpha.php
|
|
||||||
*
|
|
||||||
* This is the friends and family alpha controller.
|
|
||||||
*
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
namespace TheTempusProject\Controllers;
|
|
||||||
|
|
||||||
use TheTempusProject\Classes\Controller;
|
|
||||||
use TheTempusProject\Houdini\Classes\Views;
|
|
||||||
|
|
||||||
class Alpha extends Controller {
|
|
||||||
public function index() {
|
|
||||||
self::$title = 'Friends and Family Alpha';
|
|
||||||
self::$pageDescription = 'The Tempus Project friends and family alpha has begun. Please join me and take part in bringing a dream to reality.';
|
|
||||||
Views::view( 'alpha.index' );
|
|
||||||
}
|
|
||||||
|
|
||||||
public function crashcourse() {
|
|
||||||
self::$title = 'Friends and Family Crash-Course';
|
|
||||||
self::$pageDescription = 'The Tempus Project runs not only this site, but it can be used and deployed for any number of sites. This crash course is intended to give you all the knowledge you will need to start building your own applications powered by The Tempus Project.';
|
|
||||||
Views::view( 'alpha.crashcourse' );
|
|
||||||
}
|
|
||||||
|
|
||||||
public function certification() {
|
|
||||||
self::$title = 'Friends and Family Certification';
|
|
||||||
self::$pageDescription = 'The Tempus Project runs not only this site, but it can be used and deployed for any number of sites. This certification course is intended to give experienced users all the information they will need to start building your own applications powered by The Tempus Project.';
|
|
||||||
Views::view( 'alpha.certification' );
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
<?php
|
|
||||||
// the idea is that this will be info pages for the plugin various/info
|
|
||||||
?>
|
|
@ -8,7 +8,6 @@
|
|||||||
* @link https://TheTempusProject.com
|
* @link https://TheTempusProject.com
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.context-other-bg {
|
.context-other-bg {
|
||||||
background-color: #eaeaea;
|
background-color: #eaeaea;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,6 @@ hr {
|
|||||||
transform: translateX(25px); /* Adjust based on switch width */
|
transform: translateX(25px); /* Adjust based on switch width */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.context-main {
|
.context-main {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
@ -1,218 +0,0 @@
|
|||||||
/**
|
|
||||||
* app/css/wysiwyg.css
|
|
||||||
*
|
|
||||||
* This file is for the wysiwyg editor's css.
|
|
||||||
*
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
font-family: 'Helvetica Neue', 'Helvetica', arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* WYSIWYG Editor */
|
|
||||||
.wp-webdeasy-comment-editor {
|
|
||||||
width: 40rem;
|
|
||||||
min-height: 18rem;
|
|
||||||
box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
|
|
||||||
border-top: 6px solid #4a4a4a;
|
|
||||||
border-radius: 3px;
|
|
||||||
margin: 2rem 0;
|
|
||||||
|
|
||||||
.toolbar {
|
|
||||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
|
|
||||||
|
|
||||||
.line {
|
|
||||||
display: flex;
|
|
||||||
border-bottom: 1px solid #e2e2e2;
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box {
|
|
||||||
display: flex;
|
|
||||||
border-left: 1px solid #e2e2e2;
|
|
||||||
|
|
||||||
.editor-btn {
|
|
||||||
display: block;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
position: relative;
|
|
||||||
transition: .2s ease all;
|
|
||||||
|
|
||||||
&:hover, &.active {
|
|
||||||
background-color: #e1e1e1;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.icon img {
|
|
||||||
width: 15px;
|
|
||||||
padding: 9px;
|
|
||||||
box-sizing: content-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.icon.smaller img {
|
|
||||||
width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.has-submenu {
|
|
||||||
width: 20px;
|
|
||||||
padding: 0 10px;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
content: '';
|
|
||||||
width: 6px;
|
|
||||||
height: 6px;
|
|
||||||
position: absolute;
|
|
||||||
background-image: url(https://img.icons8.com/ios-glyphs/30/000000/chevron-down.png);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
right: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
top: 34px;
|
|
||||||
left: -1px;
|
|
||||||
z-index: 10;
|
|
||||||
background-color: #FFF;
|
|
||||||
border: 1px solid #b5b5b5;
|
|
||||||
border-top: none;
|
|
||||||
|
|
||||||
.btn {
|
|
||||||
width: 39px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover .submenu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content-area {
|
|
||||||
padding: 15px 12px;
|
|
||||||
line-height: 1.5;
|
|
||||||
|
|
||||||
.visuell-view {
|
|
||||||
outline: none;
|
|
||||||
min-height: 12rem;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 12px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.html-view {
|
|
||||||
outline: none;
|
|
||||||
display: none;
|
|
||||||
width: 100%;
|
|
||||||
height: 200px;
|
|
||||||
border: none;
|
|
||||||
resize: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Modal */
|
|
||||||
.modal {
|
|
||||||
z-index: 40;
|
|
||||||
display: none;
|
|
||||||
|
|
||||||
.modal-wrapper {
|
|
||||||
background-color: #FFF;
|
|
||||||
padding: 1rem;
|
|
||||||
position: fixed;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
width: 20rem;
|
|
||||||
min-height: 10rem;
|
|
||||||
z-index: 41;
|
|
||||||
|
|
||||||
.close {
|
|
||||||
position: absolute;
|
|
||||||
top: 1rem;
|
|
||||||
right: 1rem;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-content {
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
margin: 1rem 0;
|
|
||||||
padding: .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="text"] {
|
|
||||||
width: calc(100% - 1rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
.row {
|
|
||||||
|
|
||||||
label {
|
|
||||||
margin-left: .5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
background-color: #D2434F;
|
|
||||||
border: 0;
|
|
||||||
color: #FFF;
|
|
||||||
padding: .5rem 1.2rem;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-bg {
|
|
||||||
position: fixed;
|
|
||||||
background-color: rgba(0, 0, 0, .3);
|
|
||||||
width: 100vw;
|
|
||||||
height: 100vh;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Codepen Footer */
|
|
||||||
footer {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0.5rem 1rem;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,233 +0,0 @@
|
|||||||
/**
|
|
||||||
* app/js/wysiwyg.js
|
|
||||||
*
|
|
||||||
* This is css used in the debuging console.
|
|
||||||
*
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
// define vars
|
|
||||||
const editor = document.getElementsByClassName('wp-webdeasy-comment-editor')[0];
|
|
||||||
const toolbar = editor.getElementsByClassName('toolbar')[0];
|
|
||||||
const buttons = toolbar.querySelectorAll('.editor-btn:not(.has-submenu)');
|
|
||||||
const contentArea = editor.getElementsByClassName('content-area')[0];
|
|
||||||
const visuellView = contentArea.getElementsByClassName('visuell-view')[0];
|
|
||||||
const htmlView = contentArea.getElementsByClassName('html-view')[0];
|
|
||||||
const modal = document.getElementsByClassName('modal')[0];
|
|
||||||
|
|
||||||
// add active tag event
|
|
||||||
document.addEventListener('selectionchange', selectionChange);
|
|
||||||
|
|
||||||
// add paste event
|
|
||||||
visuellView.addEventListener('paste', pasteEvent);
|
|
||||||
|
|
||||||
// add paragraph tag on new line
|
|
||||||
contentArea.addEventListener('keypress', addParagraphTag);
|
|
||||||
|
|
||||||
// add toolbar button actions
|
|
||||||
for(let i = 0; i < buttons.length; i++) {
|
|
||||||
let button = buttons[i];
|
|
||||||
|
|
||||||
button.addEventListener('click', function(e) {
|
|
||||||
let action = this.dataset.action;
|
|
||||||
|
|
||||||
switch(action) {
|
|
||||||
case 'toggle-view':
|
|
||||||
execCodeAction(this, editor);
|
|
||||||
break;
|
|
||||||
case 'createLink':
|
|
||||||
execLinkAction();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
execDefaultAction(action);
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function toggles between visual and html view
|
|
||||||
*/
|
|
||||||
function execCodeAction(button, editor) {
|
|
||||||
|
|
||||||
if(button.classList.contains('active')) { // show visuell view
|
|
||||||
visuellView.innerHTML = htmlView.value;
|
|
||||||
htmlView.style.display = 'none';
|
|
||||||
visuellView.style.display = 'block';
|
|
||||||
|
|
||||||
button.classList.remove('active');
|
|
||||||
} else { // show html view
|
|
||||||
htmlView.innerText = visuellView.innerHTML;
|
|
||||||
visuellView.style.display = 'none';
|
|
||||||
htmlView.style.display = 'block';
|
|
||||||
|
|
||||||
button.classList.add('active');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function adds a link to the current selection
|
|
||||||
*/
|
|
||||||
function execLinkAction() {
|
|
||||||
modal.style.display = 'block';
|
|
||||||
let selection = saveSelection();
|
|
||||||
|
|
||||||
let submit = modal.querySelectorAll('button.done')[0];
|
|
||||||
let close = modal.querySelectorAll('.close')[0];
|
|
||||||
|
|
||||||
// done button active => add link
|
|
||||||
submit.addEventListener('click', function(e) {
|
|
||||||
e.preventDefault();
|
|
||||||
let newTabCheckbox = modal.querySelectorAll('#new-tab')[0];
|
|
||||||
let linkInput = modal.querySelectorAll('#linkValue')[0];
|
|
||||||
let linkValue = linkInput.value;
|
|
||||||
let newTab = newTabCheckbox.checked;
|
|
||||||
|
|
||||||
restoreSelection(selection);
|
|
||||||
|
|
||||||
if(window.getSelection().toString()) {
|
|
||||||
let a = document.createElement('a');
|
|
||||||
a.href = linkValue;
|
|
||||||
if(newTab) a.target = '_blank';
|
|
||||||
window.getSelection().getRangeAt(0).surroundContents(a);
|
|
||||||
}
|
|
||||||
|
|
||||||
modal.style.display = 'none';
|
|
||||||
linkInput.value = '';
|
|
||||||
|
|
||||||
// deregister modal events
|
|
||||||
submit.removeEventListener('click', arguments.callee);
|
|
||||||
close.removeEventListener('click', arguments.callee);
|
|
||||||
});
|
|
||||||
|
|
||||||
// close modal on X click
|
|
||||||
close.addEventListener('click', function(e) {
|
|
||||||
e.preventDefault();
|
|
||||||
let linkInput = modal.querySelectorAll('#linkValue')[0];
|
|
||||||
|
|
||||||
modal.style.display = 'none';
|
|
||||||
linkInput.value = '';
|
|
||||||
|
|
||||||
// deregister modal events
|
|
||||||
submit.removeEventListener('click', arguments.callee);
|
|
||||||
close.removeEventListener('click', arguments.callee);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function executes all 'normal' actions
|
|
||||||
*/
|
|
||||||
function execDefaultAction(action) {
|
|
||||||
document.execCommand(action, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Saves the current selection
|
|
||||||
*/
|
|
||||||
function saveSelection() {
|
|
||||||
if(window.getSelection) {
|
|
||||||
sel = window.getSelection();
|
|
||||||
if(sel.getRangeAt && sel.rangeCount) {
|
|
||||||
let ranges = [];
|
|
||||||
for(var i = 0, len = sel.rangeCount; i < len; ++i) {
|
|
||||||
ranges.push(sel.getRangeAt(i));
|
|
||||||
}
|
|
||||||
return ranges;
|
|
||||||
}
|
|
||||||
} else if (document.selection && document.selection.createRange) {
|
|
||||||
return document.selection.createRange();
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Loads a saved selection
|
|
||||||
*/
|
|
||||||
function restoreSelection(savedSel) {
|
|
||||||
if(savedSel) {
|
|
||||||
if(window.getSelection) {
|
|
||||||
sel = window.getSelection();
|
|
||||||
sel.removeAllRanges();
|
|
||||||
for(var i = 0, len = savedSel.length; i < len; ++i) {
|
|
||||||
sel.addRange(savedSel[i]);
|
|
||||||
}
|
|
||||||
} else if(document.selection && savedSel.select) {
|
|
||||||
savedSel.select();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the current selected format buttons active/inactive
|
|
||||||
*/
|
|
||||||
function selectionChange(e) {
|
|
||||||
|
|
||||||
for(let i = 0; i < buttons.length; i++) {
|
|
||||||
let button = buttons[i];
|
|
||||||
|
|
||||||
// don't remove active class on code toggle button
|
|
||||||
if(button.dataset.action === 'toggle-view') continue;
|
|
||||||
|
|
||||||
button.classList.remove('active');
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!childOf(window.getSelection().anchorNode.parentNode, editor)) return false;
|
|
||||||
|
|
||||||
parentTagActive(window.getSelection().anchorNode.parentNode);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks if the passed child has the passed parent
|
|
||||||
*/
|
|
||||||
function childOf(child, parent) {
|
|
||||||
return parent.contains(child);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the tag active that is responsible for the current element
|
|
||||||
*/
|
|
||||||
function parentTagActive(elem) {
|
|
||||||
if(!elem ||!elem.classList || elem.classList.contains('visuell-view')) return false;
|
|
||||||
|
|
||||||
let toolbarButton;
|
|
||||||
|
|
||||||
// active by tag names
|
|
||||||
let tagName = elem.tagName.toLowerCase();
|
|
||||||
toolbarButton = document.querySelectorAll(`.toolbar .editor-btn[data-tag-name="${tagName}"]`)[0];
|
|
||||||
if(toolbarButton) {
|
|
||||||
toolbarButton.classList.add('active');
|
|
||||||
}
|
|
||||||
|
|
||||||
// active by text-align
|
|
||||||
let textAlign = elem.style.textAlign;
|
|
||||||
toolbarButton = document.querySelectorAll(`.toolbar .editor-btn[data-style="textAlign:${textAlign}"]`)[0];
|
|
||||||
if(toolbarButton) {
|
|
||||||
toolbarButton.classList.add('active');
|
|
||||||
}
|
|
||||||
|
|
||||||
return parentTagActive(elem.parentNode);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Handles the paste event and removes all HTML tags
|
|
||||||
*/
|
|
||||||
function pasteEvent(e) {
|
|
||||||
e.preventDefault();
|
|
||||||
|
|
||||||
let text = (e.originalEvent || e).clipboardData.getData('text/plain');
|
|
||||||
document.execCommand('insertHTML', false, text);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This functions adds a paragraph tag when the enter key is pressed
|
|
||||||
*/
|
|
||||||
function addParagraphTag(evt) {
|
|
||||||
if (evt.keyCode == '13') {
|
|
||||||
|
|
||||||
// don't add a p tag on list item
|
|
||||||
if(window.getSelection().anchorNode.parentNode.tagName === 'LI') return;
|
|
||||||
document.execCommand('formatBlock', false, 'p');
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-9 col-md-9 col-sm-12 col-centered">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
||||||
<h2>Welcome to The Tempus-Project Friends and Family Alpha.</h2>
|
|
||||||
<hr>
|
|
||||||
<p>This project is now entering its third official version and nearly its tenth year of development. What a long journey it has been to get here.</p>
|
|
||||||
<p>With that being said, I won't waste your time with a journey down memory road. If you have been sent this page, clearly I trust you, or one of our mutual friends is an asshole. Both equally possible... The main purpose of inviting you was to ask for your help.</p>
|
|
||||||
<h2>What I need</h2>
|
|
||||||
<p>With any application, there are bugs. The best developers I have had the pleasure of working with make mundane every day mistakes just like everyone else. This obviously includes myself. With any project you spend years working on, you will develop blind spots, or places where even if something was broken, you would skip right past it and never notice.</p>
|
|
||||||
<p>I would like your help in identifying these such blind spots.</p>
|
|
||||||
<h2>What you can do to help.</h2>
|
|
||||||
<p>Currently there is a bug-report form at the bottom, usable by anyone with a registered account. I have also built an administrator system that allows me to track progress of these bugs and ensure they get fixed. In addition to tracking bugs, there is a public suggestions system and a publicly viewable to-do list.</p>
|
|
||||||
<p>I will need some users to help test very specific things like permissions for various groups. I will need some trusted users to act as administrators and test features. I will also just need some people to use and interact with the site to ensure they aren't encountering any bugs.</p>
|
|
||||||
<p>There are a ton of things you can do to help!</p>
|
|
||||||
<ul>
|
|
||||||
<li>Report any bugs!!! ( there is a bug-report link at the bottom of every page )</li>
|
|
||||||
<li>Register an account</li>
|
|
||||||
<li>Subscribe to the mailing list</li>
|
|
||||||
<li>Browse blog posts</li>
|
|
||||||
<li>Make suggestions for improvements or new features</li>
|
|
||||||
<li>Leave comments on the blog and other features.</li>
|
|
||||||
<li>Keep an eye out for email or messages requesting specific help.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1,16 +0,0 @@
|
|||||||
<link rel="stylesheet" href="{ROOT_URL}app/css/debug.css" crossorigin="anonymous">
|
|
||||||
<div id="debug-wrapper">
|
|
||||||
<div id="debug-header">
|
|
||||||
<p><b>Debug Log:</b></p>
|
|
||||||
<button id="debug-copy" name="debug-copy">Copy</button>
|
|
||||||
</div>
|
|
||||||
<div id="debug-log">
|
|
||||||
{DEBUGGING_LOG}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script language="JavaScript" type="text/javascript">
|
|
||||||
$("#debug-copy").on("click", function(){
|
|
||||||
copyAll("debug-log");
|
|
||||||
console.log('copied');
|
|
||||||
});
|
|
||||||
</script>
|
|
@ -1,9 +0,0 @@
|
|||||||
<link rel="stylesheet" href="{ROOT_URL}app/css/debug.css" crossorigin="anonymous">
|
|
||||||
<div id="wrapper">
|
|
||||||
<div id="menu">
|
|
||||||
<p class="welcome"><b>Debug Dump:</b></p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<pre>{DUMP}</pre>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1 +0,0 @@
|
|||||||
<p> Hey there, it looks like you found our hastags! Unfortunately I haven't finished building them out just yet. Check back soon!</p>
|
|
@ -1,52 +0,0 @@
|
|||||||
<div class="col-sm-6 col-md-4 col-sm-offset-3 col-md-offset-4">
|
|
||||||
<div class="card">
|
|
||||||
<!-- Default panel contents -->
|
|
||||||
<div class="card-header">Material Design Switch Demos</div>
|
|
||||||
|
|
||||||
<!-- List group -->
|
|
||||||
<ul class="list-group">
|
|
||||||
<li class="list-group-item">
|
|
||||||
Bootstrap Switch Default
|
|
||||||
<div class="material-switch float-right">
|
|
||||||
<input id="someSwitchOptionDefault" name="someSwitchOption001" type="checkbox"/>
|
|
||||||
<label for="someSwitchOptionDefault" class="label-default"></label>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="list-group-item">
|
|
||||||
Bootstrap Switch Primary
|
|
||||||
<div class="material-switch float-right">
|
|
||||||
<input id="someSwitchOptionPrimary" name="someSwitchOption001" type="checkbox"/>
|
|
||||||
<label for="someSwitchOptionPrimary" class="label-primary"></label>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="list-group-item">
|
|
||||||
Bootstrap Switch Success
|
|
||||||
<div class="material-switch float-right">
|
|
||||||
<input id="someSwitchOptionSuccess" name="someSwitchOption001" type="checkbox"/>
|
|
||||||
<label for="someSwitchOptionSuccess" class="label-success"></label>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="list-group-item">
|
|
||||||
Bootstrap Switch Info
|
|
||||||
<div class="material-switch float-right">
|
|
||||||
<input id="someSwitchOptionInfo" name="someSwitchOption001" type="checkbox"/>
|
|
||||||
<label for="someSwitchOptionInfo" class="label-info"></label>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="list-group-item">
|
|
||||||
Bootstrap Switch Warning
|
|
||||||
<div class="material-switch float-right">
|
|
||||||
<input id="someSwitchOptionWarning" name="someSwitchOption001" type="checkbox"/>
|
|
||||||
<label for="someSwitchOptionWarning" class="label-warning"></label>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="list-group-item">
|
|
||||||
Bootstrap Switch Danger
|
|
||||||
<div class="material-switch float-right">
|
|
||||||
<input id="someSwitchOptionDanger" name="someSwitchOption001" type="checkbox"/>
|
|
||||||
<label for="someSwitchOptionDanger" class="label-danger"></label>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1 +0,0 @@
|
|||||||
lul, testing
|
|
@ -1,104 +0,0 @@
|
|||||||
<div class="wp-webdeasy-comment-editor">
|
|
||||||
<div class="toolbar">
|
|
||||||
<div class="line">
|
|
||||||
<div class="box">
|
|
||||||
<span class="editor-btn icon smaller" data-action="bold" data-tag-name="b" title="Bold">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/bold.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon smaller" data-action="italic" data-tag-name="i" title="Italic">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/italic.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon smaller" data-action="underline" data-tag-name="u" title="Underline">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/underline.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon smaller" data-action="strikeThrough" data-tag-name="strike" title="Strike through">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/30/000000/strikethrough.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="box">
|
|
||||||
<span class="editor-btn icon has-submenu">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/align-left.png"/>
|
|
||||||
<div class="submenu">
|
|
||||||
<span class="editor-btn icon" data-action="justifyLeft" data-style="textAlign:left" title="Justify left">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/align-left.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="justifyCenter" data-style="textAlign:center" title="Justify center">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/align-center.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="justifyRight" data-style="textAlign:right" title="Justify right">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/align-right.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="formatBlock" data-style="textAlign:justify" title="Justify block">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/align-justify.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="insertOrderedList" data-tag-name="ol" title="Insert ordered list">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/numbered-list.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="insertUnorderedList" data-tag-name="ul" title="Insert unordered list">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/bulleted-list.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="outdent" title="Outdent" data-required-tag="li">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/outdent.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="indent" title="Indent">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/indent.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="box">
|
|
||||||
<span class="editor-btn icon" data-action="insertHorizontalRule" title="Insert horizontal rule">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/horizontal-line.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="line">
|
|
||||||
<div class="box">
|
|
||||||
<span class="editor-btn icon smaller" data-action="undo" title="Undo">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/undo--v1.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon" data-action="removeFormat" title="Remove format">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/remove-format.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="box">
|
|
||||||
<span class="editor-btn icon smaller" data-action="createLink" title="Insert Link">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/add-link.png"/>
|
|
||||||
</span>
|
|
||||||
<span class="editor-btn icon smaller" data-action="unlink" data-tag-name="a" title="Unlink">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/delete-link.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="box">
|
|
||||||
<span class="editor-btn icon" data-action="toggle-view" title="Show HTML-Code">
|
|
||||||
<img src="https://img.icons8.com/fluency-systems-filled/48/000000/source-code.png"/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="content-area">
|
|
||||||
<div class="visuell-view" contenteditable>
|
|
||||||
<p style="text-align: center;">Welcome to my <b>WYSIWYG</b> Editor <i>(What you see is what you get)</i>!</p>
|
|
||||||
<p style="text-align: center;">It's only made of <u>HTML5</u>, <i><u>CSS3</u> </i>and pure <u>JavaScript</u>, <strike>no framework</strike>!</p>
|
|
||||||
<hr>
|
|
||||||
<p style="text-align: center;"><b>See for yourself! 😃</b></p>
|
|
||||||
<p style="text-align: center;"><b>Tutorial available <a href="https://webdeasy.de/en/program-your-own-wysiwyg-editor-in-10-minutes/?referer=cp-YoVmBx">here</a>! 😋</b></p>
|
|
||||||
</div>
|
|
||||||
<textarea class="html-view"></textarea>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal">
|
|
||||||
<div class="modal-bg"></div>
|
|
||||||
<div class="modal-wrapper">
|
|
||||||
<div class="close">✖</div>
|
|
||||||
<div class="modal-content" id="modalCreateLink">
|
|
||||||
<h3>Insert Link</h3>
|
|
||||||
<input type="text" id="linkValue" placeholder="Link (example: https://webdeasy.de/)">
|
|
||||||
<div class="row">
|
|
||||||
<input type="checkbox" id="new-tab">
|
|
||||||
<label for="new-tab">Open in new Tab?</label>
|
|
||||||
</div>
|
|
||||||
<button class="done">Done</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -147,6 +147,7 @@ class TheTempusProject extends Bedrock {
|
|||||||
[
|
[
|
||||||
'text' => 'Home',
|
'text' => 'Home',
|
||||||
'url' => '{ROOT_URL}home/index',
|
'url' => '{ROOT_URL}home/index',
|
||||||
|
'filter' => 'notloggedin',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'text' => 'Admin',
|
'text' => 'Admin',
|
||||||
|
Reference in New Issue
Block a user