Requires

Provides

Network.js

Some kind of a network preferences

License:
Public domain (http://unlicense.org).
  1. 37
  2. 38
  3. 39
  4. 40
  5. 41
  6. 42
  7. 43
  8. 44
  9. 45
  10. 46
  11. 47
  12. 48
  13. 49
  14. 50
  15. 51
  16. 52
  17. 53
  18. 54
  19. 55
  20. 56
  21. 57
  22. 58
  23. 59
  24. 60
  25. 61
  26. 62
  27. 63
  28. 64
  29. 65
LSD.Widget.Menu.List.Networks = new Class({ Extends: LSD.Widget.Menu.List, options: { layers: { shadow: ['shadow'], background: [LSD.Layer.Fill.Background] }, layout: { item: 'menu-list-networks-item' } } }) LSD.Widget.Menu.List.Networks.Option = new Class({ Extends: LSD.Widget.Menu.List.Option, options: { attributes: { itemscope: 'true' } }, setContent: function(item) { this.parent('<h2 itemprop="title">' + item.name + '</h2>' + '<p itemprop="status">' + (item.online ? 'Connected' : 'Not connected') + '</p>'); } }); LSD.Widget.Menu.List.Networks.Button = LSD.Widget.Menu.List.Networks.Li = LSD.Widget.Menu.List.Networks.Command = LSD.Widget.Menu.List.Networks.Option