<div class="lu-col-md-12">
    <h3>{$MGLANG->tr('Create New Virtual Machine')}</h3>
</div>

<div class="lu-col-md-6">
    <div class="lu-widget">
        <div class="lu-widget__header">
            <div class="lu-widget__top lu-top">
                <div class="lu-top__title">
                    <span>{$MGLANG->tr('virtualMachineSettings')}</span>
                </div>
            </div>
        </div>
        <div class="lu-widget__body">
            <div class="lu-widget__content">
                {*name*}
                {$rawObject->getField('name')}
                {*type*}
                {$rawObject->getField('osTemplate')}
                {*description*}
                {$rawObject->getField('description')}
            </div>
        </div>
    </div>
</div>

<div class="lu-col-md-6">
    <div class="lu-widget">
        <div class="lu-widget__header">
            <div class="lu-widget__top lu-top">
                <div class="lu-top__title">
                    <span>{$MGLANG->tr('availableResources')}</span>
                </div>
            </div>
        </div>
        <div class="lu-widget__body">
            <div class="lu-widget__content">
                {foreach from=$customTplVars.bars item=bar}
                    <div class="lu-progress lu-progress--h lu-progress--s lu-progress__label">
                        <div class="lu-progress__label">
                            {$bar.name}
                            <i data-title="{$bar.used}/{$bar.max}{if $bar.unit} {$bar.unit}{/if}" data-toggle="lu-tooltip" class="lu-i-c-2x lu-zmdi lu-zmdi-help-outline lu-form-tooltip-helper lu-tooltip "></i>
                        </div>
                        <div class="lu-progress__bar progress-bar-danger">
                            <div class="lu-progress__fill" style="width: {$bar.value}%"></div>
                        </div>
                    </div>
                {/foreach}
            </div>
        </div>
    </div>
</div>



<div class="lu-col-md-12">
    <hr class="lu-m-b-2x lu-m-t-1x"/>
</div>