{block name="loader-preload"}{/block}

{block name="template-head"}
	{$CSS->load("ModulesAbstract/ImportedOrdersFileManager/View/_css/humanReadableFile.css")}
{/block}


{block name="operations"}
	<div class="operations optionsBox" data-path="{if $autoOpen}/{/if}{$filePath}">
		<ul class="submenu submenu-depth-0 Simple">
			{******************* DOWNLOAD FILE ********************}
			<li class="menuItem display-left"
				data-id="download"
				tooltip="<div class=' has-description'><div class='description'>{$absLang['fileOperations']['download']}</div></div>"
			>
				<var class="icon-export" data-icon="export"></var>
			</li>

			{******************* PARSE FILE ******************************}
			<li class="menuItem display-left"
				data-id="parse"
				tooltip="<div class=' has-description'><div class='description'>{$absLang['fileOperations']['parse']}</div></div>"
			>
				<var class="icon-settings" data-icon="settings"></var>
			</li>

			{**************** AUTO-OPEN FILE *****************************}
			<li class="menuItem display-left"
				data-id="autoOpenFile"
				tooltip="<div class=' has-description'><div class='description'>{$absLang['fileOperations']['autoOpenFile']}</div></div>"
			>
				<var class="icon-filter" data-icon="filter"></var>

			</li>
		</ul>

		<span class="filesize">({$filesize|formatFilesize})</span>
	</div>
{/block}

{block name="details"}
	<div class="label">
		<span>{if $autoOpen}/{/if}{$filePath}</span>
	</div>
{/block}

{block name="content"}
	<div class="tabs">
		<div class="tabs tabLabels">
			<ul class="tabLabels">
				{$separate=false}
				{foreach $fileDetailsTabs as $tabs}
					{if $separate}
						<li class="separator">|</li>
					{/if}
					<li class="tabLabel {if $tabs == $action}active{/if}" data-type="{$tabs}">{$absLang['tabs'][$tabs]}</li>
					{$separate=true}
				{/foreach}
			</ul>
		</div>

		<div class="tabs tabContents">
			{block name="messages"}
				<div class="messageDivContainer layout-inline">
					{foreach $messages as $msg}
						<div class="messageDiv {$msg->getType()}">
							<var class="icon"></var><span>{$msg->getText()}</span>
						</div>
					{/foreach}
				</div>
			{/block}

			{block name="tabContents"}{/block}
		</div>
	</div>
{/block}


{block name="loader-postload"}{/block}