Skip to content

Commit

Permalink
Better relational CF7 submission query, and related improvements, add…
Browse files Browse the repository at this point in the history
…itional CF7 notes for internal submissions
  • Loading branch information
chrisblakley committed Apr 11, 2024
1 parent 783881e commit fd3801d
Show file tree
Hide file tree
Showing 14 changed files with 95 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nebula-wp",
"title": "Nebula",
"description": "Advanced Starter WordPress Theme for Developers",
"version": "11.11.9.450",
"version": "11.11.11.024",
"homepage": "https://gearside.com/nebula/",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion Nebula-Child/assets/css/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Nebula-Child/resources/sw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//BEGIN automated edits. These will be automatically overwritten.
const THEME_NAME = 'nebula-child';
const NEBULA_VERSION = 'v11.11.9.450'; //Tuesday, April 9, 2024 10:47:21 AM
const NEBULA_VERSION = 'v11.11.11.024'; //Thursday, April 11, 2024 12:34:17 AM
const OFFLINE_URL = 'https://nebula.gearside.com/offline/';
const OFFLINE_IMG = 'https://nebula.gearside.com/wp-content/themes/Nebula-main/assets/img/offline.svg';
const META_ICON = 'https://nebula.gearside.com/wp-content/themes/Nebula-main/assets/img/meta/android-chrome-512x512.png';
Expand Down
4 changes: 2 additions & 2 deletions Nebula-Child/style.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/css/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/critical.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/login.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/pre.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ nebula.cf7SubmissionsOrganization = function(){
jQuery('.cf7-note-failed').each(function(){
jQuery(this).parents('tr').addClass('failed-row');
});

jQuery('.cf7-note-internal').each(function(){
jQuery(this).parents('tr').addClass('internal-row');
});
}

//Submission details page
Expand Down
18 changes: 14 additions & 4 deletions assets/scss/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -384,16 +384,17 @@ body.appearance_page_nebula_options {background-color: #f1f1f1;}
$failed_color: #9C12BB;
$invalid_color: darken($warning_color, 15%);
$spam_color: $danger_color;
$internal_color: #666;

table.wp-list-table {table-layout: auto;
tr.status-submission {
th {border-left: 4px solid rgba($submission_color, 0.5); }

&.caution-row th {border-left: 4px solid rgba($caution_color, 0.15);}
&.failed-row th {border-left: 4px solid rgba($failed_color, 0.5);}
}
tr.status-invalid th {border-left: 4px solid rgba($invalid_color, 0.25);}
tr.status-invalid th {border-left: 4px solid rgba($invalid_color, 0.55);}
tr.status-spam th {border-left: 4px solid rgba($spam_color, 0.25);}
tr.internal-row th {border-left: 4px solid rgba($internal_color, 0.2);}

.cf7-note-failed i,
.cf7-note-failed strong {color: $failed_color;}
Expand All @@ -415,10 +416,19 @@ body.appearance_page_nebula_options {background-color: #f1f1f1;}
&.notice-invalid {border-left-color: $invalid_color;}
&.notice-error,
&.notice-spam {border-left-color: $spam_color;}
&.notice-internal {border-left-color: $internal_color;}
}

.invalid-submission-item i {color: $invalid_color;}
.this-successful-submission i {color: $submission_color;}
.nebula-cf7-notice {
ol {margin-left: 20px;
.invalid-submission-item i {color: $invalid_color;}
.successful-submission-item i {color: $submission_color;}
.this-submission {font-weight: bold; font-size: 1.1em;
&::marker {font-weight: bold;}
a {text-decoration: none;}
}
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Theme URI: https://nebula.gearside.com
Description: Nebula is a springboard WordPress theme framework for developers. Like other WordPress startup themes, it has custom functionality built-in (like shortcodes, styles, and JS/PHP functions), but unlike other themes Nebula is not meant for the end-user.
Author: Nebula
Version: 11.11.9.450
Version: 11.11.11.024
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nebula
Expand Down
2 changes: 1 addition & 1 deletion inc/data/nebula_theme.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "11.11.9.450",
"version": "11.11.11.024",
"details_url": "https://github.com/chrisblakley/Nebula/commits/main",
"download_url": "https://github.com/chrisblakley/Nebula/archive/main.zip"
}
Loading

0 comments on commit fd3801d

Please sign in to comment.