blob: 6e5563e929d921081107c08863cacf142eccfcde [file] [log] [blame]
<!doctype html>
<html i18n-values="dir:textdirection;lang:language">
<head>
<meta charset="utf-8">
<title i18n-content="titleText"></title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" type="text/css" href="nfc_debug.css">
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="strings.js"></script>
<script src="nfc_debug.js"></script>
</head>
<body>
<h1 i18n-content="titleText"></h1>
<p id="nfc-not-supported" i18n-content="notSupportedText"></p>
<div id="wrapper">
<div id="nfc-adapter-info" class="entity-div">
<h3 i18n-content="adapterHeaderText"></h3>
<div id="adapter-parameters"></div>
<div id="adapter-toggles">
<button id="power-toggle"></button>
<button id="poll-toggle"></button>
</div>
</div>
<div id="ndef-record-form" class="entity-div">
<h3 i18n-content="ndefFormHeaderText"></h3>
<select id="record-type-menu">
<option i18n-content="ndefFormTypeTextText" value="text"></option>
<option i18n-content="ndefFormTypeUriText" value="uri"></option>
<option i18n-content="ndefFormTypeSmartPosterText" value="smart-poster">
</option>
</select>
<div id="text-form" class="record-form">
<div>
<label for="text-form-text" class="required"
i18n-content="ndefFormFieldTextText">
</label>
<input type="text" id="text-form-text">
</div>
<div>
<label for="text-form-encoding" class="required"
i18n-content="ndefFormFieldEncodingText">
</label>
<input type="text" id="text-form-encoding">
</div>
<div>
<label for="text-form-language-code" class="required"
i18n-content="ndefFormFieldLanguageCodeText">
</label>
<input type="text" id="text-form-language-code">
</div>
</div>
<div id="uri-form" class="record-form">
<div>
<label for="uri-form-uri" class="required"
i18n-content="ndefFormFieldUriText"></label>
<input type="text" id="uri-form-uri">
</div>
<div>
<label for="uri-form-mime-type"
i18n-content="ndefFormFieldMimeTypeText"></label>
<input type="text" id="uri-form-mime-type">
</div>
<div>
<label for="uri-form-target-size"
i18n-content="ndefFormFieldTargetSizeText"></label>
<input type="text" id="uri-form-target-size">
</div>
</div>
<div id="smart-poster-form" class="record-form">
<div>
<label for="smart-poster-form-uri"
i18n-content="ndefFormFieldUriText"></label>
<input type="text" id="smart-poster-form-uri">
</div>
<div>
<label for="smart-poster-form-mime-type"
i18n-content="ndefFormFieldMimeTypeText"></label>
<input type="text" id="smart-poster-form-mime-type">
</div>
<div>
<label for="smart-poster-form-target-size"
i18n-content="ndefFormFieldTargetSizeText"></label>
<input type="text" id="smart-poster-form-target-size">
</div>
<div>
<label for="smart-poster-form-title-text"
i18n-content="ndefFormFieldTitleTextText">
</label>
<input type="text" id="smart-poster-form-title-text">
</div>
<div>
<label for="smart-poster-form-title-encoding"
i18n-content="ndefFormFieldTitleEncodingText">
</label>
<input type="text" id="smart-poster-form-title-encoding">
</div>
<div>
<label for="smart-poster-form-title-language-code"
i18n-content="ndefFormFieldTitleLanguageCodeText">
</label>
<input type="text" id="smart-poster-form-title-language-code">
</div>
</div>
<button id="record-form-submit-button"></button>
</div>
<div id="nfc-peer-info" class="entity-div">
<h3 i18n-content="nfcPeerHeaderText"></h3>
<div id="peer-parameters"></div>
<div id="peer-records-entry" class="records-entry">
<h3 i18n-content="recordsHeaderText"></h3>
<hr/>
<div id="peer-records-container"></div>
<hr/>
</div>
</div>
<div id="nfc-tag-info" class="entity-div">
<h3 i18n-content="nfcTagHeaderText"></h3>
<div id="tag-parameters"></div>
<div id="tag-records-entry" class="records-entry">
<h3 i18n-content="recordsHeaderText"></h3>
<hr/>
<div id="tag-records-container"></div>
<hr/>
</div>
</div>
</div>
<script src="chrome://resources/js/i18n_template.js"></script>
</body>
</html>