1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-15 17:44:17 +02:00

We will go with Default theme instead of Simple theme

This commit is contained in:
Awilum
2018-12-19 18:23:17 +03:00
parent 0c157a1cac
commit 6c50d0feae
20 changed files with 29 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
body,button,html,input,p,select,textarea{font-family:Helvetica,arial,sans-serif;color:#000}body,html{font-size:16px;height:100%;background:#fff}body,button,input,p,select,textarea{font-weight:400}body,p{line-height:24px}pre{background:#f0f0f0;padding:20px}.content{padding-top:40px}.navbar-brand{letter-spacing:3px;text-transform:uppercase}.powered{padding-top:30px}

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,4 @@
title: Default
fields:
title:
title: "admin_pages_title"

View File

@@ -1,5 +1,5 @@
{
"name": "flextype",
"name": "Default",
"version": "1.0.0",
"devDependencies": {
"es6-promise": "^4.2.4",

View File

@@ -1,6 +1,6 @@
name: Simple
name: Default
version: 1.0.0
description: Simple theme for Flextype
description: Default theme for Flextype
author:
name: Sergey Romanenko
email: awilum@yandex.ru

View File

@@ -1,7 +1,5 @@
<?php namespace Flextype; ?>
<?php Themes::view('partials/tail')->display(); ?>
<?= Themes::view('partials/tail') ?>
<div class="powered">
Powered by <a href="http://flextype.org">Flextype</a>
</div>

View File

@@ -29,5 +29,5 @@
<?php Event::dispatch('onThemeHeader'); ?>
</head>
<body>
<?php Themes::view('partials/navigation')->display(); ?>
<?= Themes::view('partials/navigation') ?>
<main role="main" class="container content">

View File

@@ -0,0 +1,4 @@
<?php namespace Flextype; ?>
<?= Themes::view('partials/head') ?>
<?= $page['content'] ?>
<?= Themes::view('partials/footer') ?>

View File

@@ -1,4 +0,0 @@
<?php namespace Flextype; ?>
<?php Themes::view('partials/head')->display(); ?>
<?= $page['content'] ?>
<?php Themes::view('partials/footer')->display(); ?>