Skip to main content

Uliweb ui application

Project description

# Uliweb UI

## What’s it

uliweb-ui is used to collection ui components, such as css and js.

## Compile utils and tags

First install node.js, npm,then install gulp and dependencies:

` npm install gulp npm install gulp gulp-riot gulp-clean-css gulp-jshint gulp-uglify gulp-concat gulp-rename gulp-notify del riot uglify-js error jshint `

Run:

` gulp default `

to compile uliweb-ui.css and uliweb-ui.js to uliweb_ui/static/modules, also compile tags to uliweb_ui/static/modules/tags

## make jsmodules.js

jsmodules.js is used to combine js modules defined in settings.ini into a javascript file, so that head.load can load them via load([“module1”, “module2”], function(){}). You can get it through command line uliweb jsmodule -a uliweb_ui to recreate it and save it to uliweb_ui/static/jsmodules.js. Because uliweb_ui is just an app, but not an application, so you should run jsmodule command in a project directory, so you can make a simple project, and just add uliweb_ui to INSTALLED_APPS, and run the command.

Uliweb_ui is already create jsmodule.js for you. But if you want to add more ui components to settings.ini, and also want to use load to process them, you should recreate jsmodules.js yourself.

## Concat plugins Step.1 Write some configuration in ‘settings.ini’ of your uliweb project. like that:

` [TEMPLATE_GULP] you_want_name = [ "plugin name", ... ] `

Step.2 Enter a command in CLI of your uliweb project

` uliweb gulpplugins -d app_name `

Then you will find some files in the folder(you_want_name.js && you_want_name.css)

` .../your_project/apps/app_name/static/ `

Step.3 In the template file, use plugin with command “{{use ‘plugin name’}}” , you_want_name.js and you_want_name.css will loaded

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uliweb-ui-0.1.0.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

uliweb_ui-0.1.0-py3-none-any.whl (13.5 MB view details)

Uploaded Python 3

File details

Details for the file uliweb-ui-0.1.0.tar.gz.

File metadata

  • Download URL: uliweb-ui-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for uliweb-ui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c5dc57da48fbd37bf0069e8a492a81fba63a24fa3acdbaa87fe917782742171
MD5 2453af7a905f62b9a89c65eb172b4638
BLAKE2b-256 27957b5f8b9ca543b8c0344b0e69209fc58213d4ea69e1e3b7c7208b78f08212

See more details on using hashes here.

File details

Details for the file uliweb_ui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: uliweb_ui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for uliweb_ui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc20130bba3cc1c4746a5e370cbe7ac7718bb2a0251f8bf5e9a5c88c48411c36
MD5 dfe3ec603bcbd693ccb303d1f29dadff
BLAKE2b-256 2ec18d6571640f2057da3928a420261f5aa407edf78baaa6cb95669216095f6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page