Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import { $tp } from '../../../platform-i18n'
|
||||
import PlatformLayout from '../../../PlatformLayout.vue'
|
||||
|
||||
const props = defineProps([
|
||||
'platform',
|
||||
'config'
|
||||
])
|
||||
|
||||
const config = ref(props.config)
|
||||
const outputNamePlaceholder = (props.platform === 'windows') ? '{de9bb7e2-186e-505b-9e93-f48793333810}' : '0'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="mb-3">
|
||||
<label for="output_name" class="form-label">{{ $tp('config.output_name') }}</label>
|
||||
<input type="text" class="form-control" id="output_name" :placeholder="outputNamePlaceholder"
|
||||
v-model="config.output_name"/>
|
||||
<div class="form-text">
|
||||
{{ $tp('config.output_name_desc') }}<br>
|
||||
<PlatformLayout :platform="platform">
|
||||
<template #windows>
|
||||
<pre style="white-space: pre-line;">
|
||||
<b> {</b>
|
||||
<b> "device_id": "{de9bb7e2-186e-505b-9e93-f48793333810}"</b>
|
||||
<b> "display_name": "\\\\.\\DISPLAY1"</b>
|
||||
<b> "friendly_name": "ROG PG279Q"</b>
|
||||
<b> ...</b>
|
||||
<b> }</b>
|
||||
</pre>
|
||||
</template>
|
||||
<template #linux>
|
||||
<pre style="white-space: pre-line;">
|
||||
Info: Detecting displays
|
||||
Info: Detected display: DVI-D-0 (id: 0) connected: false
|
||||
Info: Detected display: HDMI-0 (id: 1) connected: true
|
||||
Info: Detected display: DP-0 (id: 2) connected: true
|
||||
Info: Detected display: DP-1 (id: 3) connected: false
|
||||
Info: Detected display: DVI-D-1 (id: 4) connected: false
|
||||
</pre>
|
||||
</template>
|
||||
<template #macos>
|
||||
<pre style="white-space: pre-line;">
|
||||
Info: Detecting displays
|
||||
Info: Detected display: Monitor-0 (id: 3) connected: true
|
||||
Info: Detected display: Monitor-1 (id: 2) connected: true
|
||||
</pre>
|
||||
</template>
|
||||
</PlatformLayout>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,46 +0,0 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import { $tp } from '../../../platform-i18n'
|
||||
import PlatformLayout from '../../../PlatformLayout.vue'
|
||||
|
||||
const props = defineProps([
|
||||
'platform',
|
||||
'config'
|
||||
])
|
||||
|
||||
const config = ref(props.config)
|
||||
const outputNamePlaceholder = (props.platform === 'windows') ? '\\\\.\\DISPLAY1' : '0'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="mb-3">
|
||||
<label for="output_name" class="form-label">{{ $tp('config.output_name') }}</label>
|
||||
<input type="text" class="form-control" id="output_name" :placeholder="outputNamePlaceholder"
|
||||
v-model="config.output_name"/>
|
||||
<div class="form-text">
|
||||
{{ $tp('config.output_name_desc') }}<br>
|
||||
<PlatformLayout :platform="platform">
|
||||
<template #windows>
|
||||
<pre>tools\dxgi-info.exe</pre>
|
||||
</template>
|
||||
<template #linux>
|
||||
<pre style="white-space: pre-line;">
|
||||
Info: Detecting displays
|
||||
Info: Detected display: DVI-D-0 (id: 0) connected: false
|
||||
Info: Detected display: HDMI-0 (id: 1) connected: true
|
||||
Info: Detected display: DP-0 (id: 2) connected: true
|
||||
Info: Detected display: DP-1 (id: 3) connected: false
|
||||
Info: Detected display: DVI-D-1 (id: 4) connected: false
|
||||
</pre>
|
||||
</template>
|
||||
<template #macos>
|
||||
<pre style="white-space: pre-line;">
|
||||
Info: Detecting displays
|
||||
Info: Detected display: Monitor-0 (id: 3) connected: true
|
||||
Info: Detected display: Monitor-1 (id: 2) connected: true
|
||||
</pre>
|
||||
</template>
|
||||
</PlatformLayout>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,38 +0,0 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import { $tp } from '../../../platform-i18n'
|
||||
import PlatformLayout from '../../../PlatformLayout.vue'
|
||||
|
||||
const props = defineProps([
|
||||
'platform',
|
||||
'config',
|
||||
'displays'
|
||||
])
|
||||
|
||||
const config = ref(props.config)
|
||||
const outputNamePlaceholder = (props.platform === 'windows') ? '{de9bb7e2-186e-505b-9e93-f48793333810}' : '4531345'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="mb-3">
|
||||
<label for="output_name" class="form-label">{{ $tp('config.output_name') }}</label>
|
||||
<input type="text" class="form-control" id="output_name" :placeholder="outputNamePlaceholder"
|
||||
v-model="config.output_name"/>
|
||||
<div class="form-text">
|
||||
<p style="white-space: pre-line">{{ $tp('config.output_name_desc') }}</p>
|
||||
<PlatformLayout :platform="platform">
|
||||
<template #windows>
|
||||
<b> DEVICE ID: {de9bb7e2-186e-505b-9e93-f48793333810}</b><br>
|
||||
<b> DISPLAY NAME: \\.\DISPLAY1</b><br>
|
||||
<b> FRIENDLY NAME: ROG PG279Q</b><br>
|
||||
<b> DEVICE STATE: PRIMARY</b><br>
|
||||
<b> HDR STATE: UNKNOWN</b>
|
||||
</template>
|
||||
<template #linux>
|
||||
</template>
|
||||
<template #macos>
|
||||
</template>
|
||||
</PlatformLayout>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user