This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (74 loc) · 5.45 KB
/
index.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
<!DOCTYPE html>
<html data-ng-app="formatter"><head>
<!-- Force latest IE rendering engine or ChromeFrame if installed -->
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Tree of Savior Formatter</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /> <!--bootstrap must come first to be overwritten-->
<link rel="stylesheet" type="text/css" href="files/style-0.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script type="text/javascript" src="files/app.js"></script>
<script type="text/javascript" src="files/stretchy.js"></script>
<script type="text/javascript" src="files/flowtype.js"></script>
<script type="text/javascript" src="files/autosize.min.js"></script>
<script type="text/javascript" src="files/fuzzyset.js"></script>
<script src="https://cdn.rawgit.com/alertifyjs/alertify.js/v1.0.5/dist/js/ngAlertify.js"></script><!--CREDIT Brad Berger & CONTRIBUTORS-->
</head>
<body data-ng-controller="lineDisplay as lines">
<div id="header">
<h1>Tree of Savior Formatter</h1>
</div>
<div id="wrapper">
<div id="drops">
<div id="drop-zone" class="drop-zone"><h1>File1</h1><h2>Drag & Drop or <input type="file" id="fileUpload"><input type="button" id="upload" value="Upload" /></h2><!--shows only when no file--></div>
<div id="drop-zone2" class="drop-zone"><h1>File2</h1><h2>Drag & Drop or <input type="file" id="fileUpload2"><input type="button" id="upload2" value="Upload" /></h2><!--shows only when no file--></div>
</div>
<div id="editors">
<!--<table data-ng-if="useCombined()">
<tr data-ng-repeat="line in lines track by $index"><td data-ng-click="select(lines,$index,'one')" data-ng-style="glowLine('one')"><span data-ng-if="!isSelected('one')">{{::line.one}}</span><textarea data-ng-enter="saveLine(lines,$index,'one')" data-ng-if="isSelected('one')" data-ng-model="selectedLine.text"></textarea></td><td data-ng-click="select(lines,$index,'two')" data-ng-style="glowLine('two')"><span data-ng-if="!isSelected('two')">{{::line.two}}</span><textarea data-ng-enter="saveLine(lines,$index,'two')" data-ng-if="isSelected('two')" data-ng-model="selectedLine.text"></textarea></td></tr>
</table>-->
<div id="editor" class="editor">
<!--<table data-ng-if="!useCombined()">
<tr data-ng-repeat="line in file1 track by $index" data-ng-click="select(file1,$index)" data-ng-style="glowLine()"><td><span data-ng-if="!isSelected()">{{::line}}</span><textarea data-ng-enter="saveLine(file1,$index)" data-ng-if="isSelected()" data-ng-model="selectedLine.text"></textarea></td></tr>
</table>-->
</div><div id="editor2" class="editor">
<!--<table data-ng-if="!useCombined()">
<tr data-ng-repeat="line in file2 track by $index" data-ng-click="select(file2,$index)" data-ng-style="glowLine()"><td><span data-ng-if="!isSelected()">{{::line}}</span><textarea data-ng-enter="saveLine(file2,$index)" data-ng-if="isSelected()" data-ng-model="selectedLine.text"></textarea></td></tr>
</table>-->
</div>
</div>
<div id="aides" data-ng-controller="aideCtrl as aideCtrl">
<!--<div class="right-bar" data-ng-class="{opac: aideCtrl.toggledOn2()}">
<div class="rbar-cutoff">
<span class="quest" id="party-quest">Party Quest (2)</span>
<span class="quest" id="charm-quest">Ameno's Quest</span>
<span class="quest" id="warp">Warp to completion area : Grow</span>
<span class="quest" id="sanzobar-quest">Spadow's Quest</span>
<span class="title" id="no-time">I have no time...</span>
<span class="small" id="quest-area">Area : Nefritas Cliff</span>
<span class="small" id="quest-what">Tree Guard Post<br>Enhancement against the<br> demon's soul</span>
<span class="small" id="quest-desc" data-ng-bind-html="renderQuestDesc(selectedLine.text)">Help Allen get rid of the demons around the Wooden Guard Post and charge its soul on the barrier.</span>
</div>
</div>-->
<div class="text-block" data-ng-class="{opac: aideCtrl.toggledOn()}">
<div class="dialog" data-ng-bind-html="renderDialog(selectedLine.text)">
<!--The eleders gave me many charms that will help me defeating the demons. <br> I hope they help me.---initial debug text, type on purpose-->
</div>
</div>
<div id="footer">
<button class="btn btn-default" data-ng-class="{ active: aideCtrl.toggledOn()}" data-ng-click="aideCtrl.toggle()">Show Dialogue Block</button>
<!--<button class="btn btn-default" data-ng-class="{ active: aideCtrl.toggledOn2()}" data-ng-click="aideCtrl.toggle2()">Show Quest Info</button>-->
<!--show book-->
<!--scan for dupicate lines-->
<button class="btn btn-default" data-ng-click="dupeScan()">Duplicate Lines Check</button>
<!--scan for too long without nl-->
<button class="btn btn-default" data-ng-click="nlScan()">Toggle {nl} Scan</button>
<!--export file1-->
<button class="btn btn-default" data-ng-click="export(1)">Export File1(left)</button>
<!--export file2-->
<button class="btn btn-default" data-ng-click="export(2)">Export File2(right)</button>
</div>
</div>
</div>
</body>