Giter Club home page Giter Club logo

luci-theme-tano's Introduction

Tano Systems LuCI theme

This repository contains Tano Systems theme for LuCI web configuration interface.

This theme is the official theme of the LuCI web configuration interface for TanoWrt Linux distribution.

This theme is intended to use forked LuCI version by Tano Systems which has a some differences in HTML markup. Therefore, this theme may not work correctly with the official LuCI and/or official OpenWrt builds.

The BitBake recipe for this theme can be founded in the meta-tanowrt OpenEmbedded layer repository.

Development prerequisites

Node.js and npm

To start development you should have Node.js installed on your development machine.

Depending on OS you are using you can obtain appropriate distributive or source code of Node.js from official site.

Another way to get Node.js installed is by using NVM (Node Version Manager).

It's strongly recommended to have npm of version 5 or higher to be able to use package-lock.json file.

Setting up

After Node.js and npm are installed you have to take some setup actions.

Installing packages

All packages required for building will be installed automatically. It can take some time. Run this command to install packages.

npm install

After packages are installed you can run theme bundle building.

Configuring env

To be able to deploy to some host having LuCI up and running you have to setup some environment variables. To get this done do the following (assuming you are in repo's root directory):

cp ./buildscripts/env.example ./buildscripts/env

Created file ./buildscripts/env contains environment variables required for deployment of built theme to target host. All the variables are documented in place. You may use any other editor instead of vim.

vim ./buildscripts/env

After variables are set you may to deploy your changes to configured host.

Running build scripts

Below described commands that allow you to build and deploy theme.

Building and deploying theme

To get theme built and deployed you have to run this command

npm run build_and_deploy

Theme will be deployed to target host as soon as get built.

Building theme bundle

To build a tarball that includes all theme files you have to run this command

npm run bundle

After a tarball get built it will be placed into bundle directory.

Screenshots

Desktop

Overview

Overview

System -> General Settings

System -> General Settings

Firewall -> Traffic Rules

Firewall -> Traffic Rules

UCI Changes

UCI Changes

Mobile

Overview

Overview

Menu

Menu

System -> General Settings

System -> General Settings

UCI Changes

UCI Changes

luci-theme-tano's People

Contributors

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