optimize setting page
This commit is contained in:
parent
a98a3233be
commit
bac2551547
|
@ -123,7 +123,11 @@ Aria2 RPC Secret Token=Aria2 RPC 密钥
|
|||
Aria2 RPC Address=Aria2 RPC 地址
|
||||
Global Stat Refresh Interval=全局状态刷新间隔
|
||||
Download Task Refresh Interval=下载任务刷新间隔
|
||||
Supported Placeholder: AriaNg Title ${title}, Downloading Count ${downloading}, Waiting Count ${waiting}, Stopped Count ${stopped}, Download Speed ${downspeed}, Upload Speed ${upspeed}.=支持的占位符: AriaNg 标题 ${title}, 正在下载数量 ${downloading}, 正在等待数量 ${waiting}, 已停止数量 ${stopped}, 下载速度 ${downspeed}, 上传速度: ${upspeed}.
|
||||
Supported Placeholder=支持的占位符
|
||||
AriaNg Title=AriaNg 标题
|
||||
Downloading Count=正在下载数量
|
||||
Waiting Count=正在等待数量
|
||||
Stopped Count=已停止数量
|
||||
You have disabled notification in your browser. You should change your browser's settings before you enable this function.=您已经在浏览器中禁用通知功能. 如需使用此功能, 请修改您浏览器的设置.
|
||||
Aria2 Version=Aria2 版本
|
||||
Enabled Features=已启用的功能
|
||||
|
|
|
@ -127,7 +127,11 @@
|
|||
'Aria2 RPC Address': 'Aria2 RPC Address',
|
||||
'Global Stat Refresh Interval': 'Global Stat Refresh Interval',
|
||||
'Download Task Refresh Interval': 'Download Task Refresh Interval',
|
||||
'Supported Placeholder: AriaNg Title ${title}, Downloading Count ${downloading}, Waiting Count ${waiting}, Stopped Count ${stopped}, Download Speed ${downspeed}, Upload Speed ${upspeed}.': 'Supported Placeholder: AriaNg Title ${title}, Downloading Count ${downloading}, Waiting Count ${waiting}, Stopped Count ${stopped}, Download Speed ${downspeed}, Upload Speed ${upspeed}.',
|
||||
'Supported Placeholder': 'Supported Placeholder',
|
||||
'AriaNg Title': 'AriaNg Title',
|
||||
'Downloading Count': 'Downloading Count',
|
||||
'Waiting Count': 'Waiting Count',
|
||||
'Stopped Count': 'Stopped Count',
|
||||
'You have disabled notification in your browser. You should change your browser\'s settings before you enable this function.': 'You have disabled notification in your browser. You should change your browser\'s settings before you enable this function.',
|
||||
'Aria2 Version': 'Aria2 Version',
|
||||
'Enabled Features': 'Enabled Features',
|
||||
|
|
|
@ -59,6 +59,8 @@
|
|||
}
|
||||
};
|
||||
|
||||
$('[data-toggle="popover"]').popover();
|
||||
|
||||
$rootScope.loadPromise = $timeout(function () {}, 100);
|
||||
}]);
|
||||
}());
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
<div class="row">
|
||||
<div class="setting-key setting-key-without-desc col-sm-4">
|
||||
<span translate>Page Title</span>
|
||||
<i class="icon-primary fa fa-question-circle"
|
||||
ng-tooltip="{{'Supported Placeholder: AriaNg Title ${title}, Downloading Count ${downloading}, Waiting Count ${waiting}, Stopped Count ${stopped}, Download Speed ${downspeed}, Upload Speed ${upspeed}.'| translate}}"
|
||||
ng-tooltip-container="body" ng-tooltip-placement="right"></i>
|
||||
<i class="icon-primary fa fa-question-circle" data-toggle="popover"
|
||||
data-trigger="hover" data-placement="auto right" data-container="body" data-html="true"
|
||||
data-content="{{('Supported Placeholder' | translate) + ':<br/>' + ('AriaNg Title' | translate) + ': ${title}<br/>' + ('Downloading Count' | translate) + ': ${downloading}<br/>' + ('Waiting Count' | translate) + ': ${waiting}<br/>' + ('Stopped Count' | translate) + ': ${stopped}<br/>' + ('Download Speed' | translate) + ': ${downspeed}<br/>' + ('Upload Speed' | translate) + ': ${upspeed}<br/>'}}"></i>
|
||||
</div>
|
||||
<div class="setting-value col-sm-8">
|
||||
<input class="form-control" type="text" ng-model="context.settings.title"
|
||||
|
|
Reference in a new issue