Code Monkey home page Code Monkey logo

virtualmin-bootstrap-theme's Introduction

virtualmin-bootstrap-theme

NOTE: Theme is currently under development. It is not yet functional.

Responsive Bootstrap theme for Webmin, Virtualmin, Cloudmin, and Usermin

Installing

Fork the git repo into your home directory (wherever you normally put your src)

Make a symbolic link in your Webmin installation directory:

cd /usr/libexec/webmin

ln -s /path/to/virtualmin-bootstrap-theme bootstrap-theme

cd bootstrap-theme

And, if your perl is installed in /usr/bin (this applies to almost everyone), do this:

find . -name "*.cgi" -type f -exec sed -i 's/#!/usr/local/bin/perl/#!/usr/bin/perl/g' {} ;

Install the JSON::XS Perl module (this should be readily available from most OS software repos). The package name on CentOS/Fedora/RHEL is perl-JSON-XS, and on Debian/Ubuntu it is libjson-xs-perl. This module is used to encode/decode JSON for sending serialized data structures back and forth between Webmin and the browser. It is not used heavil yet, but will eventually be how most data goes back and forth.

What's broken?

This theme doesn't work in a variety of interesting ways.

See WISHLIST for some of those ways. WISHLIST is a list of things that need to be changed in Webmin proper for this theme to be usable for all Webmin modules. Some of those tasks are simple, but very time-consuming, and would be well-served by more people tackling the problems.

The theme itself has the following broken bits:

Back button doesn't work correctly. One solution may be to use jQuery BBQ or the History API to store history data, and a function to handle URI-to-state translation. i.e. a query string like ?l=v&r=/apache/edit_vhosts.cgi might be used to store a screen state of the Virtualmin menu open in the left panel and a page in the Apache module open in the right pane.

Numerous quirks need fixing and bits of polishing need doing. Many of the quirks are happening because Webmin still has a lot of legacy cruft from before ui_lib function existed, or because of assumptions Webmin makes about the UI. But, many others are just polish that's needed in the theme.

virtualmin-bootstrap-theme's People

Contributors

falahati avatar pcfreak30 avatar swelljoe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.