-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (75 loc) · 3.63 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>EPGP</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="js/jquery.jatt.min.js"></script>
<script type="text/javascript" src="js/epgp.js"></script>
<!-- Choose from epgp-dark.css, epgp-light.css or make your own -->
<link type="text/css" href="css/epgp-dark.css" rel="stylesheet" >
<!-- demo styling -->
<style type="text/css">
h2, h3 { text-align: center; }
</style>
<script type="text/javascript">
jQuery(document).ready(function($){
// *** Standings ***
$('#epgp').epgp({
epgpfile : 'epgp.lua', // epgp.lua file name
guild : 'Wolfpax', // Guild name (include captial letters and any spaces in the name)
startEpgpHistory : 7, // EPGP Standings History - initial number of days to show prior to snapshot
startLootHistory : 7, // Loot History - initial number of days to show prior to snapshot
addSliders : true, // Add slider to adjust the changes in ep/gp (green & red values) or the loot history popup
maxHistory : 30, // Slider max number of days.
baseGP : '1', // Base GP
minEP : '0', // Minimum EP
decay : '15', // Decay
extras : '100%', // Extras - set here because it's not in the lua
lootIcon : 'images/plus.gif', // Icon to hover over to see a list of recent loot, styled in the css
sort : [3,1] // sort table by 3rd column (PR column, 0 indexed) in descending order (1).
}, {
wowhead : 'de' // German wowhead tooltips
});
// *** Loot ***
/* Add missing character class (e.g. outside of guild) or even override a character class, as follows:
var fix = [];
fix['Name'] = 'class';
fix['Another Toon'] = 'class2';
or use this format:
var fix = {
'Name' : 'class',
'Another Toon' : 'class2'
};
'Name' should be the exact name you see in the table (include capitals, special characters & spaces)
'class' = character class or defined CSS class (so you can add any color)
*/
var fix = [];
fix['Gildenbank'] = 'priest'; // Unknown class
// fix['Noriel'] = 'rogue'; // over-ride Noriel's class
$('#epgploot').epgp({
epgpfile : 'epgp.lua', // epgp.lua file name
guild : 'Wolfpax', // Guild name (include captial letters and any spaces in the name)
startLootHistory : 2, // Loot History - initial number of days to show prior to snapshot
lootOnly : true, // if true, will only display a loot history table
raidTime : 4, // Approximate raid time in hours (substracted from snapshot time to ensure loot drops are included)
fixClass : fix // fix class for toon not in the database (alt in a different guild)
}, {
wowhead : 'de' // German wowhead tooltips
});
/* tooltip script - http://github.com/Mottie/Jatt */
$.jatt({
direction: 's',
live: true
});
});
</script>
</head><body>
<h2><a href="http://github.com/Unrepentant/epgp">EPGP</a></h2>
<h3>Epgp Loot</h3>
<div id="epgploot"></div>
<br><hr>
<h3>Epgp Standings</h3>
<div id="epgp"></div>
</body></html>