<!DOCTYPE HTML>
<!-- <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> -->
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="new-file-location.css">
    <script type="text/montage-serialization">
    {
        "hottextHeight": {
            "module": "js/components/hottextunit.reel",
            "name": "HotTextUnit",
            "properties": {
                "element": {"#": "templateHeight"},
                "minValue":25,
                "maxValue" :2000,
                "stepSize" :5,
                "acceptableUnits" : ["px"],
                "units" : "px"
            },
            "bindings": {
                "value": {
                    "boundObject": {"@": "owner"},
                    "boundObjectPropertyPath": "templateHeight",
                    "oneway": false
                }
            }
        },

        "hottextWidth": {
            "module": "js/components/hottextunit.reel",
            "name": "HotTextUnit",
            "properties": {
                "element": {"#": "templateWidth"},
                "minValue":25,
                "maxValue" :2000,
                "stepSize" :5,
                "acceptableUnits" : ["px"],
                "units" : "px"
            },
            "bindings": {
                "value": {
                    "boundObject": {"@": "owner"},
                    "boundObjectPropertyPath": "templateWidth",
                    "oneway": false
                }
            }
        },

        "fileInputField":{
            "module": "js/io/ui/file-picker/file-input-field.reel",
            "name": "FileInputField",
            "properties": {
                "element": {"#": "fileInputField"}
            }
        },

        "newFileName": {
            "prototype": "montage/ui/textfield.reel",
            "properties": {
                "element": {"#": "newFileName"}
            }
        },

        "owner":{
            "module": "js/io/ui/new-file-dialog/new-file-location.reel",
            "name": "NewFileLocation",
            "properties": {
                "element": {"#": "newfileLocation"},
                "fileInputField": {"@": "fileInputField"},
                "newFileName": {"@": "newFileName"}
            }
        }
    }
    </script>
</head>
<body>
<div id="newfileLocation" class="newfileLocation">
    <div class="templateSelection">
        <div class="template"></div>
    </div>
    <div class="locationSelection">
        <div>
            <span class="nameText">NAME:</span>
            <input id="newFileName" class="nj-skinned newFileName" type="search" value="" />
            <span class="fileExtension"></span>
        </div>
        <div>
            <span>DIRECTORY:</span>
            <div id="fileInputField"></div>
        </div>
        <br />
        <div style="display:none;"><span>WIDTH:</span><span class="templatePx" id="templateWidth"></span></div>
        <div style="display:none;"><span>HEIGHT:</span><span class="templatePx" id="templateHeight"></span></div>
    </div>
</div>
</body>
</html>