Skip to content

Commit

Permalink
reorder universe options
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Apr 23, 2018
1 parent 6d61846 commit b5bd3f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/LOLAweb/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ server <- function(input, output, session) {
if(nfiles$n > 1) {

radioButtons("universe_opts", "Universe",
choiceValues = c("default", "user", "build"),
choiceNames = c("Use pre-loaded universe", "Upload universe", "Build universe with user sets"))
choiceValues = c("default", "build", "user"),
choiceNames = c("Use pre-loaded universe", "Build universe with user sets", "Upload universe"))

} else {

Expand Down
12 changes: 6 additions & 6 deletions apps/LOLAweb/disabler.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ disabledbutton <- "<div id='universe_opts' class='form-group shiny-input-radiogr
<span>Use pre-loaded universe</span>
</label>
</div>
<div class='radio'>
<div class='radio' style='opacity:0.4;'>
<label>
<input type='radio' name='universe_opts' value='user'>
<span>Upload universe</span>
<input type='radio' name='universe_opts' value='build' disabled='disabled'>
<span>Build universe with user sets (2+ files)</span>
</label>
</div>
<div class='radio' style='opacity:0.4;'>
<div class='radio'>
<label>
<input type='radio' name='universe_opts' value='build' disabled='disabled'>
<span>Build universe with user sets</span>
<input type='radio' name='universe_opts' value='user'>
<span>Upload universe</span>
</label>
</div>
</div>
Expand Down

0 comments on commit b5bd3f3

Please sign in to comment.