1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

General Raspbian info for the C2

Discussion in 'Mods and Upgrades' started by OutsourcedGuru, Jul 8, 2017.

  1. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    You actually want stuff to run in it's own sandbox. That OctoPrint runs in a virtual environment is not a bad thing. Don't make it more than it is. There are a lot of secure PC apps that run with their own copies of required libraries and not globally installed ones. It is a common practice in development circles.
     
    Kilrah likes this.
  2. OutsourcedGuru

    OutsourcedGuru Active Member

    Joined:
    Jun 3, 2017
    Messages:
    752
    Likes Received:
    141
    You were close, but it isn't the Robo plugin that we were looking for...

    ~/oprint/lib/python2.7/site-packages/octoprint/templates/tabs/temperature.jinja2
    Just remove tempInput from the list of classes, refresh the page and now you can see the value in its entirety.
    Code:
                   <input type="number" class="input-mini text-right tempInput" data-bind="attr: {placeholder: cleanTemperature(target()) }, value: newTarget, enable: $root.isOperational() && $root.loginState.isUser(), event: { keyup: function(d, e) {$root.handleEnter(e, 'target', $data);} }">
    
    Screen Shot 2017-07-12 at 7.12.00 PM.png
     
    Kilrah likes this.
  3. Kilrah

    Kilrah Well-Known Member

    Joined:
    Apr 18, 2017
    Messages:
    498
    Likes Received:
    332
    OK, a bit better indeed but still some crop for me

    Clipboard01.png
     
  4. OutsourcedGuru

    OutsourcedGuru Active Member

    Joined:
    Jun 3, 2017
    Messages:
    752
    Likes Received:
    141
    Try changing input-mini to input-small and see if that helps. Next in the series: input-medium and input-large.
     

Share This Page