GithubHelp home page GithubHelp logo

eralpsahin / lynda-remaining-time Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 78 KB

Chrome extension that let's you see your remaining time of a Lynda course.

License: MIT License

JavaScript 72.84% CSS 11.72% HTML 15.44%

lynda-remaining-time's Introduction

My ideal Office Setup

International Fountain

lynda-remaining-time's People

Contributors

eralpsahin avatar

Watchers

 avatar  avatar

lynda-remaining-time's Issues

Add duration information and move to the sidebar

Remaining time information and the total duration information should always be visible. Title is not the best place to inject them.

Inspired from the duration div in Overview tab, they can be injected above the Contents/Notebook sidebar on course page.

<div class="col-xs-12 col-md-4 col-xl-3 sidebar-col">
    <section>
        <div class="col-xs-5 col-md-4 col-xl-4 course-info-stat-cont total"></div>
        <div class="col-xs-7 col-md-8 col-xl-8 course-info-stat-cont remaining"></div>
        <div id="sidebar-container"></div>
    </section>
</div>

Seems like the best place to inject the information with appropriate bootstrap grid classes as in the above example.

Some CSS changes needs to be done as well.

It can look like this;

155787805139290604

New span gets injected on every url change

Instead of updating the previously injected span, new spans get injected on remaining time calculation (on every url change). There should be only one injected span with the remaining time information.

Screen Shot 2019-05-13 at 00 15 06

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.