Merge pull request #34 from br0xen/master

Better mobile formatting
This commit is contained in:
Brian Buller 2018-06-18 09:19:34 -05:00 committed by GitHub
commit 1623fa279d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 259 additions and 206 deletions

View File

@ -141,9 +141,15 @@ func handleAdminVotes(w http.ResponseWriter, req *http.Request, page *pageData)
Results []Ranking
}
vpd := new(votePageData)
now := time.Now()
dayThresh := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, now.Location())
for i := range m.jam.Votes {
v := new(vpdVote)
v.Timestamp = m.jam.Votes[i].Timestamp.Format(time.RFC3339)
if m.jam.Votes[i].Timestamp.Before(dayThresh) {
v.Timestamp = m.jam.Votes[i].Timestamp.Format("Jan _2 15:04")
} else {
v.Timestamp = m.jam.Votes[i].Timestamp.Format(time.Kitchen)
}
v.ClientId = m.jam.Votes[i].ClientId
for _, choice := range m.jam.Votes[i].Choices {
for _, fndTm := range m.jam.Teams {

286
assets.go
View File

@ -192,43 +192,46 @@ var _escData = map[string]*_escFile{
"/assets/css/admin.css": {
local: "assets/css/admin.css",
size: 291,
modtime: 1517696170,
size: 252,
modtime: 1529324817,
compressed: `
H4sIAAAAAAAC/2TPwWoDIRAG4LtPMZCzIWnpYXev+yKuWjtUZ2QcS6Dk3YtJWNrm+vvp/xvw6+iZNJLC
twEoThKSzfFdZzi/neplMVdjBttYlYtt1fn4297zoR8YSzrqRy8bOcw36bs0lhkqI2mU/UmJrWdtdixw
SFFuemMJUWY41ws0zhjgME3Tsp9YcQF7m+F1FAJszn8m4U7Bes6j57Cu6/K88OV0v1BdCEjp8cv/6V99
NT8BAAD//49jsTYjAQAA
H4sIAAAJbogA/2SOzarDIBCF9z7FQNaGm3u5iyTbvIhRa4eqI6OWQMm7Nz9QKNl+8805x+CznakUCjIn
pS28BEBQ7DDKkw/Q/adlFKsQGFxb7jXMUaE/TF05Ew+QCGOxfFh7JNtcfclSUywKo+XDnomN3ewuLZDJ
o4Gm7/vxc5GsDNY8wN9euFGlH46pRrMF+b2nmaZpvC78/TkfkjIGo5Pe3sqVftureAcAAP//BQCMs/wA
AAA=
`,
},
"/assets/css/gjvote.css": {
local: "assets/css/gjvote.css",
size: 4497,
modtime: 1517698891,
size: 5010,
modtime: 1529328784,
compressed: `
H4sIAAAAAAAC/6xX62rcOBT+n6cQhEICK2OnmSZxICz08gL9WfpDtjT2IbJkZHlm0pJ3X3TzWLY8XZaF
BMY6F53Ldy5qdcfR7yuEOhC4ZdC0ukRFnn94vnq/uqokfbPUWnKpSnT98PDwvMVMLKdmJ40pq6UiGqQo
kZCCWTqFQ1ZLoZnQlrMnlIJoSlTs+lNa63RxxUn9OmlpCd9bFUegui3RzluQtYxQppw/RDUgMGd7XaLc
kfcE31niXgqNB/jFSnTHOkfsFXRExe7m+cMje4jouGosS0Xq10bJUVCc4mZKSRXp+vIlz/N8Rr2gacZ7
BaIfdbYHzuKoZTvWoeyTMR8hCkPPyVuJQHAQDFdcmnghVElFmSpR0Z/QIDlQdF3XtaOc8NASKo9GamAa
5ZbrY39C15TSszRWhMI4lOje5Ok9mKSIeAXRYPsVp8PlcyG9m59GFn3+/Pk5QIdwaESJaiY0Uw6Eo9ZS
ZMNYdaDxQWoTCGNF1skDw1BL4QI9qsFETwxYMZNcK33dMTHOrQvICki799b2cgCHWMU40XBgz1FySnRd
PBWPxaM5PrLqFTSWB6b2XB7xUCvJuc2LlmPdzq7O+lExbH5iA08QLusbGUuJCWlYXlOFGKOhWIBhQsFG
USJ0bEEzPPSkZubwqEg/t8Fe7+KfMjoOG6kGyUdtT7XsS+QDq1yc/ZevS8tQxGcqlL479a5aE58vdhZv
p9RadlGqF0h0l06485oX7poWRUD4NjJ5HCKW9jf20d4TcJUo74CjrZtfRr7VGWaithNKBb+MGPcQtHIT
LE8lcseubLsm0+3YVYKAY5x125CJ06oFm7OodkzEJz1b8Zqwt1SXcOrr168zMLs03eW+2WT+OO5+u0C1
2J11/CUJD0DZsB4JuxT0FqIHpjTUhM+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XgBwu0RNutkQPzmUeagxI31zXgzvK5kOiC9pCxWvph0lX0tJafe1cQntJ7ZeMO+qNYhn
VD1AX/sZ9amwc7kITZ1Ld81q5Hww5+dd8FUixr+fcGK2JCkQ1swpHp4XcNM2yJBKyBaZqfqbz5Lvh06o
19/US0+/X+V+VedSZmjty8dqgP3nbrfTN9kJ3vQpGU5MNxvfhf5oKWEYvdaPsmmTtldG+jRUL2etpT9D
F1bsSM3TAq7wehZjZmLsWohPY8fsAOvgJszvI2wOiFGyGBZTJiQAz8KsM8PWHLdglQcv0FmVnLQbQUND
qMeNEw1fpDdnUYTES1s46Q5eob/pg1EndJSZ6RrGsqTDsK7t+voOV3fr2kDfuzfoa6vHDpu9A3rzzhPN
5SPuCHBuyuT3O/2wuXKj5ZPNDx16GGozfX+POC4oz/2a+XIYl+OThgFBgvfUS3Ya0pJ082JD68ekQIzQ
Co/8pFBR3GYt7nBNgV3KcXlY4ohgrJx6CPtkzCQ7+thX3uRQhWFQgzEKK+vct+j0Klhz8Cmp5x4O/0Kz
zuD/PRpJN5+iEXLnz5N1UEv/BuPG9t/bOSMYutkb65G9wWn7DT2DkrhP6PxwE6r8yxbZpcpQT3DknwAA
AP//znRJ1pITAAA=
`,
},
@ -323,27 +326,28 @@ H4sIAAAAAAAC/wEAAP//AAAAAAAAAAA=
"/assets/js/gjvote.js": {
local: "assets/js/gjvote.js",
size: 3561,
modtime: 1517696170,
size: 3874,
modtime: 1517841211,
compressed: `
H4sIAAAAAAAC/6xXTW/jNhO++1fM6z1QQhJBeYGiQFztYrvdogWS3QLJLciBJkcyG4pURcpZIZv/XpD6
sCRL+WibQ2xpnpmHfGbIGaeVYlZoBVZnmcSPPBfqD6pQBiE8rgD2tIQcVQUJcM2qHJWN/qqwrK9RIrO6
DMg7ZyfhZgUg0sA9RExSYy6FsRHTylKhTEB2gnNUJGziwnI4SWtd2ffeFZUlYWRsLTHKaZkJdYmpTcj5
D3HxjWx8oAljibne44HPgZ4ApcH/gjieJ6WcT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cbN6/NV4Fi4Rhcuib2friNb+Ohw2UCGmqMGNC/YufFUqfcmFDL3DhyLrpfW
jim2ZJxpewXYb7y6G+qbT6WF5PxextNLMkVD/r7CTQbVvvqxRTXsUL0rX7vN6m6LXqLoL46Onp23VUr/
YLvzITXpN8nD1EPcaicrVihtC+ImsyesbpG6XEGdwK0A+k9sz80tKEXXEG/V+pKkvN4yuBzI5+W/eLIk
eSG11PscEi3vdMHEOkkp57EBkwn5yRyWD9JiyfuioPvHiDgfDWRBHuz/R7fZTF5WhvrEsZcZ9w2mKrD9
2NnN6K4VHO9C5Artv8pE95RCKL4rzcrtQ0InXoWpWk3iFMA+W8yMYENFxqGT0n63BxBN278yIVifvrft
CbyiGVapPYGx1PdsC3h0xiiCz2Wn8pdkNp1OAx0SwH6/w0bF5Mv83DlOYXO2GQD+dhsjj4PP5u09hA/e
4hQJxNX/CRWslJ30aOOKTJPpzE3FYJz1xDPJaVMTrvH/AQAA//+UxSw9Ig8AAA==
`,
},
@ -11942,67 +11946,69 @@ NeurW5vrS2g3c+5HAAAA//8MM1iJSgMAAA==
"/templates/admin-clients.html": {
local: "templates/admin-clients.html",
size: 1023,
modtime: 1517696170,
size: 1173,
modtime: 1529329301,
compressed: `
H4sIAAAAAAAC/5RTTYvbMBC951cMJsc6gh6LIigNhdAS9tA99DjxjGOBIgV51iWI/Pcif2zjbLJlcwjz
8UZ+b/SUEtgafBBY/eLjyaHwBgVX35xlLy1cLgtNtoPKYduui/aEFZcdR7EVusLsAiCRFRs8OqjGoQY7
hj2zB3yRhn0GC5NWZDuzSAnYtdwfLbh3DJbWxThb9pXi9XshDpDTS+TyNiz3IRJHJqjYC8fCLAC0NIyU
o/zTEqdwSBvzPVr25M6wwyNrJc0tYNAO28295k9sBX748MfD9uke4Otc8lvAdU2rgV+ujay17AOdJ0BK
ENEfGJb2Eyw7+LJ+eFHwSDKZlGDZrbJeuFy0EroPeH7ebt4FbJ8et22dEVl95vKbW/h30bALfebpwfxV
2mueHTZraoQmcr0uFNLRejX6Rs0UKOLsvFcbnaI9YjwXRtupVCPUWH7OfxIOB8dl8IXRyhqt8A2fybAf
ZzLjwTGG+B8Wdf0OjX6B17u72uXkpVusVqOjtOpfzfACh+7fAAAA///E71UP/wMAAA==
H4sIAAAJbogA/5RUwYrbMBC95ysGkUMLdQQ9FsWwNJfQsuyhe+hxEo0TgSwZSesSlv33jqI4jd1smwRi
xqN5M8/znv36CqYB5xMsflDbWUy0woSLr9aQSxHe3mZKmx62FmNcitjhlqqeQjJbtKJ+9IBam2S8Q8tF
BbTHnmBD5ABf0p5TXJxIK8md6hmPJBvp2DrhxhIYvRQnbHXMiPM8H0pJ9xKomobVxgdNgTRsGUtB1DMA
xRNR5yj/VApDWG739QNzUpKDSf4RW7qSH6h4Zw+VxbAjUZftwHp1Y/13jAm+Of/LwfrpRszDeHV/MBwf
nynnTk+q0sbrw1DACw7odgRz8wnmPXxZvisuvLcmfXl7bMk2mfeLzCord3moEPaBmqWQqFvj5ElKySBG
PD+vV4yQmrIZzsp2wbQYDqJWZkg1CA1Wn/Ml+d2O9fWOz6XhP/7FZ/DQ/UxGPCgEH/7Domn+QcPpMQuW
RU93WeZng3Gt6kZyxxYtv0kfRhw/KtnVVzpdM8oIeBdm/XQXYuQA+EnxQgbgL8F5G5ctB7dO18X54lkO
8rtcvgvl9HcAAAD//w5BhnqVBAAA
`,
},
"/templates/admin-editteam.html": {
local: "templates/admin-editteam.html",
size: 13682,
modtime: 1517696170,
size: 13866,
modtime: 1529328971,
compressed: `
H4sIAAAAAAAC/+xbW4/buBV+z69g1QCy0bG1RXbz4Fs3yWSDAMm22Jk8FLv7QIvHEjsUJZCUJ1PD/70g
KcmkLNmaySRB0OxDxubl3Ph95xxK3t0OPS1LStBsiabXkBUMK7jECk8/fHh7ifb7JwtCtyhmWMplEANX
IILVE4T0sP6L0CJ9troGnKH3mOMEMuBqEaXPqsl1qVTOESXLAAhVEwU4m9jBAOU8ZjS+WQb/wVssY0EL
NUtylWtx13g9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SXaQ+a2OfWQuTZ9qpk2RK0f+H1tNr9As2n/xPJP22X2wrH9Q1PVUIIzb+GIP8cRSLh8
mg42bO2fglp6c/Xq7ZNUO36++VlMCLx16tXvoR6UiLYqld2H6Wm/5h3S1+2HOz++/VpVvmBVaX4C/T9W
WZ6Ann3F5VOL1peqLI8oB86y8rgK9XSVxfid/Nfa8gVri/nvFb5Wlz9R6/IkBexzVZenblrc1aquLlA6
Wq8V5nvM92gN56X/j9WRr8SKc0st0XRRS+lZR1GLP+dnq6B6Q/rfAAAA//87Zk/nKjYAAA==
`,
},
@ -12027,14 +12033,14 @@ tlNKdgYAAA==
"/templates/admin-games.html": {
local: "templates/admin-games.html",
size: 507,
modtime: 1517696170,
size: 592,
modtime: 1529329086,
compressed: `
H4sIAAAAAAAC/3SRvW7DMAyE9zzFwcjY2HsheyrQLUvzArR1jQ3YUiCpBgrB715I6k/aNNuJH0kdyRgx
vcLYgPrE5TJL4JMEqU+UxWPbdkpPa3e0OMtCj1FWoicNBkcJ1KpJfBcjOHvmgiD9TEy6rXLNIb8rDLN4
31beupJweXM8/JWH3jpNR42BJtBV3Q5QYaTopJJ2ReRw9ywLcZSFqgnjNUj+/wUvgyONH23wP0g1pW2K
fH6lQm/1e8Exwok5E/vpAfsVj+2dbeHWo+5ixH6tk9M6GcK2qSbo24z7cKb5bnHl/1fy1wjZLY1Op8jR
MoZq8n7LpQr9CAAA//9TakiY+wEAAA==
H4sIAAAJbogA/3RRQW/zIAy991dYqMcvzf0T5TRpt162P2CKl0QiEAGLFFX97zPQqE3XXdCz3zN+ti8X
GL7A+QSHTxoni4neMCEHOEa4XnfSDLM6eehwpAg9zgSayME5EGuNbDO/42/IRioFCbUlGMxRlJqmxALO
FmM8iuhDFUzfgZpn2GgfDAUycCaXKAi1A5CpJzQZZRwqKGn1zh3gxI9sOboTazfv7NJYDB0JlUd6pVUf
PAu52PsU7xSj0ilnbt1l0t4sleaBA7qOYD/8g/0M/49/LBB+2zaKq/fzIZs/ZEMsk9PGchzRWqH0InWA
9qZfpe2k2JV5+PDVuE81G30mLR9xNfGwgY14XUKZl5zJ9y3ZuggG+Wj1/JX9CQAA//9YnNSjUAIAAA==
`,
},
@ -12054,17 +12060,17 @@ vh6n2F5nK55X3h/q0K8AAAD//5F9arwmAwAA
"/templates/admin-main.html": {
local: "templates/admin-main.html",
size: 1541,
modtime: 1517696170,
size: 1534,
modtime: 1529324657,
compressed: `
H4sIAAAAAAAC/6yTT4/aMBDF7/spphESlybZP7dViISo1FP/aEvb85AMibXOmNqTIITy3SsnAUGX7SKW
C0OS5+fn+Y2TXDWQaXRuEmSGhViC9AbAv/cVICkf0u/1QqsMvpickrh8GD4sahHDYDjTKnueBGvFuVlH
2mQoynBUWlpOxjHmleK4MjnFt+Ngt9mqthT2DqGYotAULpV1AgcfYLsFtQT6A1GfwAeAW2jbw9Urqyq0
m+0WiHNo2yD9jUoUF0ncKy6Oe/ffuBrPSXv3Ztpf5t+wSTx0P/kQhi9gTLU2a8qhXwdzspVi1O5SMlhL
+U4601rKM9l8Y70BrycWlaFQDjOtiMW9B9f+DBcj2x/hbWBT3gyZYYbsOdBJemHof1+digHsLq4lV2tx
ob+FqJhsfw/L+3RWW+s3e+oVSVzeD8YWuSAYqY8wauBxAtGcqpVGoU8o2G9xqBMvlE45aqI5YeV2ok42
aqIn5Gdo28fuUZroK1YEbZssLMTpzq5vxM3x//2xj14eT65nBT8o8wBPzOtLcMGZ/Bsj5MbdXaJXBuly
c/GNGgdp17BrmxdYdck/+3pt89qR9eY/fT0xo0P5GwAA//8pWoRoBQYAAA==
H4sIAAAJbogA/6xTTW/bMAy991dwRoBcJrvtboVtIMiAnfaBrtvOis3YQmUpk2QHQdH/Psqyg2RN28Dt
xbLIp6dHPiotRQeF5NZmUZRfAPiAX+mv/pT/aFdSFPBVl5gmtA+JVeucVqBVQcn7LNoKVeptLHXBndAq
rg2us3nCy0aopKGzyeU8Gm/ZtAZZYGBOV5VEthbGOjhIwMMDiDXgX4iDAi8ALuHx8fD0xoiGmx1hUZWU
i/I/XDihqjQJiMlyr16US4kz1F69qva3/l9smgzdTz8w9sSMhZR6iyWEc3CHhgRzaac6w1tXv9GdBVGc
6c13JXfg8aicIDlUyFIK2ti32LWvYbJl+xJeN2yhdoNmWHLlfcCT7jHmv89OxWDsKNegbaWzrNDKcaHQ
hHdYX+fL1hh/2W1AkM/XA7HhqkKYiY8w6+Amg/gOm42kpn7mjocrDnHOA12PnHWE5Y0dQT2Mgrdc3VPs
pt+6Lv7GG6R9ujKQ5CNdaMTF8f++7KPg8eR6r+AnFt7AE/P61LjoTP878sDO+7eEzwzSdHLnG0XkfcPe
m7yiBnvyL359b/LWovHkv/x6YkaH5V8AAAD//6BFHFz+BQAA
`,
},
@ -12079,17 +12085,17 @@ H4sIAAAAAAAC/wEAAP//AAAAAAAAAAA=
"/templates/admin-teams.html": {
local: "templates/admin-teams.html",
size: 1090,
modtime: 1517696170,
size: 1248,
modtime: 1529326977,
compressed: `
H4sIAAAAAAAC/5xT0arbMAx971eI0Melfh+u4cKFMdju070foETqjZnjBFvNGCH/Pmw3W1vSjS1Pknws
6Zwca7ITtA5jPFbNIDL0dRyxZWjZC4fK7AA0gqVj1Yh/Inpl7Kv1xngOXDdnkcHDVVzHc9tyjBV0gU/H
SiH11ith7KPy/L0y2q4tTggnrEd3jpXRyhp4IoI0RCs0O63ITmY3z2BP4AeBwyv3o0PhZxQ8JFyEZdkl
GuZlgDwCOpwYGmYPbWAUpt9t2EXOFwQbx5lXvlPn/BexOIQCyKzuw7oZAnFgulFJOkZKUfq0hDUsaWde
sGetpLuvf0WP79yzF/hi/bdNCPcNh7h19OlB1+uaVmWbVLvsqKUZ6McKmGcI6N8Z9vYD7Cf4eHwgNDyi
R2aeYT8dEklYFq2E7gEaVzskxVXBv719foZlqcxNmv79Vot5Bsc+AS+KPBhVmiVp/rTQVZpNvmHWm60U
k5W/en90aP2Gw9m31hWPZ2v/63Bix8L/O14Cxm5z+rUyq1EunmBP6a3kerGLVvkBlKdUTn8GAAD//1lQ
SRlCBAAA
H4sIAAAJbogA/5xTzW7bMAy+5ykII8c5ug+KgAEFhgFbT+0D0BYTC9OPISkZiqLvPkq2u6R1sWw+kTS/
jz/iJ7U5Q28xpX3ThZyDa9OIPUFPPlNs1AZAIhjNv7P/ovUDoWsWxHiK1HYnhnm4sNt06ntKqYEh0mHf
CNTOeJEZmoSnX42SZqE4IBywHe0pcVQYBVwDShEpUG2k4P7U5vkZzAF8yLB7IDdazHSHGXclL8HLy6aM
oe4D1BIw4JmgI/LQR+Jc/YeGbKIKyNhZqnNVTFv918FSiFNCneqt2XYhaoqkr7aUB0JdrPLJHBdzcgd1
j46kYOM6vpQM3j61FuORGvUDPR7JMTl8N/7nrShyHcV0Y/bX9XbUZYztOkaJzcPJ3AX9tCTwRiP6I8HW
fILtGT7vP3gh+GgvWjHH9rwr2+E8OV71mhxa28wppePXPDGWTvUbsrVB+XznMywvLSaux8dvd0yzUM9u
ubkbWRln+cAYO6+9wm+FvpvmHfDSrRJckdJV74K0yX9VJr+M8Sv6I98bOymwCu9fi2uylOl/y+eIaVit
frmZ5RrnwyOvi5JrfLpJNoo8J6FPf38HAAD//zs8r8zgBAAA
`,
},
@ -12111,16 +12117,16 @@ GXvy3PwYKZ6fyZHhEKvyv82bVJmo3N8XAPZYvcMb01mHkXzjyL9wpz4sHABCwHMXXoE7Wthy9p3rhfjJ
"/templates/admin-votes.html": {
local: "templates/admin-votes.html",
size: 848,
modtime: 1517696170,
size: 881,
modtime: 1529325858,
compressed: `
H4sIAAAAAAAC/3xSTW/bMAy9+1cQRo6LBXS3ghEwpJdediiC3RWJrYXJkiExBobC/32QbEdLm/XGj0fy
8ZFo7ATaqZQObaR0cZz2OnhW1lNsZYP9gzxeYiTP8LLkUfQPsnl/h6j8G8HOfoPdBI8H6E40jE4xPSlW
3YqGeW4AKpoznAt+N3UnUsMKKaDd1L0o/xvm+bG4PHU/1UAwz3iOIOTSirzJNdVCYewkG2R1dgTWHNop
MKV98dttvxTiAhgvkfYfzf05REORDGjyXJYHQO5JGVnoIcfFKGF5sgMlVsOIgvt/E0dns1rPTx8TeTPr
31KNo1h65sg6B/kczB+5CfK1xj+c+5UX3RS8oWjkIuiVaFZRsPmMWBg/mzuA1QTA4KpTienMTG/nPPbB
6kpnrXS2zNH1lsLZm2brGa8Vog6rhDaxbitQXAVDfg2B7xzLbB/g6JVb0MGlUflD+73NxBz5/8sKp8DK
QXE/U0GxjkRRfkg2fwMAAP//DHOOx1ADAAA=
H4sIAAAJbogA/3xSwW7bMAy95ysII8c5BrZboQgY0ksvOxTB7rLFJsJkyZAYA0XRfx8l2VWSdT2FfHn0
e3yU0GaGwaoY903AeLEU28E7UsZhaORGnL/LwyUEdATP5X/RMbZ5e4Og3Alha77BdoaHPeyOOE5WET4q
UruFDe/vG4DKpkSnzN/OPKHGhZJJDD0r94eRh9zSvPulRuRe9AE6WT6FTqeZWomO12CzpHqLYPS+mT1h
bHPfrPtFHwphugRs78u290FjQA0DL5uXBxB0RqVlticolCLD8mhGFB0XV1jybtwp3uGrAe/sa2tVOGEj
D9akTJ8eK5errJCQRVVQ7/WrXOP5OvGf1v5Oa6953hjWssSbbEdS45Qy7UhfM5aSG29rU3WHJDystzuc
vRmq2jJpTRYa6uE6hq4/ttzsY6KrYneGPsutbFHSe9I3S6z53aowumYo6MV7+uSaH0oWX4jfi7dxUm7f
/Mh6Ft3/k4ajJ2Uht/9a4d8iyUV6ZHLzNwAA//+9mrcmcQMAAA==
`,
},

View File

@ -1,7 +1,3 @@
div.content {
margin-left: 150px;
}
div.bottom-space {
margin-bottom: 15px;
}

View File

@ -312,21 +312,46 @@ input.larger {
background-color: #229af9;
color: #FFFFFF;
}
.content {
margin-left: 75px;
}
}
/* Small Screens */
@media screen and (max-width:35.5em) {
div.pure-control-group label.control-label {
text-align: left;
}
}
@media screen and (max-width:64em) and (min-width: 48em) {
div.pure-control-group label.control-label {
text-align: left;
.only-large {
display: none;
}
.only-small {
display: default;
}
.team-management-buttons {
text-align:left;
}
.team-management-buttons>.pure-button {
margin-top: 1em;
}
}
/* Starting at Small, horizontal */
@media screen and (min-width: 35.5em) {
div.content {
margin-left: 150px;
}
div.pure-control-group label.control-label {
text-align: left;
}
.only-small {
display: none;
}
}
/* Small Horizontal to Medium */
@media screen and (min-width: 35.5em) and (max-width: 48em) { }
/* Medium Screens */
@media screen and (min-width: 48em) and (max-width:64em) { }
/* Larger Screens */
@media (min-width: 64em) { }

View File

@ -1,3 +1,26 @@
(function(){
document.onkeydown = function(evt) {
evt = evt || window.event;
var isEscape = false;
if("key" in evt) {
isEscape = (evt.key == "Escape" || evt.key == "Esc");
} else {
isEscape = (evt.keyCode == 27);
}
if(isEscape) {
toggleAdminPanel();
}
}
document.querySelector('.menu-button').onclick = function() {
var mnu = document.querySelector('#menu .menu-container');
if(mnu.style.display == 'inline-block') {
mnu.style.display = 'none';
} else {
mnu.style.display = 'inline-block';
}
}
})()
function toggleAdminPanel() {
var menu = document.querySelector('#menu');
if(menu.classList.contains('hidden')) {
@ -9,20 +32,6 @@ function toggleAdminPanel() {
}
}
document.onkeydown = function(evt) {
evt = evt || window.event;
var isEscape = false;
if("key" in evt) {
isEscape = (evt.key == "Escape" || evt.key == "Esc");
} else {
isEscape = (evt.keyCode == 27);
}
if(isEscape) {
toggleAdminPanel();
}
}
function showModal(options) {
var modal = document.getElementById('modal-overlay');
document.getElementById('modal-title').innerText = (options.title)?options.title:"";

View File

@ -136,7 +136,7 @@ func main() {
}()
fmt.Printf("Listening on port %d\n", m.site.Port)
log.Fatal(http.ListenAndServe("127.0.0.1:"+strconv.Itoa(m.site.Port), chain))
log.Fatal(http.ListenAndServe(m.site.Ip+":"+strconv.Itoa(m.site.Port), chain))
}
func loadConfig() {
@ -154,6 +154,9 @@ func loadConfig() {
case "-title":
m.site.Title = val
fmt.Print("Set site title: ", m.site.Title, "\n")
case "-ip":
m.site.Ip = val
fmt.Print("Set site IP: ", m.site.Ip, "\n")
case "-port":
var tryPort int
var err error

View File

@ -12,6 +12,7 @@ import (
*/
type siteData struct {
Title string
Ip string
Port int
SessionName string
ServerDir string
@ -32,6 +33,7 @@ type siteData struct {
func NewSiteData(m *model) *siteData {
ret := new(siteData)
ret.Title = "ICT GameJam"
ret.Ip = "127.0.0.1"
ret.Port = 8080
ret.SessionName = "ict-gamejam"
ret.ServerDir = "./"
@ -65,6 +67,9 @@ func (s *siteData) LoadFromDB() error {
if title, _ := s.m.bolt.GetValue(s.mPath, "title"); strings.TrimSpace(title) != "" {
s.Title = title
}
if ip, err := s.m.bolt.GetValue(s.mPath, "ip"); err == nil {
s.Ip = ip
}
if port, err := s.m.bolt.GetInt(s.mPath, "port"); err == nil {
s.Port = port
}
@ -97,6 +102,9 @@ func (s *siteData) SaveToDB() error {
if err = s.m.bolt.SetValue(s.mPath, "title", s.Title); err != nil {
return err
}
if err = s.m.bolt.SetValue(s.mPath, "ip", s.Ip); err != nil {
return err
}
if err = s.m.bolt.SetInt(s.mPath, "port", s.Port); err != nil {
return err
}

View File

@ -4,20 +4,16 @@
<table id="clients-table" class="sortable pure-table pure-table-bordered center">
<thead>
<tr>
<th>Friendly Name</th>
<th>Client ID</th>
<th>Last Known IP</th>
<th>Authenticated</th>
<th></th>
<th>Auth</th>
<th>Name</th>
<th class="only-large">Client ID</th>
<th class="only-large">Last Known IP</th>
<th class="only-large">Authenticated</th>
</tr>
</thead>
<tbody>
{{ range $i, $v := .TemplateData.Clients }}
<tr>
<td>{{ $v.Name }}</td>
<td>{{ $v.UUID }}</td>
<td>{{ $v.IP }}</td>
<td>{{ if $v.Auth }} Yes {{ else }} No {{ end }}</td>
<td>
{{ if $v.Auth }}
<a href="/admin/clients/{{ $v.UUID }}/deauth" class="primary"><i class="fa fa-2 fa-toggle-on"></i></a>
@ -25,6 +21,10 @@
<a href="/admin/clients/{{ $v.UUID }}/auth" class="error"><i class="fa fa-2 fa-toggle-off"></i></a>
{{ end }}
</td>
<td>{{ $v.Name }}<p class="only-small">({{ $v.UUID }})</p></td>
<td class="only-large">{{ $v.UUID }}</td>
<td class="only-large">{{ $v.IP }}</td>
<td class="only-large">{{ if $v.Auth }} Yes {{ else }} No {{ end }}</td>
</tr>
{{ end }}
</tbody>

View File

@ -1,10 +1,10 @@
{{ $uuid := .TemplateData.UUID }}
<div class="center">
<div>
<div class="team-management-buttons">
<h3>Team Management</h3>
<button id="edit-team-button" onclick="javascript:gotoTeamTab();" class="pure-button-toggle-first pure-button pure-button-primary">Team Details</button>
<button id="edit-game-button" onclick="javascript:gotoTeamGameTab();" class="pure-button-toggle-middle pure-button">Game Details</button>
<button id="edit-team-members-button" onclick="javascript:gotoTeamMemberTab();" class="pure-button-toggle-last pure-button">Team Members</button>
<button id="edit-team-button" onclick="javascript:gotoTeamTab();" class="pure-button-toggle-first pure-button pure-button-primary">Team Details</button><br class="only-small" />
<button id="edit-game-button" onclick="javascript:gotoTeamGameTab();" class="pure-button-toggle-middle pure-button">Game Details</button><br class="only-small" />
<button id="edit-team-members-button" onclick="javascript:gotoTeamMemberTab();" class="pure-button-toggle-last pure-button">Team Members</button><br class="only-small" />
</div>
<div id="edit-team-tab" class="left">
<form class="pure-form pure-form-aligned" action="/admin/teams/{{ $uuid }}/save" method="POST">
@ -16,10 +16,10 @@
<input id="teamname" name="teamname" value="{{ .TemplateData.Name }}" placeholder="Team Name">
</div>
</div>
<div class="pure-control-group reset-pull">
<a href="/admin/teams" class="pull-left space pure-button pure-button-plain">Cancel</a>
<button type="submit" class="pull-right space pure-button pure-button-primary">Update Team</button>
<button type="button" id="btnDeleteTeam" class="pull-right space pure-button pure-button-error">Delete Team</button>
<div class="pure-control-group team-management-buttons">
<a href="/admin/teams" class="pure-button pure-button-plain">Cancel</a>
<button type="submit" class="pure-button pure-button-primary">Update Team</button>
<button type="button" id="btnDeleteTeam" class="pure-button pure-button-error">Delete Team</button>
</div>
</fieldset>
</form>
@ -73,9 +73,9 @@
<thead>
<tr>
<th>Name</th>
<th>Slack ID</th>
<th>Twitter</th>
<th>Email</th>
<th class="only-large">Slack ID</th>
<th class="only-large">Twitter</th>
<th class="only-large">Email</th>
<th>Remove</th>
</tr>
</thead>
@ -83,9 +83,9 @@
{{ range $i, $v := .TemplateData.Members }}
<tr>
<td>{{ $v.Name }}</td>
<td>{{ $v.SlackId }}</td>
<td>{{ $v.Twitter }}</td>
<td>{{ $v.Email }}</td>
<td class="only-large">{{ $v.SlackId }}</td>
<td class="only-large">{{ $v.Twitter }}</td>
<td class="only-large">{{ $v.Email }}</td>
<td>
<form action="/admin/teams/{{ $uuid }}/deletemember" method="POST">
<input type="hidden" name="memberid" value="{{ $v.UUID }}"/>

View File

@ -5,15 +5,15 @@
<thead>
<tr>
<th>Game Name</th>
<th>Team Name</th>
<th class="only-large">Team Name</th>
<th>Screenshots</th>
</tr>
</thead>
<tbody>
{{ range $i, $v := .TemplateData.Teams }}
<tr>
<td>{{ $v.Game.Name }}</td>
<td>{{ $v.Name }}</td>
<td>{{ $v.Game.Name }}<p class="only-small">by<br />{{ $v.Name }}</p></td>
<td class="only-large">{{ $v.Name }}</td>
<td>{{ len $v.Game.Screenshots }}</td>
</tr>
{{ end }}

View File

@ -1,4 +1,4 @@
<div class="content">
<div class="">
<div>
<h3>Public Mode</h3>
<button onclick="window.location.href='/admin/mode/0'" class="pure-button-toggle-first pure-button {{ if eq .PublicMode 0 }}pure-button-primary{{ end }}">Waiting</button>

View File

@ -8,19 +8,19 @@
<thead>
<tr>
<th>Name</th>
<th>Management Link</th>
<th>Members</th>
<th>Game</th>
<th class="only-large">Management Link</th>
<th class="only-large">Members</th>
<th class="only-large">Game</th>
<th></th>
</tr>
</thead>
<tbody>
{{ range $i, $v := .TemplateData.Teams }}
<tr>
<td>{{ $v.Name }}</td>
<td><a href="/team/{{ $v.UUID }}">{{ $v.UUID }}</a></td>
<td>{{ len $v.Members }}</td>
<td>{{ $v.Game.Name }}</td>
<td>{{ $v.Name }}<p class="only-small">{{ $v.Game.Name }}</p></td>
<td class="only-large"><a href="/team/{{ $v.UUID }}">{{ $v.UUID }}</a></td>
<td class="only-large">{{ len $v.Members }}</td>
<td class="only-large">{{ $v.Game.Name }}</td>
<td>
<a href="/admin/teams/{{ $v.UUID }}/edit" class="pure-button pure-button-plain"><i class="fa fa-pencil"></i></a>
<a href="/admin/teams/{{ $v.UUID }}/delete" class="pure-button pure-button-plain"><i class="fa fa-trash"></i></a>

View File

@ -9,16 +9,15 @@
<table id="votes-table" class="sortable pure-table pure-table-bordered center">
<thead>
<tr>
<th>Timestamp</th>
<th>Client ID</th>
<th>Time</th>
<th>Rankings</th>
<th class="only-large">Client ID</th>
</tr>
</thead>
<tbody>
{{ range $i, $v := .TemplateData.AllVotes }}
<tr>
<td>{{ $v.Timestamp }}</td>
<td>{{ $v.ClientId }}</td>
<td>
<ol>
{{ range $ci, $cv := $v.Choices }}
@ -26,6 +25,7 @@
{{ end }}
</ol>
</td>
<td class="only-large">{{ $v.ClientId }}</td>
</tr>
{{ end }}
</tbody>