<commit_before><%@ page import="java.util.*" %>

<%@ page import="com.cloud.utils.*" %>

<%
    Locale browserLocale = request.getLocale();
    CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale);
%>
<!-- VM detail panel (begin) -->
<div class="main_title" id="right_panel_header">
    <div class="main_titleicon">
        <img src="images/title_instanceicons.gif" alt="Instance" /></div>
    <h1 id="vm_name">
        Instance
    </h1>
</div>
<div class="contentbox" id="right_panel_content">
    <div class="info_detailbox errorbox" id="after_action_info_container" style="display: none">
        <p id="after_action_info">
        </p>
    </div>
    <div class="tabbox" style="margin-top: 15px;">
        <div class="content_tabs on" id="tab_details">
            <%=t.t("Details")%></div>
        <div class="content_tabs off" id="tab_volume">
            <%=t.t("Volume")%></div>
        <div class="content_tabs off" id="tab_statistics">
            <%=t.t("Statistics")%></div>
    </div>
    <!--Details tab (start)-->
    <div class="grid_container" style="display: block;" id="tab_content_details">
        <div class="grid_rows odd">
            <div class="vm_statusbox">
                <div class="vm_consolebox">
                </div>
                <div class="vm_status_textbox">
                    <div class="vm_status_textline green" id="state">
                    </div>
                    <br />
                    <p id="ipAddress">
                    </p>
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Zone")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="zoneName">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Template")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="templateName">
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Service")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="serviceOfferingName">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("HA.Enabled")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="haenable">                   
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Created")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="created">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Account")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="account">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Domain")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="domain">
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Host")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="hostName">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("ISO.attached")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="iso">                    
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Group")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="group">
                </div>
            </div>
        </div>
    </div>
    <!--Details tab (end)-->
    <!--Volume tab (start)-->
    <div style="display: none;" id="tab_content_volume">
        <div class="grid_container" id="volume_tab_template" style="display: block">
            <div class="grid_header">
                <div class="grid_header_title" id="name">
                </div>
                <div class="grid_actionbox" id="volume_action_link" style="display: block;">
                    <div class="grid_actionsdropdown_box" id="volume_action_menu" style="display: none;">
                        <ul class="actionsdropdown_boxlist" id="action_list">
                            <li><a href="#">Delete </a></li>
                            <li><a href="#">Attach Disk </a></li>
                        </ul>
                    </div>
                </div>
                <div class="gridheader_loaderbox" style="height: 18px;">
                    <div class="gridheader_loader">
                    </div>
                    <p>
                        Creating Template &hellip;
                    </p>
                </div>
            </div>
            <div class="grid_rows even">
                <div class="grid_row_cell" style="width: 20%;">
                    <div class="row_celltitles">
                        ID:</div><commit_msg>Template for Error msg in Volume<commit_after><%@ page import="java.util.*" %>

<%@ page import="com.cloud.utils.*" %>

<%
    Locale browserLocale = request.getLocale();
    CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale);
%>
<!-- VM detail panel (begin) -->
<div class="main_title" id="right_panel_header">
    <div class="main_titleicon">
        <img src="images/title_instanceicons.gif" alt="Instance" /></div>
    <h1 id="vm_name">
        Instance
    </h1>
</div>
<div class="contentbox" id="right_panel_content">
    <div class="info_detailbox errorbox" id="after_action_info_container" style="display: none">
        <p id="after_action_info">
        </p>
    </div>
    <div class="tabbox" style="margin-top: 15px;">
        <div class="content_tabs on" id="tab_details">
            <%=t.t("Details")%></div>
        <div class="content_tabs off" id="tab_volume">
            <%=t.t("Volume")%></div>
        <div class="content_tabs off" id="tab_statistics">
            <%=t.t("Statistics")%></div>
    </div>
    <!--Details tab (start)-->
    <div class="grid_container" style="display: block;" id="tab_content_details">
        <div class="grid_rows odd">
            <div class="vm_statusbox">
                <div class="vm_consolebox">
                </div>
                <div class="vm_status_textbox">
                    <div class="vm_status_textline green" id="state">
                    </div>
                    <br />
                    <p id="ipAddress">
                    </p>
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Zone")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="zoneName">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Template")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="templateName">
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Service")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="serviceOfferingName">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("HA.Enabled")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="haenable">                   
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Created")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="created">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Account")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="account">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Domain")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="domain">
                </div>
            </div>
        </div>
        <div class="grid_rows even">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Host")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="hostName">
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("ISO.attached")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="iso">                    
                </div>
            </div>
        </div>
        <div class="grid_rows odd">
            <div class="grid_row_cell" style="width: 20%;">
                <div class="row_celltitles">
                    <%=t.t("Group")%>:</div>
            </div>
            <div class="grid_row_cell" style="width: 79%;">
                <div class="row_celltitles" id="group">
                </div>
            </div>
        </div>
    </div>
    <!--Details tab (end)-->
    <!--Volume tab (start)-->
    <div style="display: none;" id="tab_content_volume">
        <div class="grid_container" id="volume_tab_template" style="display: block">
            <div class="grid_header">
                <div class="grid_header_title" id="name">
                </div>
                <div class="grid_actionbox" id="volume_action_link" style="display: block;">
                    <div class="grid_actionsdropdown_box" id="volume_action_menu" style="display: none;">
                        <ul class="actionsdropdown_boxlist" id="action_list">
                            <li><a href="#">Delete </a></li>
                            <li><a href="#">Attach Disk </a></li>
                        </ul>
                    </div>
                </div>
                <div class="gridheader_loaderbox" style="height: 18px;">
                    <div class="gridheader_loader">
                    </div>
                    <p>
                        Creating Template &hellip;
                    </p>
                </div>
            </div>
            
            <div class="grid_rows success">
                <div class="grid_row_cell" style="width: 90%; border:none;">
                    <div class="row_celltitles"><strong>Message will appear here</strong></div>
                </div>
            </div>
            
            <div class="grid_rows error">
                <div class="grid_row_cell" style="width: 90%; border:none;">
                    <div class="row_celltitles alert" style="margin-left:10px;"><strong>Error Message will appear here</strong></div>
                </div>
            </div>
            <div class="grid_rows even">
                <div class="grid_row_cell" style="width: 20%;">
                    <div class="row_celltitles">
                        ID:</div>
{'fraction_non_alphanumeric': 0.16453278630543963, 'fraction_numerical': 0.007215109287684799, 'mean_word_length': 1.5409777138749101, 'pattern_counts': {'":': 0, '<': 389, '<?xml version=': 0, '>': 389, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2608564', 'n_tokens_mistral': 4326, 'n_tokens_neox': 4027, 'n_words': 781}