Giter VIP home page Giter VIP logo

itop-handy-framework's Introduction

iTop extension: molkobain-handy-framework

Support

If you like this project, you can buy me beer, always appreciated! ๐Ÿป๐Ÿ˜

Donate

Description

A bunch of Core & UI helpers to be used by other extensions.

This extension doesn't bring any features, it is meant to used by some extensions out there or by you to create your own.

Content

Attribute types

  • AttributeRackUnit: Extends the AttributeInteger type to show the 'U' unit on display.

Example on a server with the Position attribute before and after using the new rack unit type

Attribute rack unit before Attribute rack unit after

UI

Console tooltips

Use the new molkobain-light and molkobain-dark themes to qTip tooltips for a more modern look & feel.

Tooltip with the regular light theme and with the new molkobain-lighttheme.

Light tooltip before Light tooltip after

Toggle buttons

Display checkboxes as nice toggle buttons in forms by using UIHelper::MakeToggleButton().

Button designs

Some CSS clases to put predefined designs on buttons. Check the .mhf-button classes.

Buttons

Loading overlay

Use the .mhf-loader class to have a nice overlay when you need to block some parts of the UI. Toggle .mhf-hide class on it to hide / show it.

Code helpers

String manipulations

StringHelper class to simplify some string manipulations:

  • StringHelper::ToCamelCase($sInput) transforms a snake case string into a camel case string (eg. "some_string" => "SomeString")

Compatibility

Compatible with iTop 2.4+

Downloads

Stable releases can be found on the releases page.

Downloading it directly from the Clone or download will get you the version under development which might be unstable.

Installation

  • Unzip the extension
  • Copy the molkobain-handy-framework folder under <PATH_TO_ITOP>/extensions folder of your iTop
  • Run iTop setup & select extension Molkobain's handy framework

Your folders should look like this

Extensions folder

Configuration

No configuration needed.

Parameters

The extension has only 1 configuration parameter:

  • enabled: Enable or disable extension. Possible values are true|false, default is true.

Licensing

This extension is under AGPLv3.

itop-handy-framework's People

Contributors

molkobain avatar

Watchers

 avatar  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.