This commit is contained in:
Manfred Pürro 2021-10-20 14:09:13 +02:00
parent eba29a7524
commit 059e92ed1d
14 changed files with 564 additions and 294 deletions

View file

@ -1,5 +1,5 @@
{ {
"name": "monkee silverstripe", "name": "monkee/cyberstamm-silverstripe",
"type": "silverstripe-recipe", "type": "silverstripe-recipe",
"description": "The monkee SilverStripe Framework Installer + Addons", "description": "The monkee SilverStripe Framework Installer + Addons",
"require": { "require": {

758
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
_Copyright © 2013-2018, Nicola Fontana <ntd@entidi.it>_ _Copyright © 2013-2021, Nicola Fontana <ntd@entidi.it>_
_All rights reserved._ _All rights reserved._
Redistribution and use in source and binary forms, with or without modification, Redistribution and use in source and binary forms, with or without modification,

View file

@ -0,0 +1,8 @@
zh_CN:
Silverstrap:
GOTO: '跳转至 {page} 页'
TOC: '表格内容'
Search: '搜索'
SearchTitle: '输入关键词进行搜索'
RESULTS: '显示结果 &quot;{query}&quot; ({count} 页):'
NORESULTS: '未能发现以下内容 &quot;{query}&quot; '

View file

@ -1 +0,0 @@
FormField.ss

View file

@ -0,0 +1 @@
<input class="$Silverstrap.control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %><% if $Description && not $isDisabled %> data-toggle="tooltip" title="$Description.ATT"<% end_if %>>

View file

@ -1 +1 @@
<textarea class="$Silverstrap.control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>>$Value</textarea> <textarea class="$Silverstrap.control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>>$ValueEntities.RAW</textarea>

View file

@ -2,16 +2,17 @@
"name": "cwp/starter-theme", "name": "cwp/starter-theme",
"description": "CWP Theme", "description": "CWP Theme",
"type": "silverstripe-theme", "type": "silverstripe-theme",
"keywords": ["silverstripe", "theme", "cwp"], "keywords": [
"silverstripe",
"theme",
"cwp"
],
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"require": { "require": {
"silverstripe/framework": "^4.0" "silverstripe/framework": "^4.0"
}, },
"extra": { "extra": {
"installer-name": "starter", "installer-name": "starter",
"branch-alias": {
"dev-master": "3.x-dev"
},
"expose": [ "expose": [
"dist", "dist",
"ico", "ico",

2
themes/starter/dist/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,6 @@
{ {
"/dist/js/main.js": "/dist/js/main.js", "/dist/js/main.js": "/dist/js/main.js",
"/dist/css/main.css": "/dist/css/main.css", "/dist/css/main.css": "/dist/css/main.css",
"/dist/css/editor.css": "/dist/css/editor.css" "/dist/css/editor.css": "/dist/css/editor.css",
"/dist/js/jquery.min.js": "/dist/js/jquery.min.js"
} }

View file

@ -20,6 +20,7 @@
"bootstrap": "^4.3.1", "bootstrap": "^4.3.1",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"imagemin": "^6.0.0", "imagemin": "^6.0.0",
"jquery": "^3.5.1",
"jquery-highlight": "^3.3.0", "jquery-highlight": "^3.3.0",
"path": "^0.12.7", "path": "^0.12.7",
"popper.js": "^1.14.5" "popper.js": "^1.14.5"

View file

@ -1,6 +1,6 @@
# CWP Starter Theme # CWP Starter Theme
[![Build Status](https://travis-ci.org/silverstripe/cwp-starter-theme.svg?branch=master)](https://travis-ci.org/silverstripe/cwp-starter-theme) [![Build Status](https://api.travis-ci.com/silverstripe/cwp-starter-theme.svg?branch=3)](https://travis-ci.com/silverstripe/cwp-starter-theme)
[![Packagist](https://img.shields.io/packagist/v/cwp/starter-theme.svg)](https://packagist.org/packages/cwp/starter-theme) [![Packagist](https://img.shields.io/packagist/v/cwp/starter-theme.svg)](https://packagist.org/packages/cwp/starter-theme)
[![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) [![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

View file

@ -8,7 +8,7 @@
<% if $RSSLink %> <% if $RSSLink %>
<link rel='alternate' type='application/rss+xml' title='RSS' href='$RSSLink'> <link rel='alternate' type='application/rss+xml' title='RSS' href='$RSSLink'>
<% end_if %> <% end_if %>
<% require themedCss('dist/css/main.css') %> <% require themedCSS('dist/css/main.css') %>
<% include Favicon %> <% include Favicon %>
</head> </head>
<body class="$ClassName"> <body class="$ClassName">
@ -23,7 +23,7 @@
<footer class="footer-site" role="contentinfo"> <footer class="footer-site" role="contentinfo">
<% include Footer %> <% include Footer %>
</footer> </footer>
<% require javascript('https://code.jquery.com/jquery-3.4.1.min.js') %> <% require themedJavascript('dist/js/jquery.min.js') %>
<% require themedJavascript('dist/js/main.js') %> <% require themedJavascript('dist/js/main.js') %>
<% include GoogleAnalytics %> <% include GoogleAnalytics %>
</body> </body>

View file

@ -1,9 +1,9 @@
const mix = require("laravel-mix"); const mix = require('laravel-mix');
mix.webpackConfig({ mix.webpackConfig({
externals: { externals: {
'$': 'jQuery', $: 'jQuery',
'jquery': 'jQuery' jquery: 'jQuery',
}, },
module: { module: {
rules: [{ rules: [{
@ -22,7 +22,7 @@ mix.webpackConfig({
browsers: ['> 2%'], browsers: ['> 2%'],
}, },
}, },
] ],
], ],
}, },
}, },
@ -33,8 +33,10 @@ mix.webpackConfig({
mix.js('src/js/main.js', 'dist/js'); mix.js('src/js/main.js', 'dist/js');
mix mix
.sass("src/scss/main.scss", "dist/css") .sass('src/scss/main.scss', 'dist/css')
.sass("src/scss/editor.scss", "dist/css") .sass('src/scss/editor.scss', 'dist/css')
.options({ processCssUrls: false }); .options({ processCssUrls: false });
mix.copy("src/images", "images"); mix
.copy('src/images', 'images')
.copy('node_modules/jquery/dist/jquery.min.js', 'dist/js');

View file

@ -3857,9 +3857,9 @@ inherits@2.0.3:
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
version "1.3.5" version "1.3.7"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==
inquirer@^0.12.0: inquirer@^0.12.0:
version "0.12.0" version "0.12.0"
@ -4224,6 +4224,11 @@ jquery-highlight@^3.3.0:
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2" resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2"
integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw== integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==
jquery@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.1.tgz#d7b4d08e1bfdb86ad2f1a3d039ea17304717abb5"
integrity sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg==
js-levenshtein@^1.1.3: js-levenshtein@^1.1.3:
version "1.1.6" version "1.1.6"
resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"