-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
109 lines (107 loc) · 5.23 KB
/
options.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
<html>
<head>
<script src='options.js'></script>
<script src='popup.js' ></script>
<script src='storelog.js' ></script>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div id="largeImage" class="divImg">
<img id="currentImg" alt="img">
</div>
<table style="width:1600px;"><tbody style="width:100%;">
<tbody>
<tr>
<td style="width:50%;padding-right:30px;">
<table>
<tr>
<td>
</td>
<td><img src="images/LogDog.png" height="128px"/></td>
<td><span style="font-size:2.4em;font-style:bold;" class="title" >LogDog</span> <br><span style="font-size:2.0em;font-style:bold;" class="title"> Logger For Dominion.Games</span></td>
</tr>
</table>
<div id="Description" style="text-align: justify;">
<p>LogDog is an open-source Chrome extension that will keep track of your games on <a href="https://Dominion.Games/">Dominion.Games</a>. Everytime you play a game of Dominion, LogDog will constantly keep track of the Log for you and store it locally in Chrome (the logs are not synced between computers!).</p>
<p>Now you can come back to your logs anytime in a manner of seconds and save them on your computer to do some fancy analysis yourself or copy the log to use it in other apps like <a href="http://www.windominion.com">Windominion.com</a>. </p>
<p>Just click on the LogDog logo next to your adress bar on the right, when you are on <a href="https://Dominion.Games/">Dominion.Games</a></p>
<p>This tool is intended for post-game analysis and does not provide any real-time analysis information.</p>
</div>
<div id="Settings" style="text-align: justify;">
<span style="font-size:2.0em;font-style:bold;" class="title">Settings</span>
<p>
<input type="checkbox" id="ignoreBotGames"> Do not save games against Bots
</div>
<div id="Backup" style="text-align: justify;">
<span style="font-size:2.0em;font-style:bold;" class="title">Backup</span>
<p>
<button id="backupLogs" title="Download All Logs to a json file on your computer">Backup All Logs</button>
<button id="loadBackup" title="Load a previous backup as json-file from your computer">Load Backup</button><input id="backup-file" type="file" accept=".json" style="display:none;">
</p>
</div>
<div id="Uninstall" style="text-align: justify;">
<span style="font-size:2.0em;font-style:bold;" class="title">Uninstall</span>
<p> If you want to uninstall this extension, go to <a id="chrome-extensions" href="#">chrome://extensions</a> and remove this extension. <span style="color:red;">Be aware that by removing this extension, all logs that have not been saved by downloading, will be lost permanently.</span></p>
<p>The source code for this extension is hosted on <a href="https://github.com/michaelgoetze/LogDog">GitHub</a></p>
</div>
</td>
<td style="width:50%;padding-left:30px;">
<table style="width:100%">
<tr>
<td style="width:50%">
<select id="playerSelect"></select>
</td>
<td style="width:50%">
<select id="dateSelect"></select>
</td>
</tr>
<tr>
<td colspan="2">
<select id="previousGames"></select><br>
</td>
</tr>
<tr>
<td colspan="2">
<button id="downloadLog" title="Download log to download folder as txt">Download</button>
<button id="copyLog" title="Copy Log to clipboard">Copy</button>
<button id="deleteLog" title="Delete the currently selected Log">Delete</button>
<button id="clearLogs" title="Delete all logs from chromes local storage">Clear All Logs</button>
<button id="changeNames" title="Correct the player names to the original ones (When loading logs from loadedgames in Dominion.games) ">Correct Player Names</button>
</td>
</tr>
<tr>
<td colspan="2">
<div id="tabpanel" style="margin-top:10px;">
<ul role="tablist" id="tablist">
<li id="link1" role="tab" aria-controls="LogTab" aria-selected="true">Log</li>
<li id="link2" role="tab" aria-controls="KingdomPanel" aria-selected="false">Kingdom</li>
<!--<li id="link3" role="tab" aria-controls="DeckPanel" aria-selected="false">Decks</li>
<li id="link4" role="tab" aria-controls="TrashPanel" aria-selected="false">Trash</li>-->
</ul>
<div id="tabcontent" style="width:95%">
<div class="dominionDiv" id="LogTab" role="tabpanel" aria-labelledby="link1" aria-hidden="false">
<div id="ResultPanel"></div>
<div id="LogPanel"></div>
</div>
<div id="KingdomPanel" role="tabpanel" aria-labelledby="link2" aria-hidden="true">
Available card set
</div>
<!--
<div id="DeckPanel" role="tabpanel" aria-labelledby="link3" aria-hidden="true">
Cards of each player
</div>
<div id="TrashPanel" role="tabpanel" aria-labelledby="link4" aria-hidden="true">
Trashed Cards
</div>
-->
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>