Older/resources/webrtc.xml

149 lines
6.3 KiB
XML
Raw Permalink Normal View History

2025-01-12 00:46:14 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<messages>
<message id="Wt.WebRTC.Home">
<h1 class="bulma-subtitle bulma-has-text-centered">WebRTC 测试</h1>
2025-01-12 14:18:06 +08:00
<div class="bulma-block">
ID: ${localId}
</div>
${textBrowser class="bulma-textarea bulma-is-flex-grow-1"}
<h2 class="bulma-subtitle bulma-is-6 bulma-has-text-right bulma-mt-4">通过信令服务器发送 offer</h2>
<div class="bulma-field bulma-has-addons bulma-has-addons-right">
<div class="bulma-control">
${offerId class="bulma-input" type="text" placeholder="remote ID" disabled="true" }
</div>
<div class="bulma-control">
${offerBtn class="bulma-button bulma-is-info" disabled="true"}
</div>
</div>
2025-01-12 00:46:14 +08:00
<h2 class="bulma-subtitle bulma-is-6">通过 DataChannel 发送消息</h2>
2025-01-12 14:18:06 +08:00
<div class="bulma-field bulma-has-addons bulma-mb-6">
2025-01-12 00:46:14 +08:00
<div class="bulma-control bulma-is-expanded">
${sendMsg class="bulma-input" type="text" placeholder="message" disabled="true" }
</div>
<div class="bulma-control">
${sendBtn class="bulma-button bulma-is-info" disabled="true"}
</div>
</div>
</message>
2025-01-16 04:48:31 +08:00
<message id="Wt.Task.Home">
<h2 class="bulma-subtitle bulma-has-text-centered">任务清单</h2>
<div class="bulma-buttons bulma-is-right">
${add-new class="bulma-button bulma-is-success"}
</div>
${tasks}
</message>
<message id="Wt.Task.Item">
2025-01-17 17:56:03 +08:00
<div class="bulma-is-flex bulma-has-background-black-ter bulma-p-2 bulma-mb-1">
2025-01-16 04:48:31 +08:00
${finished-checkbox}
2025-01-17 17:56:03 +08:00
<div class="bulma-is-flex-grow-1 bulma-ml-2 bulma-is-flex bulma-is-align-items-center">
<span>${content}</span>
2025-01-16 04:48:31 +08:00
</div>
2025-01-17 17:56:03 +08:00
<!-- <div>${remark}</div> -->
2025-01-16 04:48:31 +08:00
<div class="bulma-buttons">
${remove-button class="bulma-button bulma-is-danger"}
${add-child class="bulma-button bulma-is-success"}
${collapse-button class="bulma-button"}
</div>
</div>
${children}
</message>
<message id="Wt.Task.Add">
<div class="bulma-field">
<label for="${id:task-content}" class="bulma-label">
${task-content-label}
</label>
<div class="bulma-control bulma-has-icons-left">
${task-content class="bulma-input" type="text"}
<span class="bulma-icon bulma-is-small bulma-is-left">
<i class="fa-solid fa-user"></i>
</span>
</div>
${task-content-info class="Wt-info bulma-help"}
</div>
2025-01-17 17:56:03 +08:00
<div class="bulma-is-flex">
<div class="bulma-field bulma-is-flex-grow-1 bulma-mr-1">
<label for="${id:task-deadlinedate}" class="bulma-label">
${task-deadlinedate-label}
</label>
<div class="bulma-control bulma-has-icons-right">
${task-deadlinedate class="bulma-input" type="text"}
<span class="bulma-icon bulma-is-small bulma-is-right">
<i class="fa-solid fa-calendar-days"></i>
</span>
</div>
${task-deadlinedate-info class="Wt-info bulma-help"}
</div>
<div class="bulma-field bulma-is-flex-grow-1 bulma-ml-1">
<label for="${id:task-deadlinetime}" class="bulma-label">
${task-deadlinetime-label}
</label>
<div class="bulma-control bulma-has-icons-right">
${task-deadlinetime class="bulma-input" type="text"}
<span class="bulma-icon bulma-is-small bulma-is-right">
<i class="fa-regular fa-clock"></i>
</span>
</div>
${task-deadlinetime-info class="Wt-info bulma-help"}
</div>
</div>
2025-01-16 04:48:31 +08:00
<div class="bulma-field">
<label for="${id:task-remark}" class="bulma-label">
${task-remark-label}
</label>
<div class="bulma-control">
${task-remark class="bulma-textarea"}
</div>
${task-remark-info class="Wt-info bulma-help"}
</div>
2025-01-17 17:56:03 +08:00
<div class="bulma-field bulma-is-grouped bulma-is-grouped-right">
<div class="bulma-control">
${submit-button class="bulma-button bulma-is-link"}
</div>
<div class="bulma-control">
${cancel-button class="bulma-button bulma-is-link bulma-is-light"}
</div>
2025-01-16 04:48:31 +08:00
</div>
</message>
<message id="Wt.Icon.Expand">
<span class="bulma-icon bulma-is-small">
<i class="fa-solid fa-angle-down"></i>
</span>
</message>
<message id="Wt.Icon.Fold">
<span class="bulma-icon bulma-is-small">
<i class="fa-solid fa-angle-left"></i>
</span>
</message>
<message id="Wt.Icon.Add">
<span class="bulma-icon bulma-is-small">
<i class="fa-solid fa-plus"></i>
</span>
</message>
<message id="Wt.Icon.Remove">
<span class="bulma-icon bulma-is-small">
<i class="fa-regular fa-trash-can"></i>
</span>
</message>
<message id="task-content">内容</message>
<message id="task-remark">备注</message>
2025-01-17 17:56:03 +08:00
<message id="task-deadlinedate">完成日期</message>
<message id="task-deadlinetime">&ensp;</message>
2025-01-17 02:55:03 +08:00
<message id="Wt.VisitorRecords.Home">
<h2 class="bulma-subtitle bulma-has-text-centered">访客数据统计</h2>
<div class="bulma-is-flex bulma-is-justify-content-space-between">
<div class="bulma-field bulma-has-addons">
<div class="bulma-control" style="min-width: 10rem">
${search-input class="bulma-input"}
</div>
<div class="bulma-control">
${search-button class="bulma-button bulma-is-info"}
</div>
</div>
<div class="bulma-field">
${remove-button class="bulma-button bulma-is-danger "}
</div>
</div>
${records}
</message>
2025-01-12 00:46:14 +08:00
</messages>