-
Notifications
You must be signed in to change notification settings - Fork 1
/
contents-main.html
136 lines (129 loc) · 6.87 KB
/
contents-main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html ng-app="mainApp" message shortcut shortcut-hint menu drop-text-file recent-document after-render>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="script-src 'self'; style-src 'self' 'unsafe-inline'">
<title>MYukkuriVoice</title>
<script src="js/apps.main.preload.js"></script>
<link rel="stylesheet" href="node_modules/photon/dist/css/photon.css">
<link rel="stylesheet" href="node_modules/intro.js/minified/introjs.min.css">
<link rel="stylesheet" href="css/range.css">
<link rel="stylesheet" href="css/shortcut-hint.css">
<link rel="stylesheet" href="css/main.css">
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/angular-input-highlight/angular-input-highlight.js"></script>
<script src="node_modules/intro.js/minified/intro.min.js"></script>
<script src="js/models.main.js"></script>
<script src="js/service.aques.js"></script>
<script src="js/service.audio.js"></script>
<script src="js/service.command.js"></script>
<script src="js/service.data.js"></script>
<script src="js/service.intro.js"></script>
<script src="js/service.license.js"></script>
<script src="js/service.message.js"></script>
<script src="js/service.subtitle.js"></script>
<script src="js/service.util.js"></script>
<script src="js/services.main.js"></script>
<script src="js/directive.include.js"></script>
<script src="js/directive.drag.js"></script>
<script src="js/directive.afterrender.js"></script>
<script src="js/directives.main.js"></script>
<script src="js/stores.main.js"></script>
<script src="js/reducers.main.js"></script>
<script src="js/event.shortcut-hint.js"></script>
<script src="js/events.main.js"></script>
<script src="js/ctrl.main.js"></script>
<script src="js/apps.main.js"></script>
</head>
<body>
<div class="window" ng-controller="MainController as ctrl">
<header class="toolbar toolbar-header">
<div class="toolbar-actions">
<div class="btn-group" id="btn-group-audio">
<button class="btn btn-large btn-default" id="play" ng-click="ctrl.play()" ng-disabled="(!ctrl.store.yinput.source) && (!ctrl.store.yinput.encoded)">
<span class="icon icon-play"></span>再生
<label class="shortcut-hint">P</label>
</button>
<button class="btn btn-large btn-default" id="stop" ng-click="ctrl.stop()">
<span class="icon icon-stop"></span>停止
<label class="shortcut-hint">W</label>
</button>
<button class="btn btn-large btn-default" id="record" ng-click="ctrl.record()" ng-disabled="(!ctrl.store.yinput.source) && (!ctrl.store.yinput.encoded)">
<span class="icon icon-record"></span>記録
<label class="shortcut-hint">S</label>
</button>
</div>
<small id="duration">再生時間(秒):<span ng-bind="ctrl.store.duration | number:2"></span></small>
<button class="btn btn-large btn-default" id="always-on-top-btn" ng-click="ctrl.switchAlwaysOnTop()" title="前面表示固定のON/OFF切替">
<span class="icon icon-lock" ng-class="{active:ctrl.store.alwaysOnTop}"></span>
</button>
<div class="btn-group pull-right">
<button class="btn btn-large btn-default" id="dictionary" ng-click="ctrl.dictionary()">
<span class="icon icon-book"></span>辞書
</button>
<button class="btn btn-large btn-default" id="help" ng-click="ctrl.help()">
<span class="icon icon-help-circled"></span>ヘルプ
</button>
<button class="btn btn-large btn-default" id="shortcut" ng-click="ctrl.shortcut()">
<span class="icon icon-help-circled"></span>ショートカット
</button>
<button class="btn btn-large btn-default" id="tutorial" ng-click="ctrl.tutorial()">
<span class="icon icon-help-circled"></span>チュートリアル
</button>
</div>
</div>
</header>
<div class="window-content">
<div class="pane-group">
<div class="pane-sm sidebar">
<ul class="list-group" id="sidebar-items">
<li class="list-group-header">
<input class="form-control" id="filter-text" type="search" ng-model='filterText.name' placeholder="設定一覧絞り込み">
</li>
<li class="list-group-item voice-config-item shortcut-hint-box" ng-repeat="yvoiceItem in ctrl.store.yvoiceList | filter:filterText track by yvoiceItem.id" ng-class="{active:yvoiceItem.id == ctrl.store.curYvoice.id}" ng-attr-id="{{yvoiceItem.id}}">
<div class="media-body" ng-click="ctrl.select($index)">
<strong><span ng-bind="$index"></span>:<span ng-bind="yvoiceItem.name"></span></strong>
<div class="btn-group pull-right">
<button class="btn btn-default" id="copy" ng-click="ctrl.copy($index)" title="設定を複製します">
<span class="icon icon-plus-circled"></span>
</button>
<button class="btn btn-default" id="minus" ng-click="ctrl.minus($index)" ng-show="ctrl.store.yvoiceList.length > 1" title="設定を削除します">
<span class="icon icon-minus-circled"></span>
</button>
</div>
</div>
<label class="shortcut-hint" ng-bind="$index"></label>
</li>
<li class="list-group-item">
<div class="btn-group pull-right">
<button class="btn btn-large btn-default pull-right" id="plus" ng-click="ctrl.plus()">
<span class="icon icon-plus-squared"></span>設定追加
</button>
<button class="btn btn-large btn-default" id="save" ng-click="ctrl.save()">
<span class="icon icon-install"></span>設定保存
</button>
</div>
</li>
<li class="list-group-footer">
<button class="btn btn-large btn-primary pull-right" id="wav-draggable-btn" wav-draggable ng-disabled="!ctrl.store.lastWavFile" title="このボタンをドラッグアンドドロップすると、最後に作成した音声ファイルを取り出せます" ng-click="ctrl.quickLookMessage(ctrl.store.lastWavFile)">
<span class="icon icon-download"></span><span ng-bind="ctrl.store.lastWavFile.wavFileName||'drag and drop to movie editor'"></span>
</button>
</li>
<!-- for test -->
<li class="list-group-footer" ng-if="::ctrl.isTest">
<button class="btn btn-warning" id="show-system-window" ng-click="ctrl.showSystemWindow()">
<span class="icon icon-rocket"></span>system window
</button>
<button class="btn btn-warning" id="show-spec-window" ng-click="ctrl.showSpecWindow()">
<span class="icon icon-rocket"></span>spec window
</button>
</li>
</ul>
</div>
<div class="pane" static-include template-path="contents-main-player.html" ng-show="ctrl.store.display == 'main'"></div>
<div class="pane" static-include template-path="contents-main-settings.html" ng-if="ctrl.store.display == 'settings'"></div>
</div><!-- page-group -->
</div><!-- window-content -->
</div><!-- window -->
</body>
</html>