All Projects → rancher → Ui

rancher / Ui

Licence: apache-2.0
Rancher UI

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ui

Ember Cli Page Object
This ember-cli addon eases the construction of page objects on your acceptance and integration tests
Stars: ✭ 272 (-41.25%)
Mutual labels:  ember
Ember Cli
The Ember.js command line utility
Stars: ✭ 3,314 (+615.77%)
Mutual labels:  ember
Ember Runloop Handbook
A deep dive into the Ember JS runloop.
Stars: ✭ 367 (-20.73%)
Mutual labels:  ember
Data
A data persistence library for Ember.js.
Stars: ✭ 2,998 (+547.52%)
Mutual labels:  ember
Rancher Letsencrypt
🐮 Rancher service that obtains and manages free SSL certificates from the Let's Encrypt CA
Stars: ✭ 318 (-31.32%)
Mutual labels:  rancher
Ember Metrics
Send data to multiple analytics integrations without re-implementing new API
Stars: ✭ 356 (-23.11%)
Mutual labels:  ember
Ember Can
Simple authorisation addon for Ember apps
Stars: ✭ 262 (-43.41%)
Mutual labels:  ember
Ember Intl
Localization library for any Ember Application or Addon
Stars: ✭ 412 (-11.02%)
Mutual labels:  ember
Corber
CLI for building hybrid apps with Ember/Vue/Glimmer/Cordova
Stars: ✭ 327 (-29.37%)
Mutual labels:  ember
Ember Decorators
Useful decorators for Ember applications.
Stars: ✭ 360 (-22.25%)
Mutual labels:  ember
Rancher
Complete container management platform
Stars: ✭ 18,191 (+3828.94%)
Mutual labels:  rancher
Skylines
Live tracking, flight database and competition framework
Stars: ✭ 313 (-32.4%)
Mutual labels:  ember
Ember Simple Auth Token
Ember Simple Auth extension that is compatible with token-based authentication like JWT.
Stars: ✭ 356 (-23.11%)
Mutual labels:  ember
Ember Burger Menu
An off-canvas sidebar component with a collection of animations and styles using CSS transitions
Stars: ✭ 280 (-39.52%)
Mutual labels:  ember
Ember Infinity
⚡️ Simple, flexible Infinite Scroll for Ember CLI Apps.
Stars: ✭ 368 (-20.52%)
Mutual labels:  ember
Awesome Rancher
Curated list of Rancher resources
Stars: ✭ 265 (-42.76%)
Mutual labels:  rancher
Ember Websockets
Ember.js websockets and socket.io addon
Stars: ✭ 336 (-27.43%)
Mutual labels:  ember
Ember Cp Validations
Ember computed property based validations
Stars: ✭ 442 (-4.54%)
Mutual labels:  ember
Esri Loader
A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications
Stars: ✭ 400 (-13.61%)
Mutual labels:  ember
Ember Cli Flash
Simple, highly configurable flash messages for ember-cli
Stars: ✭ 358 (-22.68%)
Mutual labels:  ember

Rancher UI

Perhaps you like managing Cattle.

Usage

Prerequisites:

If you're on a Mac and use Homebrew, you can follow these steps:

  brew install node watchman yarn

Setup:

  git clone 'https://github.com/rancher/ui'
  cd 'ui'
  ./scripts/update-dependencies

Run development server:

  yarn start

Connect to UI at https://localhost:8000/ . The server automatically picks up file changes, restarts itself, and reloads the web browser. This is intended only for development, see below for distributing customizations.

Run development server pointed at another instance of the Rancher API

  RANCHER="https://rancher-server" yarn start

RANCHER can also be hostname[:port] or ip[:port].

Compiling for distribution

Rancher releases include a static copy of the UI passed in during build as a tarball. To generate that, run:

  ./scripts/build-static

Customizing

We highly suggest making customizations as an ember-cli addon rather than forking this repo, making a bunch of changes and then fighting conflicts to keep it up to date with upstream forever. ui-example-addon-machine is an example addon that adds a custom screen for a docker-machine driver. If there is no way for you to get to what you want to change from an addon, PRs to this repo that add generalized hooks so that you can are accepted.

Project Structure

Rancher UI uses Ember CLI Pods for its project structure. We suggest reading the documentation if you have questions about the layout of the Rancher UI project.

Engines and In-repo Addons

Rancher UI uses Ember Engines to break the deliverable code into smaller chunks and only deliver what the end-user will need. When adding new components to an engine ensure you are only re-exporting the component back out of the engine if it is required and can not be placed in the shared in-repo addon. When adding a new service or dependency that is required by an engine ensure that you pass the dependencies to the engine, more info can be found here

The shared in-repo addon is a central repository of shared components for use with both the main app and any in-repo engine.

Translations

Rancher UI supports localization via translations files. You can swap translations live by utilizing the Language Picker located in the footer. If you would like to add your own translations files follow the directions below.

  • Fork the Rancher UI repo
  • Copy the en-us.yaml file located in /translations folder and rename using the <language-code>/<country-code>.yaml format (Supported Locales)
  • Replace the values on each key with you're new values corresponding to your language
  • Ensure you replace the languageName value as this is what will be displayed in the language picker in the UI
  • While developing you can use SHFT + L when not focused in an input or text area to toggle the languages between your currently selected language and a special none language to see what key values are missing
  • When you've finished you're translations issue a pull request back to the Rancher UI repo to have your translation included

Hosting remotely

If you want to customize the UI, re-packaging all of Rancher to distribute the UI is possible but not terribly convenient. Instead you can change Cattle to load the UI source from a remote web server:

Running Tests

  yarn global add ember-cli
  • yarn lint:hbs

  • yarn lint:js

  • yarn lint:js -- --fix

  • ember test

  • ember test --server

Bugs & Issues

Please submit bugs and issues to rancher/rancher with a title starting with [UI].

Or just click here to create a new issue.

Useful links

License

Copyright (c) 2014-2019 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].