1
0
Fork 0

Commits vergleichen

...

23 Commits

Autor SHA1 Nachricht Datum
Keegan George
dc087fef47 DEV: Remove padding from new line 2021-08-05 10:28:38 -07:00
Keegan George
21da4f14f3 DEV: Remove name attribute in localizations 2021-07-21 13:41:50 -07:00
Keegan George
2979033350 DEV: Add new line at end of file 2021-07-21 13:38:59 -07:00
Keegan George
a08f074dd9 DEV: Add new line at end of file 2021-07-21 13:38:26 -07:00
Keegan George
2030f4543b DEV: Fix space before i18n 2021-07-21 13:37:26 -07:00
Keegan George
4b14ec526d FIX: Use SCSS variables for color manipulation functions 2021-06-29 14:44:37 -07:00
Keegan George
7b7b8adb13 DEV: Fix linting 2021-06-29 11:08:29 -07:00
Keegan George
f48b433b83 DEV: Convert scss variables to CSS Custom properties 2021-06-28 17:58:17 -07:00
Keegan George
058d03f371 DEV: Add space between selectors 2021-06-28 17:40:28 -07:00
Keegan George
d440ab11f4 DEV: Undo formatting fixes auto applied 2021-06-28 17:37:14 -07:00
Keegan George
ed8a61e836 DEV: Undo formatting fixes and add pro support button strings 2021-06-22 13:38:48 -07:00
Keegan George
dbc6baee0b DEV: Remove support url localization 2021-06-22 13:36:00 -07:00
Keegan George
8bf5261c2a DEV: Hardcode pro-support url in button 2021-06-22 13:24:45 -07:00
Keegan George
0ed9e896a5 DEV: Use variables and change selector specificity for pro button 2021-06-22 13:17:55 -07:00
Keegan George
628d3f31db Merge branch 'pro-release' of https://github.com/paviliondev/discourse-custom-wizard into support_buttons 2021-06-22 06:48:31 -07:00
Keegan George
bf536df198 DEV: Format stylesheet code 2021-06-08 18:39:58 -07:00
Keegan George
f005e8f277 UX: Change support button name to Pro Support 2021-06-08 18:35:57 -07:00
Keegan George
247e80649c DEV: Move pro support url to setting 2021-06-08 18:35:03 -07:00
Keegan George
5981db90b4 UX: Merge support button focus styling with hover 2021-06-08 18:33:59 -07:00
Keegan George
3b0b6736e4 UX: Create pro button custom styling 2021-06-08 18:30:45 -07:00
Keegan George
0ba6d5767a Update pro support url 2021-06-08 16:06:53 -07:00
Keegan George
eaf648ea05 FIX: Security vulnerabilities with _blank anchor link 2021-06-08 15:54:43 -07:00
Keegan George
4c923e17d7 Add support button to admin-nav 2021-06-08 15:48:55 -07:00
5 geänderte Dateien mit 35 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -7,6 +7,10 @@
{{/if}} {{/if}}
{{nav-item route="adminWizardsLogs" label="admin.wizard.log.nav_label"}} {{nav-item route="adminWizardsLogs" label="admin.wizard.log.nav_label"}}
{{nav-item route="adminWizardsManager" label="admin.wizard.manager.nav_label"}} {{nav-item route="adminWizardsManager" label="admin.wizard.manager.nav_label"}}
<div class="admin-actions">
<a target="_blank" class="btn btn-pavilion-pro" rel="noreferrer noopener" href="https://thepavilion.io/w/support" title={{i18n "admin.wizard.pro_support_button.title"}}>{{d-icon "far-life-ring"}}{{i18n "admin.wizard.pro_support_button.label"}}</a>
</div>
{{/admin-nav}} {{/admin-nav}}
<div class="admin-container"> <div class="admin-container">

Datei anzeigen

@ -2,6 +2,7 @@
@import "wizard-manager"; @import "wizard-manager";
@import "wizard-api"; @import "wizard-api";
@import "common/components/buttons"; @import "common/components/buttons";
@import "wizard-variables";
.admin-wizard-controls { .admin-wizard-controls {
display: flex; display: flex;
@ -711,3 +712,22 @@
width: 80px; width: 80px;
vertical-align: middle; vertical-align: middle;
} }
.btn.btn-pavilion-pro {
background: var(--pavilion-primary);
color: var(--pavilion-secondary);
.d-icon {
color: var(--pavilion-secondary);
}
&:hover,
&:focus {
background: darken($pavilionPrimary, 5%);
&[href],
svg.d-icon {
color: darken($pavilionSecondary, 10%);
}
}
}

Datei anzeigen

@ -0,0 +1,7 @@
$pavilionPrimary: #3c1c8c;
$pavilionSecondary: #ffffff;
:root {
--pavilion-primary: #3c1c8c;
--pavilion-secondary: #ffffff;
}

Datei anzeigen

@ -58,6 +58,9 @@ en:
select_type: "Select a type" select_type: "Select a type"
condition: "Condition" condition: "Condition"
index: "Index" index: "Index"
pro_support_button:
title: "Request Pro Support"
label: "Pro Support"
message: message:
wizard: wizard:

Datei anzeigen

@ -33,6 +33,7 @@ if respond_to?(:register_svg_icon)
register_svg_icon "chevron-right" register_svg_icon "chevron-right"
register_svg_icon "chevron-left" register_svg_icon "chevron-left"
register_svg_icon "save" register_svg_icon "save"
register_svg_icon "far-life-ring"
end end
after_initialize do after_initialize do