From c1001ba0fe6ea9ba9c047b85c8249330bf3e1134 Mon Sep 17 00:00:00 2001 From: Donald Burr Date: Mon, 19 Oct 2015 00:01:18 -0700 Subject: [PATCH] Make the web app take up all available screen space Had the HTML body set with absurdly huge margins. Now we have much more space to work with. I also lengthened the button names so that they hopefully make more sense, now that we have more space to work with. --- web_app/css/sif-tools.css | 9 +++------ web_app/js/sif_tools.js | 7 +++++++ web_app/sif_tools.html | 25 +++++++++++++------------ 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/web_app/css/sif-tools.css b/web_app/css/sif-tools.css index 67a87c1..da00a5a 100644 --- a/web_app/css/sif-tools.css +++ b/web_app/css/sif-tools.css @@ -1,15 +1,12 @@ body { font: 100% "Trebuchet MS", sans-serif; - margin: 50px; + font-family: Verdana,Arial,sans-serif; + font-size: 14px; + margin: 0px; background-color: #000000; color: #ffffff; } -body { - font-family: Verdana,Arial,sans-serif; - font-size: 14px; -} - p { margin: 1em 0; } diff --git a/web_app/js/sif_tools.js b/web_app/js/sif_tools.js index b3af19c..729f965 100644 --- a/web_app/js/sif_tools.js +++ b/web_app/js/sif_tools.js @@ -119,6 +119,13 @@ function setup_ui_elements() $("#gems_include_events").change(function() { handle_gem_event_box(this.checked); }); + + // set up gem event calc note dialog + // $("#dialog").dialog({ autoOpen: false }); + $("a#To").click(function(e) { + e.preventDefault(); + $("#dialog").dialog({height:300}); + }); } function handle_gem_event_box(show_it) diff --git a/web_app/sif_tools.html b/web_app/sif_tools.html index f278416..54a291e 100644 --- a/web_app/sif_tools.html +++ b/web_app/sif_tools.html @@ -29,9 +29,9 @@
@@ -73,21 +73,22 @@

- Include gems from events?
+ Include gems from events? (Read this first)
+ Average tier:    -
- (NOTE: due to the variable nature of events, calculation of gems gotten through events is at best an approximation. To make the calculations simpler, it assumes that each month has 2 events, ending on the 1st and the 15th, and events alternate between token events and score matches (and medley festivals if on JP.) Also, if you are tiering, it assumes that you will spend some gems to tier, and will use an estimate based on your average tier, but this will only be an estimate.)

Mode:
- Number of gems on date?
- Date when you get x gems?

+ Number of gems you'll have on a date?
+ Date you will have this many gems?

Date:   
@@ -125,8 +126,8 @@ Current EXP:   

Mode:
- EXP needed to level?
- Final level after feeding?

+ EXP needed to get card to a level?
+ Final level after feeding an amount of EXP?

Desired level: