anchor.diff:                    .footer-ver
                       h6 v #{user.customData.device0ver}
               .col-md-3.column
  +              /////////////
  +              // DEVICE 1
  +              /////////////
                 .device1.panel.panel-warning
                   .panel-heading
                     button.rename(onclick='getDetails(device1id, 1)', title='Refresh this device')
  
positive.code:     var device2var7 = ("#{user.customData.device2var7}")
      var device2var8 = ("#{user.customData.device2var8}")
      var device2var9 = ("#{user.customData.device2var9}")
      var device2fun0 = ("#{user.customData.device2fun0}")
      var device2fun1 = ("#{user.customData.device2fun1}")
      var device2fun2 = ("#{user.customData.device2fun2}")
      var device2fun3 = ("#{user.customData.device2fun3}")
      var device2fun4 = ("#{user.customData.device2fun4}")
      var device2fun5 = ("#{user.customData.device2fun5}")
      var device2fun6 = ("#{user.customData.device2fun6}")
      var device2fun7 = ("#{user.customData.device2fun7}")
      var device2fun8 = ("#{user.customData.device2fun8}")
      var device2fun9 = ("#{user.customData.device2fun9}")
      // Device 3
      var device3id = ("#{user.customData.device3id}")
      var device3name = ("#{user.customData.device3name}")
  
negative.code:                         button.btn.btn-default(type='button', onclick='renameDevice(device1id, 1)') Rename
                        input.form-control(action='/dashboard', method='post', id='1renameto', type='text', placeholder='Rename device to', name='renameto')
                  .panel-body
                    // Check for variables before displaying
                    -if (user.customData.device1var0 != null)
                      h6 Variables:
                      button(onclick='getVarVal(device1id, device1var0, 0, 0)' title='Refresh this variable' class='varbutton') #{user.customData.device1var0}
                        .varval.device1var0
                        .lastheard.device1var0
                    -if (user.customData.device1var1 != null)
                      button(onclick='getVarVal(device1id, device1var1, 0, 1)' title='Refresh this variable' class='varbutton') #{user.customData.device1var1}
                        .varval.device1var1
                        .lastheard.device1var1
                    -if (user.customData.device1var2 != null)
                      button(onclick='getVarVal(device1id, device1var2, 0, 2)' title='Refresh this variable' class='varbutton') #{user.customData.device1var2}
                        .varval.device1var2
                        .lastheard.device1var2
                    -if (user.customData.device1var3 != null)
                      button(onclick='getVarVal(device1id, device1var3, 0, 3)' title='Refresh this variable' class='varbutton') #{user.customData.device1var3}
                        .varval.device1var3
                        .lastheard.device1var3
                    -if (user.customData.device1var4 != null)
                      button(onclick='getVarVal(device1id, device1var4, 0, 4)' title='Refresh this variable' class='varbutton') #{user.customData.device1var4}
                        .varval.device1var4
                        .lastheard.device1var4
                    -if (user.customData.device1var5 != null)
                      button(onclick='getVarVal(device1id, device1var5, 0, 5)' title='Refresh this variable' class='varbutton') #{user.customData.device1var5}
                        .varval.device1var5
                        .lastheard.device1var5
                    -if (user.customData.device1var6 != null)
                      button(onclick='getVarVal(device1id, device1var6, 0, 6)' title='Refresh this variable' class='varbutton') #{user.customData.device1var6}
                        .varval.device1var6
                        .lastheard.device1var6
                    -if (user.customData.device1var7 != null)
                      button(onclick='getVarVal(device1id, device1var7, 0, 7)' title='Refresh this variable' class='varbutton') #{user.customData.device1var7}
                        .varval.device1var7
                        .lastheard.device1var7
                    -if (user.customData.device1var8 != null)
                      button(onclick='getVarVal(device1id, device1var8, 0, 8)' title='Refresh this variable' class='varbutton') #{user.customData.device1var8}
                        .varval.device1var8
                        .lastheard.device1var8
                    -if (user.customData.device1var9 != null)
                      button(onclick='getVarVal(device1id, device1var9, 0, 9)' title='Refresh this variable' class='varbutton') #{user.customData.device1var9}
                        .varval.device1var9
                        .lastheard.device1var9
                    -if (user.customData.device1var10 != null)
                      button(onclick='getVarVal(device1id, device1var10, 0, 10)' title='Refresh this variable' class='varbutton') #{user.customData.device1var10}
                        .varval.device1var10
                        .lastheard.device1var10
                    -if (user.customData.device1var0 != null && user.customData.device1fun0 != null)
                      hr
                    // Check for functions before displaying
                    -if (user.customData.device1fun0 != null)
                      h6 Functions:
                      .input-group.func0
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device1fun0}
                        input.form-control(action='/dashboard', method='post', id='0sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                    -if (user.customData.device1fun1 != null)
                      .input-group.func1
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device1fun1}
                        input.form-control(action='/dashboard', method='post', id='1sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                    -if (user.customData.device1fun2 != null)
                      .input-group.func2
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device1fun2}
                        input.form-control(action='/dashboard', method='post', id='2sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                    -if (user.customData.device1fun3 != null)
                      .input-group.func3
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device1fun3}
                        input.form-control(action='/dashboard', method='post', id='3sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                  .panel-footer
                    .footer-id
                      h6 ID: #{user.customData.device1id}
  