additionalDiskSection.tpl 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {**********************************************************************
  2. * ProxmoxCloudVps 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. <div class="lu-widget__body">
  23. {if $rawObject->isShowTitle() && (($rawObject->getRawTitle() || $rawObject->getTitle()) && $rawObject->isViewHeader())}
  24. <div class="lu-widget__header">
  25. <div class="lu-widget__top lu-top">
  26. <div class="lu-top__title">
  27. {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
  28. {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
  29. </div>
  30. <div class="lu-top__toolbar"><a href="#" id="pm-add-disk-button" data-toggle="lu-tooltip" class="lu-btn lu-btn--primary" data-title="{$MGLANG->T('Add New Additional Disk')}">
  31. <i class="lu-zmdi lu-zmdi-plus"></i>
  32. <span class="lu-btn__text">{$MGLANG->T('Add New Additional Disk')}</span>
  33. </a>
  34. </div>
  35. </div>
  36. </div>
  37. {/if}
  38. <div class="lu-widget__content lu-p-1x">
  39. <div class="lu-alert lu-alert--outline lu-alert--icon lu-alert--info lu-alert--bordered lu-m-b-0x lu-alert--dismiss mg-message ">
  40. <div class="lu-alert__body">
  41. {$MGLANG->T('additional_disk_add_info')}
  42. </div>
  43. </div>
  44. <div class="lu-widget hidden pm-disk-content-default" >
  45. <div class="lu-widget__body">
  46. <div class="lu-widget__header">
  47. <div class="lu-widget__top lu-top">
  48. <div class="lu-top__title">
  49. {$MGLANG->T('Additional Disk')}
  50. </div>
  51. <div class="lu-top__toolbar">
  52. <a href="#"
  53. class="lu-btn lu-btn--xs lu-btn--default lu-btn--icon lu-btn--link lu-btn--plain pm-delete-disk-button">
  54. <i class="lu-btn__icon lu-zmdi lu-zmdi-close"></i>
  55. </a>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="lu-widget__content lu-row">
  60. {foreach from=$rawObject->getFields() item=field }
  61. {$field->getHtml()}
  62. {/foreach}
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. </div>