Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
2.5 kB · 58 lines
at lambda-parse
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859- title "tools"- content_for(:header) h2 Toolsarticle - if current_user.present? && current_user.gold_patron? .col-md-12 .panel.panel-default .panel-heading Permalink Redirectors! .panel-body p Thanks for being a patron! You get access to permalink redirectors, which are static links that will always redirect to your current PB for a given game and category. Here they are: table.table th Game th Category th Redirector - current_user.games.each do |game| - current_user.categories.where(game: game).each do |category| tr td = game.name td = category.name td a target='_blank' href=user_pb_path(current_user, game, category) = "#{request.host_with_port}#{user_pb_path(current_user, game, category)}" p small | Hint: Like with any run, you can add relative paths to the ends of these, like code | /stats | and code | /compare/<another_run> | ! .col-md-6 .panel.panel-default .panel-heading Twitch Panel Builder .panel-body p This will assemble your PBs into a Markdown table for use in a Twitch panel (or elsewhere). You should be able to copy+paste the output into a panel with no additional editing on your part. - if current_user.present? p = link_to 'Export PBs for use in Twitch', user_panels_path(current_user), class: 'btn btn-default', target: :_blank small | order: =< link_to 'alphabetically', user_panels_path(current_user, by: :name, order: :asc) | , =< link_to 'newest first', user_panels_path(current_user, by: :created_at, order: :desc) | , =< link_to 'oldest first', user_panels_path(current_user, by: :created_at, order: :asc) - else p button.btn.btn-default.disabled You need to be signed in .col-md-6 .panel.panel-default .panel-heading Splits Converter .panel-body p You can download uploaded splits in any exportable format we support, but if you need to convert splits and don't care about storing them, you can use this tool. p = link_to 'Convert splits to other timer formats', convert_path, class: 'btn btn-default'