From 2a8dcc2f4580837b0284e1990a8ce895fb0dac24 Mon Sep 17 00:00:00 2001 From: ryzy Date: Tue, 10 Feb 2015 16:14:11 +0000 Subject: [PATCH] CSS/JS moved to M12.FoundationSite --- .../FoundationBackendEndpoints.html | 7 ------- Resources/Private/TypoScript/Neos/Page.ts2 | 14 -------------- Resources/Public/JavaScript/Neos/m12-foundation.js | 10 ---------- Resources/Public/Styles/Neos/m12-foundation.css | 6 ------ 4 files changed, 37 deletions(-) delete mode 100644 Resources/Private/Templates/TypoScriptObjects/FoundationBackendEndpoints.html delete mode 100644 Resources/Public/JavaScript/Neos/m12-foundation.js delete mode 100644 Resources/Public/Styles/Neos/m12-foundation.css diff --git a/Resources/Private/Templates/TypoScriptObjects/FoundationBackendEndpoints.html b/Resources/Private/Templates/TypoScriptObjects/FoundationBackendEndpoints.html deleted file mode 100644 index 2373eca..0000000 --- a/Resources/Private/Templates/TypoScriptObjects/FoundationBackendEndpoints.html +++ /dev/null @@ -1,7 +0,0 @@ -{namespace neos=TYPO3\Neos\ViewHelpers} - - - - - - diff --git a/Resources/Private/TypoScript/Neos/Page.ts2 b/Resources/Private/TypoScript/Neos/Page.ts2 index 2a36e5b..d18a22a 100644 --- a/Resources/Private/TypoScript/Neos/Page.ts2 +++ b/Resources/Private/TypoScript/Neos/Page.ts2 @@ -44,18 +44,4 @@ prototype(TYPO3.Neos:Page) { } javascripts.@process.appendCustomJsCode = ${value + customJsCode} } - - foundationBackendEndpoints = TYPO3.TypoScript:Template { - templatePath = 'resource://M12.Foundation/Private/Templates/TypoScriptObjects/FoundationBackendEndpoints.html' - @position = 'after neosBackendFooter' - - node = ${node} - - @cache { - mode = 'uncached' - context { - 1 = 'node' - } - } - } } diff --git a/Resources/Public/JavaScript/Neos/m12-foundation.js b/Resources/Public/JavaScript/Neos/m12-foundation.js deleted file mode 100644 index 4d7a42e..0000000 --- a/Resources/Public/JavaScript/Neos/m12-foundation.js +++ /dev/null @@ -1,10 +0,0 @@ -// Custom M12.Foundation code for Neos backend - -jQuery(document).ready(function($) { - - // By default, after click on LABEL, focus is moved to related INPUT field. - // Prevent that default action while in edit mode (@see TS-113) - $('label').children('.neos-inline-editable').click(function(e) { - e.preventDefault(); - }); -}); diff --git a/Resources/Public/Styles/Neos/m12-foundation.css b/Resources/Public/Styles/Neos/m12-foundation.css deleted file mode 100644 index 88d0eeb..0000000 --- a/Resources/Public/Styles/Neos/m12-foundation.css +++ /dev/null @@ -1,6 +0,0 @@ -/** Custom M12.Foundation code for Neos backend **/ - -/** Restore Neos colors after they were overridden by Foundation **/ -.neos label { - color: inherit; -}