Make version badge visible
Move the version indicator to a dark badge in the top-right corner so it's obvious at a glance which code is running. Previous muted footer was too easy to miss. Bump to 0.0.4. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bce6e785e0
commit
f4e7d0a3b6
|
|
@ -1 +1 @@
|
|||
__version__ = "0.0.3"
|
||||
__version__ = "0.0.4"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ frappe.provide("jey_wizard");
|
|||
// Bump this string in every commit that changes wizard code. Displayed in the footer so
|
||||
// we can tell at a glance which version is actually running on a given machine. Kept in
|
||||
// sync with __version__ in jey_wizard/__init__.py.
|
||||
const JEY_WIZARD_VERSION = "0.0.3";
|
||||
const JEY_WIZARD_VERSION = "0.0.4";
|
||||
|
||||
// Wipe Frappe + ERPNext default slides so their `before_load`/`after_load` listeners
|
||||
// don't try to mutate a wizard that isn't slide-based anymore.
|
||||
|
|
@ -37,13 +37,13 @@ frappe.setup.SetupWizard = class JeySetupWizard {
|
|||
render() {
|
||||
const $parent = $(this.parent).empty();
|
||||
this.$wrap = $(`
|
||||
<div class="jey-wizard" style="max-width:560px;margin:80px auto;padding:32px;font-family:system-ui,sans-serif">
|
||||
<div class="jey-wizard" style="max-width:560px;margin:80px auto;padding:32px;font-family:system-ui,sans-serif;position:relative">
|
||||
<div class="jey-version" style="position:absolute;top:8px;right:8px;background:#222;color:#fff;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600">v${JEY_WIZARD_VERSION}</div>
|
||||
<h1 style="margin-bottom:8px">Jey Setup</h1>
|
||||
<div class="jey-progress" style="color:#888;margin-bottom:24px"></div>
|
||||
<div class="jey-body"></div>
|
||||
<div class="jey-nav" style="margin-top:24px;display:flex;gap:8px;justify-content:flex-end"></div>
|
||||
<div class="jey-status" style="margin-top:16px;color:#c00"></div>
|
||||
<div class="jey-version" style="margin-top:32px;color:#bbb;font-size:11px;text-align:right">jey_wizard v${JEY_WIZARD_VERSION}</div>
|
||||
</div>
|
||||
`).appendTo($parent);
|
||||
this.show_current_step();
|
||||
|
|
|
|||
Loading…
Reference in New Issue