-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Overmyer
committed
Jun 14, 2018
1 parent
fa8d466
commit a0bba3e
Showing
7 changed files
with
143 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{% extends 'layout.twig' %} | ||
|
||
{% block content %} | ||
<div class="column"> | ||
<section class="section"> | ||
<div class="box"> | ||
<em>Name</em> | ||
</div> | ||
<h2 class="title is-2 has-text-centered">{{ character.origin.name }} {{ character.careerOne.name }} {{ character.careerTwo.name }}</h2> | ||
<h3 class="title is-3">Description</h3> | ||
{% for descriptor in character.descriptors %} | ||
<span>{{ descriptor }}{% if not loop.last %}, {% endif %}</span> | ||
{% endfor %} | ||
</section> | ||
<nav class="level"> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Mettle</p> | ||
<p class="title">{{ character.mettle }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Physique</p> | ||
<p class="title">{{ character.physique }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Influence</p> | ||
<p class="title">{{ character.influence }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Expertise</p> | ||
<p class="title">{{ character.expertise }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Interface</p> | ||
<p class="title">{{ character.interface }}</p> | ||
</div> | ||
</div> | ||
|
||
</nav> | ||
<section class="section"> | ||
<h3 class="title is-3">Skills</h3> | ||
{% for skill in character.skills %} | ||
<div class="box"> | ||
<h4 class="title is-4">{{ skill.name }}</h4> | ||
<p> | ||
{{ skill.text|nl2br }} | ||
</p> | ||
</div> | ||
{% endfor %} | ||
</section> | ||
</div> | ||
<div class="column"> | ||
<section class="section"> | ||
<h3 class="title is-3">Assets</h3> | ||
<div class="box"> | ||
<h4 class="title is-4">Workspace: {{ character.workspace.name }}</h4> | ||
<p>{{ character.workspace.text }}</p> | ||
</div> | ||
{% for asset in character.assets %} | ||
<div class="box"> | ||
<h4 class="title is-4">{{ asset.name }}</h4> | ||
<p>{{ asset.description }}</p> | ||
<p><strong>Type:</strong> {{ asset.type }}</p> | ||
{% if asset.upgrades|length > 0 %} | ||
<hr> | ||
<h5 class="title is-5">Upgrades</h5> | ||
<ul> | ||
{% for upgrade in asset.upgrades %} | ||
<li><strong>{{ upgrade.name }}:</strong> {{ upgrade.effect }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
</div> | ||
{% endfor %} | ||
</section> | ||
<section class="section"> | ||
<h3 class="title is-3">Advancement</h3> | ||
<p><em>All characters mark XP the first time...</em></p> | ||
<p>- {{ character.advancement }}</p> | ||
</section> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Uncharted Worlds Character Generator</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="css/app.css" type="text/css"> | ||
</head> | ||
<body> | ||
<section class="section"> | ||
<div class="container"> | ||
<div class="columns"> | ||
<div class="column"> | ||
<section class="section"> | ||
<div class="box"> | ||
<em>Name</em> | ||
</div> | ||
<h2 class="title is-2 has-text-centered">{{ character.origin.name }} {{ character.careerOne.name }} {{ character.careerTwo.name }}</h2> | ||
<h3 class="title is-3">Description</h3> | ||
{% for descriptor in character.descriptors %} | ||
<span>{{ descriptor }}{% if not loop.last %}, {% endif %}</span> | ||
{% endfor %} | ||
</section> | ||
<nav class="level"> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Mettle</p> | ||
<p class="title">{{ character.mettle }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Physique</p> | ||
<p class="title">{{ character.physique }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Influence</p> | ||
<p class="title">{{ character.influence }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Expertise</p> | ||
<p class="title">{{ character.expertise }}</p> | ||
</div> | ||
</div> | ||
<div class="level-item has-text-centered"> | ||
<div> | ||
<p class="heading">Interface</p> | ||
<p class="title">{{ character.interface }}</p> | ||
</div> | ||
</div> | ||
{% extends 'layout.twig' %} | ||
|
||
</nav> | ||
<section class="section"> | ||
<h3 class="title is-3">Skills</h3> | ||
{% for skill in character.skills %} | ||
<div class="box"> | ||
<h4 class="title is-4">{{ skill.name }}</h4> | ||
<p> | ||
{{ skill.text|nl2br }} | ||
</p> | ||
</div> | ||
{% endfor %} | ||
</section> | ||
</div> | ||
<div class="column"> | ||
<section class="section"> | ||
<h3 class="title is-3">Assets</h3> | ||
<div class="box"> | ||
<h4 class="title is-4">Workspace: {{ character.workspace.name }}</h4> | ||
<p>{{ character.workspace.text }}</p> | ||
</div> | ||
{% for asset in character.assets %} | ||
<div class="box"> | ||
<h4 class="title is-4">{{ asset.name }}</h4> | ||
<p>{{ asset.description }}</p> | ||
<p><strong>Type:</strong> {{ asset.type }}</p> | ||
{% if asset.upgrades|length > 0 %} | ||
<hr> | ||
<h5 class="title is-5">Upgrades</h5> | ||
<ul> | ||
{% for upgrade in asset.upgrades %} | ||
<li><strong>{{ upgrade.name }}:</strong> {{ upgrade.effect }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
</div> | ||
{% endfor %} | ||
</section> | ||
<section class="section"> | ||
<h3 class="title is-3">Advancement</h3> | ||
<p><em>All characters mark XP the first time...</em></p> | ||
<p>- {{ character.advancement }}</p> | ||
</section> | ||
</div> | ||
{% block content %} | ||
<div class="column content"> | ||
<h1 class="title is-1">Uncharted Worlds Character Generator</h1> | ||
|
||
<p>This is the Uncharted Worlds character generator. It will create a random character for you.</p> | ||
<p>That character has a unique URL, so you can bookmark it or share it with others.</p> | ||
|
||
<div> | ||
<a href="{{ route('character_generate') }}" class="button is-primary is-large">Generate!</a> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
</body> | ||
</html> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Uncharted Worlds Character Generator</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="{{ url('/') }}/css/app.css" type="text/css"> | ||
</head> | ||
<body> | ||
<section class="section"> | ||
<div class="container"> | ||
<div class="columns"> | ||
{% block content %}{% endblock %} | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters