generalSection.tpl 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {**********************************************************************
  2. * ProxmoxAddon product developed. (2017-10-06)
  3. * *
  4. *
  5. * CREATED BY MODULESGARDEN -> http://modulesgarden.com
  6. * CONTACT -> contact@modulesgarden.com
  7. *
  8. *
  9. * This software is furnished under a license and may be used and copied
  10. * only in accordance with the terms of such license and with the
  11. * inclusion of the above copyright notice. This software or any other
  12. * copies thereof may not be provided or otherwise made available to any
  13. * other person. No title to and ownership of the software is hereby
  14. * transferred.
  15. *
  16. *
  17. **********************************************************************}
  18. {**
  19. * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
  20. *}
  21. <div class="lu-widget">
  22. {if ($rawObject->getRawTitle() || $rawObject->getTitle()) && $rawObject->isViewHeader()}
  23. <div class="widget__header">
  24. <div class="lu-widget__top lu-top">
  25. <div class="lu-top__title">
  26. {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
  27. {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
  28. </div>
  29. </div>
  30. </div>
  31. {/if}
  32. <div class="alert alert--sm alert-warning alert--faded datatable-alert-top">
  33. <div class="alert__body">
  34. {$MGLANG->tr('alertWarning')}
  35. </div>
  36. </div>
  37. <div class="lu-widget__body">
  38. <div class="lu-widget__content">
  39. {literal}
  40. <pre>#cloud-config
  41. hostname: {$domain}
  42. manage_etc_hosts: true
  43. fqdn: {$domain}
  44. user: {$username}
  45. password: {$passwordHash}
  46. chpasswd:
  47. expire: False
  48. users:
  49. - default
  50. package_upgrade: true</pre>
  51. {/literal}
  52. {foreach from=$rawObject->getFields() item=field }
  53. {$field->getHtml()}
  54. {/foreach}
  55. </div>
  56. </div>
  57. </div>