Skip to content

Commit

Permalink
Merge pull request #3 from litespeedtech/master
Browse files Browse the repository at this point in the history
Update my fork
  • Loading branch information
lslisa authored Mar 11, 2024
2 parents 2b674db + 9a2ffc9 commit 41df677
Show file tree
Hide file tree
Showing 175 changed files with 24,451 additions and 19,244 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches:
- master
- dev
- 'v*.*'
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: '20'
check-latest: true
cache: npm
cache-dependency-path: package-lock.json

- run: npm ci

- run: npm run format-check
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.local
*.log
*.swp
.DS_Store
.cache
.env*
.vscode
node_modules
16 changes: 16 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
**/*.min.*
**/*.ori.*
**/*.tpl.php
assets/js/css_async.js
assets/js/webfontloader.js
lib
tpl/banner
tpl/esi_widget_edit.php
tpl/inc/api_key.php
tpl/inc/check_cache_disabled.php
tpl/inc/check_if_network_disable_all.php
tpl/inc/modal.header.php
!tpl/cache/network_settings-browser.tpl.php
!tpl/cache/network_settings-object.tpl.php
!tpl/cache/settings-browser.tpl.php
!tpl/cache/settings-object.tpl.php
24 changes: 24 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"overrides": [
{
"files": ".prettierrc",
"options": { "parser": "json" }
},
{
"files": "**/*.{yml,yaml}",
"options": { "tabWidth": 2 }
}
],
"plugins": ["@prettier/plugin-php"],
"arrowParens": "avoid",
"braceStyle": "per-cs",
"endOfLine": "auto",
"phpVersion": "5.3",
"printWidth": 180,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"trailingCommaPHP": true,
"useTabs": true
}
14 changes: 6 additions & 8 deletions assets/css/litespeed-legacy.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
.litespeed-wrap h2.nav-tab-wrapper, .litespeed-wrap h3.nav-tab-wrapper{
margin-bottom:0;
.litespeed-wrap h2.nav-tab-wrapper,
.litespeed-wrap h3.nav-tab-wrapper {
margin-bottom: 0;
}

.litespeed-wrap h2 .nav-tab{
font-size:14px;
.litespeed-wrap h2 .nav-tab {
font-size: 14px;
}


.litespeed-wrap .striped > tbody > :nth-child(odd),
.litespeed-wrap ul.striped > :nth-child(odd),
.litespeed-wrap .alternate {
background-color: #f9f9f9;
}



.litespeed-wrap .notice,
.litespeed-wrap div.updated,
.litespeed-wrap div.error {
Expand Down Expand Up @@ -55,4 +53,4 @@

.litespeed-wrap .notice-info.notice-alt {
background-color: #e5f5fa;
}
}
Loading

0 comments on commit 41df677

Please sign in to comment.