Dump people'n'stuff in wiki template

pull/1/head
Daniel Asher Resnick 3 years ago
parent 6a216d9b3e
commit 69d3cadf58
  1. 1
      src/app.rb
  2. 22
      src/data/WikiSheet.erb

@ -132,7 +132,6 @@ get '/get_file' do
data = CACHE.delete(params['file']) data = CACHE.delete(params['file'])
if data if data
wiki_sheet = WikiSheet.new(data) wiki_sheet = WikiSheet.new(data)
p wiki_sheet
data = wiki_sheet.render data = wiki_sheet.render
end end
else else

@ -58,3 +58,25 @@
|skill<%= i+1 %>=<%= skill[0] %>,<%= skill[1] %><%= skill[2] %>,0,0,0,0,0,0 |skill<%= i+1 %>=<%= skill[0] %>,<%= skill[1] %><%= skill[2] %>,0,0,0,0,0,0
<% end %> <% end %>
}} }}
== People'N'Stuff ==
=== Gear ===
<% for item in gear %>
* <%= item %>
<% end %>
=== Property ===
<% for item in property %>
* <%= item %>
<% end %>
=== Relationships ===
<% for item in relationships %>
* <%= item %>
<% end %>
=== Reputations ===
<% for item in reputations %>
* <%= item %>
<% end %>
=== Affiliations ===
<% for item in affiliations %>
* <%= item %>
<% end %>

Loading…
Cancel
Save