1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
Commit graph

53 commits

Author SHA1 Message Date
catborise
3a4488d34f fix(templates): pages parse without markup errors, element IDs are unique
Rendered through every URL on libvirt's test driver, the pages had
duplicate IDs and markup browsers repaired silently:

- Each flavor modal's "Advanced" button toggled #flav-add-collapse, the
  first modal's section; every modal now has its own. The flavor and
  template copies of the custom tab's control IDs, and the template
  tab's unused images input, are gone.
- The VM page's action icons and the XML editors were styled by
  repeated IDs; they use classes.
- Modal forms opened inside modal-body and closed after modal-footer;
  they wrap both. Stray end tags and duplicate attributes are removed,
  paragraphs no longer hold modals or rows, table heads have a row, and
  the create page closes its row and column.
- html lang is the active language instead of "en".

A test walks every URL as a superuser and fails on a repeated ID. The
console page still has no doctype: its full-height layout relies on
quirks mode and needs its own check.
2026-10-19 07:49:25 +03:00
catborise
41468c700d build: the themes ship compiled, libsass is no longer installed
A theme change compiled Bootswatch with libsass (34 MB, upstream
deprecated) into two tracked files, which updates, rollbacks and new
Docker containers then reset. The 27 themes now ship as
static/css/themes/<theme>.min.css, built by "manage.py build_themes";
the Settings page only saves the theme name and every page links that
file (zephyr when no settings are in context, as on the 500 page).

libsass moves to dev/requirements.txt; a test checks that each shipped
file is its theme compiled from dev/scss. The "Theme SASS Path" setting
is removed, and the theme default "flaty", a typo that never applied,
becomes zephyr, the theme those installs showed. The update and
rollback steps restore an older version's rewritten theme files only
where they are modified.
2026-10-18 22:36:29 +03:00
catborise
9b0c6e2d8e build: xterm 6.0.0 for the serial console
@xterm/xterm 6.0.0 and @xterm/addon-fit 0.11.0 replace xterm 3.6.0; the page reads typed and pasted input with onData, and no longer writes every key and all terminal output to the browser console. The unused fullscreen addon goes.
2026-10-17 16:09:50 +03:00
catborise
f5ec757d1a build: Chart.js 4.5.1 2026-10-17 13:19:43 +03:00
catborise
057aabca1f build: Tom Select replaces bootstrap-multiselect
The create wizard's image and network pickers use Tom Select 2.6.2 (its
Bootstrap 5 theme and checkbox list), which does not need jQuery;
bootstrap-multiselect calls $.isArray, which jQuery 4 removed. The
selected images and networks still fill the wizard's own lists.
2026-10-16 23:25:15 +03:00
catborise
d4f04cbf1e build(deps): Bootstrap and Bootswatch 5.3.8
Bootstrap SCSS, the JS bundle and the Bootswatch themes go from 5.3.3 to
5.3.8 (bug fixes only), and wvc-main.min.css is recompiled from zephyr.
Bootswatch now gives table text the body color, and Lux drops card and
modal header borders.

