IncludeRoomHeader.txt 863 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---++ Список стоек
  2. %SEARCH{
  3. "Parent='%BASETOPIC%'"
  4. topic="Rack*"
  5. type="query"
  6. nosearch="on"
  7. nototal="on"
  8. header="|*Стойка*|*Description*|"
  9. format="| [[$topic][$formfield(Name)]] | $formfield(Description) |"
  10. }%
  11. ---++ Список оборудования в комнате вне стоек/ящиков
  12. |*Name*|*Model*|*Description*|
  13. %SEARCH{
  14. "(Place=~'%BASETOPIC%' or Parent=~'%BASETOPIC%') and not Rack"
  15. topic="*"
  16. excludetopic="Rack*"
  17. type="query"
  18. nosearch="on"
  19. nototal="on"
  20. noheader="on"
  21. format="| [[$web.$topic][$topic]] | $formfield(Vendor) $formfield(DeviceModel) | $formfield(Description) |"
  22. order="formfield(Name)"
  23. }%
  24. ---++ Добавить
  25. %INCLUDE{IncludeAddRack}%
  26. %INCLUDE{IncludeAddHardware}%
  27. %INCLUDE{IncludeAddSwitch}%
  28. %INCLUDE{IncludeAddRouter}%
  29. %INCLUDE{IncludeAddGateway}%
  30. %INCLUDE{IncludeAddUps}%
  31. %INCLUDE{IncludeImage}%