<!doctype html>
<html>
<head>
<meta charset="utf-8">

    <link rel="stylesheet" href="PHXS/css/dark/main.css"/>

    <!-- AdobePatentID="P5086-US" -->
    <!-- AdobePatentID="P5087-US" -->

    <title></title>
</head>

<body ng-controller="purchaseCtrl" ng-class="cssClasses" lang="{{lang}}">

    <div id="content" class="purchase-dialog">
        <edgecc-modal-dialog show-dialog="stockPurchaseDialog.text" full-screen="true" on-submit="okCallback" on-cancel="cancelStockPurchase()" title-text="{{stockPurchaseDialog.title}}" ok-text="{{stockPurchaseDialog.okText}}" cancel-text="{{stockPurchaseDialog.cancelText}}" secondary-ok-text="{{stockPurchaseDialog.secondaryOkText}}" error-mode="isErrorMode" disable-ok="library && !library.isWritable">
            <div class="panel-dialog-layout-100" ng-bind-html="stockPurchaseDialog.text"></div>
        </edgecc-modal-dialog>
        <div class="purchase-dialog-icon">
            <img ng-if="!isErrorMode" src="images/stock_logo.png"></img>
            <span class="edgecc-icon panel-dialog-error-color" style="display: none" ng-style="isErrorMode ? {'display': 'block'} : {'display': 'none'}">newalert</span>
        </div>
        <div class="purchase-dialog-divider"></div>
        <div class="purchase-dl-dropdown-container" ng-show="chooseLibraryMode">
            <edgecc-select class="panel-library-combo" ng-disabled="!libraries || libraries.length === 0" ng-model="library" options-array="libraries" display-field="name" order-by="{{uiState.librarySortFunction}}" max-height="60" library-selection-only-mode="true">
            </edgecc-select>
        </div>
    </div>
    <div class="purchase-dl-stock-spinner" ng-if="showSpinner"><img src="images/wait_32.gif"/></div>

    <!-- rename require before loading requireJS, so we can access node modules -->
    <script type="text/javascript">window.nodeRequire = window.require</script>

    <script src="js/main.js"></script>


</body>
</html>
