Skip to content

Commit

Permalink
decided on using random uids rather than names. removed favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
bahorn committed Mar 16, 2019
1 parent 7c18c19 commit 8fd893a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion no_light_sinatra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ def create_tempfile

def get_submit_params
get_submit_params = params[:submission] || {}
name = (0...8).map { (65 + rand(26)).chr }.join
get_submit_params.merge({
'seconds' => seconds_from(params[:submission][:seconds]),
'name' => params[:submission][:name]
'name' => name
})
end

Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion views/default_page.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="container">
<h1>Welcome</h1>
<p>To play, click <strong><a href="/covhack2019" class="gamelink">here</a></strong></p>
<p>To play, go to <strong>http://citd.covhack.org/covhack19</strong></p>
</div>
1 change: 0 additions & 1 deletion views/editor.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<input type="hidden" name="submission[seconds]" value="<%= Time.now %>" id="submission_seconds" />

<header>
<input type="text" id="submission_name" name="submission[name]" placeholder="Nickname..."/>
<button type="submit" id="submit">!light</button> <!-- Submit button -->
</header>

Expand Down

0 comments on commit 8fd893a

Please sign in to comment.