Skip to content

Commit a416066

Browse files
committed
add template
1 parent 5766f90 commit a416066

File tree

6 files changed

+80
-0
lines changed

6 files changed

+80
-0
lines changed

public/dagong/example.png

48 KB
Loading

templates/dagong/template.ass

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[Script Info]
2+
; Script generated by Aegisub 3.2.2
3+
; http://www.aegisub.org/
4+
Title: Default Aegisub file
5+
ScriptType: v4.00+
6+
WrapStyle: 0
7+
ScaledBorderAndShadow: yes
8+
YCbCr Matrix: TV.601
9+
PlayResX: 296
10+
PlayResY: 182
11+
12+
[Aegisub Project Garbage]
13+
Audio File: template.mp4
14+
Video File: template.mp4
15+
Video AR Mode: 4
16+
Video AR Value: 1.619565
17+
Video Zoom Percent: 2.500000
18+
Active Line: 2
19+
Video Position: 85
20+
21+
[V4+ Styles]
22+
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
23+
Style: sorry,WenQuanYi Micro Hei,23,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1.18696,0.593478,2,5,5,5,1
24+
25+
[Events]
26+
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
27+
Dialogue: 0,0:00:00.00,0:00:01.80,sorry,,0,0,0,,<%= sentences[0] %>
28+
Dialogue: 0,0:00:01.88,0:00:03.76,sorry,,0,0,0,,<%= sentences[1] %>
29+
Dialogue: 0,0:00:03.81,0:00:04.66,sorry,,0,0,0,,<%= sentences[2] %>
30+
Dialogue: 0,0:00:04.66,0:00:05.90,sorry,,0,0,0,,<%= sentences[3] %>
31+
Dialogue: 0,0:00:06.02,0:00:08.42,sorry,,0,0,0,,<%= sentences[4] %>
32+
Dialogue: 0,0:00:08.42,0:00:10.75,sorry,,0,0,0,,<%= sentences[5] %>

templates/dagong/template.mp4

322 KB
Binary file not shown.

templates/dagong/template_origin.mp4

535 KB
Binary file not shown.

views/dagong.erb

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<p>
2+
<label class="w3-text-blue">
3+
<b>第一句</b>
4+
</label>
5+
<input class="w3-input w3-border" name="first" type="text" placeholder="没有钱啊 肯定要做的啊">
6+
</p>
7+
8+
<p>
9+
<label class="w3-text-blue">
10+
<b>第二句</b>
11+
</label>
12+
<input class="w3-input w3-border" name="first" type="text" placeholder="不做的话没有钱用">
13+
</p>
14+
15+
<p>
16+
<label class="w3-text-blue">
17+
<b>第三句</b>
18+
</label>
19+
<input class="w3-input w3-border" name="first" type="text" placeholder="那你不会去打工啊">
20+
</p>
21+
22+
<p>
23+
<label class="w3-text-blue">
24+
<b>第四句</b>
25+
</label>
26+
<input class="w3-input w3-border" name="first" type="text" placeholder="有手有脚的">
27+
</p>
28+
29+
<p>
30+
<label class="w3-text-blue">
31+
<b>第五句</b>
32+
</label>
33+
<input class="w3-input w3-border" name="first" type="text" placeholder="打工是不可能打工的">
34+
</p>
35+
36+
<p>
37+
<label class="w3-text-blue">
38+
<b>第六句</b>
39+
</label>
40+
<input class="w3-input w3-border" name="first" type="text" placeholder="这辈子不可能打工的">
41+
</p>
42+
43+
<div id="result"></div>
44+
45+
<p>
46+
<button id="submit_btn" class="w3-btn w3-blue">生成</button>
47+
</p>

views/layout.erb

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<a href="/wangjingze/" class="w3-bar-item w3-button">王境泽</a>
1919
<a href="/jinkela/" class="w3-bar-item w3-button">金坷垃beta</a>
2020
<a href="/marmot/" class="w3-bar-item w3-button">土拨鼠beta</a>
21+
<a href="/dagong/" class="w3-bar-item w3-button">窃格瓦拉beta</a>
2122
<a href="/diandongche/" class="w3-bar-item w3-button">偷电动车beta</a>
2223
</div>
2324

0 commit comments

Comments
 (0)