Tests compile every theme with the pinned libsass and check that the
shipped CSS is zephyr from these sources. The update and rollback steps
put back the two files a theme change rewrites, or git refuses to pull
over them.
2026-10-12 08:44:31 +03:00
catborise
2ea6652a0e chore(frontend): upgrade Bootswatch and Bootstrap SCSS to v5.3.3
- Upgraded Bootswatch SCSS source files across all 25 themes (dev/scss/bootswatch/) to v5.3.3
- Upgraded Bootstrap SCSS source files (dev/scss/bootstrap/) to v5.3.3 to match static/js/bootstrap.bundle.min.js
- Updated dev/scss/bootstrap-overrides.scss to import bootstrap/variables-dark
- Verified error-free LibSass compilation for all 26 themes (25 Bootswatch + bootstrap-orj)
- Recompiled static/css/wvc-main.min.css
2026-09-26 23:57:02 +03:00
catborise
ac91248a29 feat(ui): make authentication pages 100% compatible with Bootswatch themes
- Replace hardcoded colors with Bootstrap & Bootswatch CSS custom properties
- Adapt background, card, borders, and inputs dynamically to active light and dark themes
- Inherit primary color, border-radius, and font-family from active theme
- Use native Bootswatch alert and button styles for consistent visual hierarchy
2026-09-26 23:31:24 +03:00
catborise
2996adae3a feat(ui): redesign authentication pages with modern virtualization theme
- Overhaul signin.css with responsive dark glassmorphic card and ambient lighting
- Add server virtualization branding badge and typography hierarchy
- Enhance input fields with leading Bootstrap icons and interactive password visibility toggle
- Modernize 2FA/OTP login and signed-out pages to match design language
- Add real-time loading feedback on form submission
2026-09-26 23:22:33 +03:00
catborise
1e8d94731b override googleapis-font for zephyr template and make inter font local 2023-08-10 11:31:24 +03:00
Emre Serdengeçti
1cbdf76df6
logger updates (#31)
* Log for failed login attempts

* Logger configuration for logging to file

* interface fixes

* login log fix, added logged in too

* bootstrap icons setup

* font-awesome icons replaced with bootstrap icons

* replaced i-tags with django_bootstrap_icons

* removed icons library from project

* bug fix

---------

Co-authored-by: catborise <catborise@gmail.com>
2023-08-09 09:20:18 +03:00
catborise
86b03abd59 reorganize otp_login and login pages 2023-05-12 10:30:50 +03:00
cserma
407605761f new login screen 2023-04-27 16:02:29 +03:00
catborise
12d3530641 update bootstrap-multiselect to 1.1.2 2023-01-23 08:25:44 +03:00
catborise
e3fb820b50 update bootstrap&bootswatch 5.0.2 -> 5.2.2. Seperate bootswatch overrides for future update easiness 2023-01-23 08:25:44 +03:00
catborise
0680f02240 remove css urls, add missing socketio requirements, fix cookie import, and rearrange socketiod connetion 2022-07-21 13:31:37 +03:00
catborise
c354393685 add MAC address inputs for instance create methods 2021-12-03 16:41:50 +03:00
catborise
073b7b6717
Bootstrap5 (#17)
* Bootstrap5 migration
2021-07-07 14:12:38 +03:00
catborise
a5c1d8c308 update bootstrap to 4.6.0 & bootswatch 4.6.0 - fix some themes 2021-03-30 15:34:31 +03:00
catborise
cf01625945 bootstrap-multiselect update to 0.9.16: bootstrap4 support 2020-11-16 12:06:22 +03:00
catborise
e2e62a3ad4 Bootstrap & Bootswatch Upgrade: 4.5 -> 4.5.3 2020-11-06 16:16:40 +03:00
Real-Gecko
1a3cc36ada Moved admin/common/form.html to project templates 2020-06-16 18:04:37 +06:00
catborise
e46bb99b3b fix typos and rearrange imports & add new lines EOF 2020-06-04 15:22:55 +03:00
catborise
0e5840498e bootstrap 4.5 & Bootswatch Themes 2020-06-04 11:33:25 +03:00
Real-Gecko
27f62dff6c Added admin application
- Manage users
- Manage groups
- Manage logs
2020-05-27 18:24:06 +06:00
Real-Gecko
6d82c2820b Fix instance bottom bar overlapping main content 2020-05-25 17:32:36 +06:00
catborise
c5776fc13b Update: Bootstrap 3.4.0 -> 3.4.1 2019-03-20 09:53:25 +03:00
catborise
ebf251ff5e Update bootstrap 3.3.7->3.4.0, update jquery 1.11.1->1.12.4 2019-02-11 11:08:36 +03:00
catborise
03370ac705 Fix css class name for prevention of multiselect(->multipleselect) 2019-02-08 17:17:01 +03:00
catborise
96efde814a Add boot menu/order functionality. Minor improvements. Some bug fixes 2019-01-15 15:55:05 +03:00
catborise
69be623eeb upgrade bootstrap-multiselect to v0.9.15 2018-10-31 16:51:11 +03:00
catborise
ea4f2cba8b Fontawesome update 4.30 to 4.70 2018-10-02 10:47:02 +03:00
catborise
bee2e4222b unused/old bootstrap file deleted. instances.html make-up.. 2018-07-18 15:01:01 +03:00
catborise
20e8b876e4 instance template change to instances as group of hosts. bootstrap.min.css and js updated. some info added. 2018-06-28 16:55:36 +03:00
Jan Krcmar
e966e6c030 add user information per instance on the instances list
wider .container (900px)
2016-05-02 12:23:18 +02:00
Retspen
0408e1d9cd Added function for public key to gstfsd 2015-05-27 16:23:49 +03:00
Retspen
e41eb792a3 Changed font-awsome 2015-05-13 10:32:10 +03:00
Retspen
86e1915a49 Fixed some bugs and redesigned html 2015-04-21 14:46:58 +03:00
Retspen
5ccc813336 Fixed login page 2015-03-24 16:16:46 +02:00
Retspen
30db0f8e7a Adde legend 2015-03-23 11:54:59 +02:00
Retspen
4a17f08740 Added graph scale for instance 2015-03-20 12:06:32 +02:00
Retspen
02570cd826 Added ChartJS 2015-03-19 15:37:16 +02:00
Retspen
b98084b7ee Day is over 2015-03-13 17:30:09 +02:00
Retspen
e1ce8b53ac Added sceleton for instancr page 2015-03-12 16:15:36 +02:00
Retspen
2e976fc101 Fixed users instances 2015-03-11 11:39:44 +02:00
Retspen
1e91fb303f Add search in table 2015-03-11 09:07:30 +02:00
Retspen
5f6b06b467 Add sortable 2015-03-10 16:46:52 +02:00
Retspen
00b4d751ad Added buttons and actions on create page 2015-03-10 11:15:36 +02:00
Retspen
be9487e42f Day is end 2015-03-06 15:46:59 +02:00
Retspen
c763eaa63c Add responsive to starages 2015-03-05 16:56:22 +02:00