updates
This commit is contained in:
parent
eba29a7524
commit
059e92ed1d
14 changed files with 564 additions and 294 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "monkee silverstripe",
|
||||
"name": "monkee/cyberstamm-silverstripe",
|
||||
"type": "silverstripe-recipe",
|
||||
"description": "The monkee SilverStripe Framework Installer + Addons",
|
||||
"require": {
|
||||
|
|
758
composer.lock
generated
758
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
_Copyright © 2013-2018, Nicola Fontana <ntd@entidi.it>_
|
||||
_Copyright © 2013-2021, Nicola Fontana <ntd@entidi.it>_
|
||||
_All rights reserved._
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
|
|
8
themes/silverstrap/lang/zh_CN.yml
Normal file
8
themes/silverstrap/lang/zh_CN.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
zh_CN:
|
||||
Silverstrap:
|
||||
GOTO: '跳转至 {page} 页'
|
||||
TOC: '表格内容'
|
||||
Search: '搜索'
|
||||
SearchTitle: '输入关键词进行搜索'
|
||||
RESULTS: '显示结果 "{query}" ({count} 页):'
|
||||
NORESULTS: '未能发现以下内容 "{query}" '
|
|
@ -1 +0,0 @@
|
|||
FormField.ss
|
|
@ -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 %>>
|
|
@ -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>
|
||||
|
|
|
@ -2,16 +2,17 @@
|
|||
"name": "cwp/starter-theme",
|
||||
"description": "CWP Theme",
|
||||
"type": "silverstripe-theme",
|
||||
"keywords": ["silverstripe", "theme", "cwp"],
|
||||
"keywords": [
|
||||
"silverstripe",
|
||||
"theme",
|
||||
"cwp"
|
||||
],
|
||||
"license": "BSD-3-Clause",
|
||||
"require": {
|
||||
"silverstripe/framework": "^4.0"
|
||||
},
|
||||
"extra": {
|
||||
"installer-name": "starter",
|
||||
"branch-alias": {
|
||||
"dev-master": "3.x-dev"
|
||||
},
|
||||
"expose": [
|
||||
"dist",
|
||||
"ico",
|
||||
|
|
2
themes/starter/dist/js/jquery.min.js
vendored
Normal file
2
themes/starter/dist/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"/dist/js/main.js": "/dist/js/main.js",
|
||||
"/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"
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
"bootstrap": "^4.3.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"imagemin": "^6.0.0",
|
||||
"jquery": "^3.5.1",
|
||||
"jquery-highlight": "^3.3.0",
|
||||
"path": "^0.12.7",
|
||||
"popper.js": "^1.14.5"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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)
|
||||
[![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<% if $RSSLink %>
|
||||
<link rel='alternate' type='application/rss+xml' title='RSS' href='$RSSLink'>
|
||||
<% end_if %>
|
||||
<% require themedCss('dist/css/main.css') %>
|
||||
<% require themedCSS('dist/css/main.css') %>
|
||||
<% include Favicon %>
|
||||
</head>
|
||||
<body class="$ClassName">
|
||||
|
@ -23,7 +23,7 @@
|
|||
<footer class="footer-site" role="contentinfo">
|
||||
<% include 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') %>
|
||||
<% include GoogleAnalytics %>
|
||||
</body>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const mix = require("laravel-mix");
|
||||
const mix = require('laravel-mix');
|
||||
|
||||
mix.webpackConfig({
|
||||
externals: {
|
||||
'$': 'jQuery',
|
||||
'jquery': 'jQuery'
|
||||
$: 'jQuery',
|
||||
jquery: 'jQuery',
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
|
@ -22,7 +22,7 @@ mix.webpackConfig({
|
|||
browsers: ['> 2%'],
|
||||
},
|
||||
},
|
||||
]
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -33,8 +33,10 @@ mix.webpackConfig({
|
|||
mix.js('src/js/main.js', 'dist/js');
|
||||
|
||||
mix
|
||||
.sass("src/scss/main.scss", "dist/css")
|
||||
.sass("src/scss/editor.scss", "dist/css")
|
||||
.sass('src/scss/main.scss', 'dist/css')
|
||||
.sass('src/scss/editor.scss', 'dist/css')
|
||||
.options({ processCssUrls: false });
|
||||
|
||||
mix.copy("src/images", "images");
|
||||
mix
|
||||
.copy('src/images', 'images')
|
||||
.copy('node_modules/jquery/dist/jquery.min.js', 'dist/js');
|
||||
|
|
|
@ -3857,9 +3857,9 @@ inherits@2.0.3:
|
|||
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
|
||||
|
||||
ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
|
||||
version "1.3.5"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
|
||||
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
|
||||
version "1.3.7"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
|
||||
integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==
|
||||
|
||||
inquirer@^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"
|
||||
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:
|
||||
version "1.1.6"
|
||||
resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
|
||||
|
|
Loading…
Reference in a new issue