GithubHelp home page GithubHelp logo

simple_pbl's Introduction

Prep a PBL demo in minutes

With a live http server and a single file to update, you can get a simple-but-fast PBL demo running in minutes. Configure a selection of content (dashboards, looks, explores), change the logo, set the colors, tweak the HTML pages. If you leave the HTML as-is, all via a single config file.

(using VS Code with the Live Server extension makes it especially quick'n'easy)

VS Code Live Server and PBL

Configuration

Changes are required in the following places:

  1. On the Looker Instance
  2. Update images in img/
  3. Update the config.js file in root directory
  4. (Optional) Update the html content

NOTE: you can have multiple themes available for demonstration, by replicating the full directory structure. Examples of this are found in the themes and confidential_example directories.

The .gitignore directory includes a confidential directory for scenarios where it is important to have multiple, commercially confidential brand themes that must not be uploaded to the GitHub repo.

On the Looker instance:

admin/embed - Set Embedded Domain Whitelist at https://<your_instance>.looker.com/admin/embed

admin/themes - Set Theme (I recommend getting rid of the grey background by quickly copying Looker theme to LookerWhite, and setting the background to #ffffff )

Images

For simplest configuration, replace the images provided:

  • favicon.ico (Standard browser tab favicon)
  • image.png (340 x 150px. Used as a background image for sidebar)
  • logo.png (Height approx 50px. Used for the center of the nav bar)

Config.js

All icons refer to the Material Design icon set. Refer to https://materializecss.com/icons.html.

  1. Update baseURL and embedDomain
  2. Update content: {} with your chosen dashboards, looks and explores
    • 'Main Dashboard' is required, and will be the dashboard shown by default
  3. Update sidebarItems: {}
    • Use type: 'li' for a link to content
      • Use content: '' to refer to one of the keys in your content object (also used for the display text)
    • Use type: 'subheader' to create a subheader
      • Use text: '' for the text you want displayed in the sidebar
  4. Review the full config.js file, other things such as the page title can also be set

HTML

You can add more or remove pages using the navbarMenu object in config.js, but by default this template has four links to HTML content. These can be used to provide explanatory text or images. The default files are intended to support:

  1. A 'Themes' page that enables you to switch between different themes
  2. A 'Business Value' page to capture the end user business case for Looker
  3. A 'Time to Market' page to explain how Looker enables organisation to leverage their data analysts
  4. A 'Cloud Native' page to explain Looker's architecture and role within a larger digital or cloud strategy

simple_pbl's People

Contributors

contrastingsounds avatar

Stargazers

Justin Bugajski avatar

Watchers

James Cloos avatar

Forkers

llooker csu-anzai

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.