文件清理
This commit is contained in:
@@ -17773,7 +17773,7 @@ Vue.component("http-hls-config-box", {
|
||||
<table class="ui table definition selectable" v-show="isOn()">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title">启用HLS加密</td>
|
||||
<td class="title">启用HLS加密配置</td>
|
||||
<td>
|
||||
<checkbox v-model="encryptingConfig.isOn"></checkbox>
|
||||
<p class="comment">启用后,系统会自动在<code-label>.m3u8</code-label>文件中加入<code-label>#EXT-X-KEY:METHOD=AES-128...</code-label>,并将其中的<code-label>.ts</code-label>文件内容进行加密。</p>
|
||||
@@ -17806,6 +17806,7 @@ Vue.component("http-hls-config-box", {
|
||||
</div>`
|
||||
})
|
||||
|
||||
|
||||
Vue.component("http-host-redirect-box", {
|
||||
props: ["v-redirects"],
|
||||
mounted: function () {
|
||||
|
||||
@@ -17773,7 +17773,7 @@ Vue.component("http-hls-config-box", {
|
||||
<table class="ui table definition selectable" v-show="isOn()">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title">启用HLS加密</td>
|
||||
<td class="title">启用HLS加密配置</td>
|
||||
<td>
|
||||
<checkbox v-model="encryptingConfig.isOn"></checkbox>
|
||||
<p class="comment">启用后,系统会自动在<code-label>.m3u8</code-label>文件中加入<code-label>#EXT-X-KEY:METHOD=AES-128...</code-label>,并将其中的<code-label>.ts</code-label>文件内容进行加密。</p>
|
||||
@@ -17806,6 +17806,7 @@ Vue.component("http-hls-config-box", {
|
||||
</div>`
|
||||
})
|
||||
|
||||
|
||||
Vue.component("http-host-redirect-box", {
|
||||
props: ["v-redirects"],
|
||||
mounted: function () {
|
||||
|
||||
@@ -43,7 +43,7 @@ Vue.component("http-hls-config-box", {
|
||||
<table class="ui table definition selectable" v-show="isOn()">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title">启用HLS加密</td>
|
||||
<td class="title">启用HLS加密配置</td>
|
||||
<td>
|
||||
<checkbox v-model="encryptingConfig.isOn"></checkbox>
|
||||
<p class="comment">启用后,系统会自动在<code-label>.m3u8</code-label>文件中加入<code-label>#EXT-X-KEY:METHOD=AES-128...</code-label>,并将其中的<code-label>.ts</code-label>文件内容进行加密。</p>
|
||||
@@ -74,4 +74,4 @@ Vue.component("http-hls-config-box", {
|
||||
</table>
|
||||
<div class="margin"></div>
|
||||
</div>`
|
||||
})
|
||||
})
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
<table class="ui table celled selectable" v-if="policies.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>策略名称</th>
|
||||
<th class="three op">类型</th>
|
||||
<th>主要参数</th>
|
||||
<th style="width: 14em;">策略名称</th>
|
||||
<th class="op" style="width: 12em; white-space: nowrap;">类型</th>
|
||||
<th class="two wide">状态</th>
|
||||
<th class="two op">操作</th>
|
||||
</tr>
|
||||
@@ -21,19 +20,7 @@
|
||||
<span class="ui label tiny basic" v-if="policy.disableDefaultDB">停用默认数据库</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{policy.typeName}}</td>
|
||||
<td>
|
||||
<span v-if="policy.options == null" class="disabled">-</span>
|
||||
<span v-else-if="policy.type == 'es'">Endpoint: {{policy.options.endpoint}}</span>
|
||||
<span v-else-if="policy.type == 'file'">文件路径:{{policy.options.path}}</span>
|
||||
<span v-else-if="policy.type == 'tcp'">网络地址:{{policy.options.addr}}</span>
|
||||
<span v-else-if="policy.type == 'command'">可执行命令:{{policy.options.command}}</span>
|
||||
<span v-else-if="policy.type == 'syslog'">
|
||||
<span v-if="policy.options.protocol == 'tcp'">TCP {{policy.options.serverAddr}}</span>
|
||||
<span v-if="policy.options.protocol == 'udp'">UDP {{policy.options.serverAddr}}</span>
|
||||
<span v-if="policy.options.protocol == 'socket'">SOCK {{policy.options.socket}}</span>
|
||||
</span>
|
||||
</td>
|
||||
<td style="white-space: nowrap;">{{policy.typeName}}</td>
|
||||
<td>
|
||||
<label-on :v-is-on="policy.isOn"></label-on>
|
||||
</td>
|
||||
@@ -43,4 +30,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="page" v-html="page"></div>
|
||||
<div class="page" v-html="page"></div>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<first-menu>
|
||||
<menu-item code="hls" :href="'.hls?serverId=' + server.id">HLS设置</menu-item>
|
||||
</first-menu>
|
||||
<menu-item code="hls" :href="'.hls?serverId=' + server.id">启用HLS加密配置</menu-item>
|
||||
</first-menu>
|
||||
|
||||
@@ -10,11 +10,9 @@
|
||||
<form class="ui form" data-tea-success="success" data-tea-action="$">
|
||||
<csrf-token></csrf-token>
|
||||
<input type="hidden" name="webId" :value="webId"/>
|
||||
|
||||
<h4>HLS加密设置</h4>
|
||||
<http-hls-config-box v-model="hlsConfig" :v-is-location="true"></http-hls-config-box>
|
||||
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<first-menu>
|
||||
<menu-item code="hls" :href="'.hls?serverId=' + server.id">HLS设置</menu-item>
|
||||
</first-menu>
|
||||
<menu-item code="hls" :href="'.hls?serverId=' + server.id">启用HLS加密配置</menu-item>
|
||||
</first-menu>
|
||||
|
||||
@@ -3,14 +3,12 @@
|
||||
{$template "/left_menu_with_menu"}
|
||||
|
||||
<div class="right-box with-menu">
|
||||
{$template "menu"}
|
||||
<form class="ui form" data-tea-success="success" data-tea-action="$">
|
||||
<csrf-token></csrf-token>
|
||||
<input type="hidden" name="webId" :value="webId"/>
|
||||
|
||||
<h4>HLS加密设置</h4>
|
||||
<http-hls-config-box v-model="hlsConfig"></http-hls-config-box>
|
||||
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user