{m.sensors_title()}

{#if motionPermissionAvailable || orientationPermissionAvailable}

{m.sensors_permissions()}

{/if}

{m.sensors_geolocation()}

{#if geoSupported}
{#if geoError}
{geoError}
{/if} {#if geolocation}
{/if} {:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_deviceMotion()}

{#if motionSupported}
{:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_deviceOrientation()}

{#if orientationSupported}
{:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_accelerometer()}

{#if accelerometer.supported}
{#if !accelerometer.active} {:else} {/if}
{#if accelerometer.error}
{accelerometer.error}
{/if} {:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_gyroscope()}

{#if gyroscope.supported}
{#if !gyroscope.active} {:else} {/if}
{#if gyroscope.error}
{gyroscope.error}
{/if} {:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_magnetometer()}

{#if magnetometer.supported}
{#if !magnetometer.active} {:else} {/if}
{#if magnetometer.error}
{magnetometer.error}
{/if} {:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_ambientLight()}

{#if ambientLight.supported}
{#if !ambientLight.active} {:else} {/if}
{#if ambientLight.error}
{ambientLight.error}
{/if} {:else}
{m.sensors_notSupported()}
{/if}

{m.sensors_barometer()}

{#if barometer.supported}
{#if !barometer.active} {:else} {/if}
{#if barometer.error}
{barometer.error}
{/if} {:else}
{m.sensors_notSupported()}
{/if}