Files
agent/packages/uhk-web/src/app/components/device/configuration/device-configuration.component.html
Róbert Kiss f0139c55ee feat(user-config): Upload user configuration from json/bin file (#545)
* feat(user-config): Upload user configuration from json/bin file

* fix error message

* remove file extension filter

* apply user config after loaded from file

* add file filter

* remove file filter
2018-01-08 05:29:31 +01:00

34 lines
1.0 KiB
HTML

<h1>
<i class="fa fa-sliders"></i>
<span>Device configuration</span>
</h1>
<p>
The device configuration contains all the keymaps, macros, and settings that are stored on the device.
</p>
<ul class="list-unstyled btn-list">
<li>
Download device configuration in
<span role="button" class="btn-link" (click)="saveConfigurationInJSONFormat()">JSON</span> or
<span role="button" class="btn-link" (click)="saveConfigurationInBINFormat()">binary</span> format.
</li>
<li>
<label class="btn btn-default btn-file">
Upload device configuration
<input type="file"
(change)="changeFile($event)">
</label>
</li>
<li>
<button class="btn btn-danger"
mwlConfirmationPopover
title="Are you sure?"
placement="bottom"
confirmText="Yes"
cancelText="No"
(confirm)="resetUserConfiguration()">Reset device configuration
</button>
</li>
</ul>