mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
IMPR: Idea annotator
This commit is contained in:
parent
7ddaafe26c
commit
2796ec97aa
@ -19,3 +19,6 @@ DNADesign\ElementalList\Model\ElementList:
|
||||
DNADesign\ElementalUserForms\Model\ElementForm:
|
||||
block_default_userforms_css: true
|
||||
block_default_userforms_js: true
|
||||
|
||||
SilverLeague\IDEAnnotator\DataObjectAnnotator:
|
||||
enabled: true
|
||||
|
@ -12,26 +12,13 @@
|
||||
}
|
||||
|
||||
#Header {
|
||||
.element {
|
||||
margin-top: 0;
|
||||
}
|
||||
.nav-container {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.logo {
|
||||
img {
|
||||
width: 6.5vw;
|
||||
|
||||
@media (orientation: portrait) {
|
||||
width: 20vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tagline {
|
||||
display: inline-block;
|
||||
font-size: 1.2rem;
|
||||
margin-left: 2em;
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,10 @@ namespace App\Pages\Controllers;
|
||||
|
||||
use PageController;
|
||||
|
||||
/**
|
||||
* Class \App\Pages\Controllers\HomePageController
|
||||
*
|
||||
*/
|
||||
class HomePageController extends PageController
|
||||
{
|
||||
}
|
||||
|
@ -5,6 +5,10 @@ namespace App\Pages;
|
||||
use App\Pages\Controllers\HomePageController;
|
||||
use Page;
|
||||
|
||||
/**
|
||||
* Class \App\Pages\HomePage
|
||||
*
|
||||
*/
|
||||
class HomePage extends Page
|
||||
{
|
||||
private static $icon_class = 'font-icon-p-home';
|
||||
|
@ -9,6 +9,19 @@ use SilverStripe\CMS\Model\SiteTree;
|
||||
use SilverStripe\FontAwesome\FontAwesomeField;
|
||||
use TractorCow\Fluent\Extension\FluentSiteTreeExtension;
|
||||
|
||||
/**
|
||||
* Class \Page
|
||||
*
|
||||
* @property boolean $InheritSideBar
|
||||
* @property string $BlockIcon
|
||||
* @property int $SideBarID
|
||||
* @property int $ElementalAreaID
|
||||
* @method \SilverStripe\Widgets\Model\WidgetArea SideBar()
|
||||
* @method \DNADesign\Elemental\Models\ElementalArea ElementalArea()
|
||||
* @mixin \DNADesign\Elemental\Extensions\ElementalPageExtension
|
||||
* @mixin \A2nt\CMSNiceties\Widgets\WidgetPageExtension
|
||||
* @mixin \Sheadawson\Linkable\Extensions\LinkableDataExtension
|
||||
*/
|
||||
class Page extends SiteTree
|
||||
{
|
||||
protected $_cached = [];
|
||||
|
@ -25,6 +25,13 @@ use SilverStripe\ORM\FieldType\DBDatetime;
|
||||
use SilverStripe\ORM\PaginatedList;
|
||||
use SilverStripe\View\ArrayData;
|
||||
|
||||
/**
|
||||
* Class \PageController
|
||||
*
|
||||
* @property \Page dataRecord
|
||||
* @method \Page data()
|
||||
* @mixin \Page
|
||||
*/
|
||||
class PageController extends ContentController
|
||||
{
|
||||
private static $allowed_actions = [
|
||||
|
@ -52,7 +52,8 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "*",
|
||||
"lekoala/silverstripe-debugbar": "dev-master",
|
||||
"sunnysideup/easy-coding-standards": "dev-master"
|
||||
"sunnysideup/easy-coding-standards": "dev-master",
|
||||
"silverleague/ideannotator": "dev-master"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user