Skip to content

Commit

Permalink
Refactor UCP website to load text from json
Browse files Browse the repository at this point in the history
  • Loading branch information
patel-nikhil committed Nov 18, 2020
1 parent 72d56e6 commit d285cfe
Show file tree
Hide file tree
Showing 14 changed files with 337 additions and 275 deletions.
29 changes: 14 additions & 15 deletions aic/detailed.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,42 +21,40 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="../index.html">Home</a>
<a class="nav-link string" href="../index.html">ucp-home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../getting-started.html">Getting Started</a>
<a class="nav-link string" href="../getting-started.html">ucp-getting-started</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../features.html">Features</a>
<a class="nav-link string" href="../features.html">ucp-features</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
AI Character Introduction
</a>
<a class="nav-link dropdown-toggle string" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">ucp-ai-intro</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="overview.html">Overview</a>
<a class="dropdown-item string" href="overview.html">ucp-aic-overview</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">AI Personality Values <span class="sr-only">(current)</span></a>
<a class="dropdown-item" href="field-values.html">AIC Field Values</a>
<a class="dropdown-item" href="#"><span class="string">ucp-aic-personality</span><span class="sr-only">(current)</span></a>
<a class="dropdown-item string" href="field-values.html">ucp-aic-fields</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="../aiv.html">AI Castle Introduction</a>
<a class="nav-link string" href="../aiv.html">ucp-aiv-intro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../contributing.html">Contributing</a>
<a class="nav-link string" href="../contributing.html">ucp-contributing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../faq.html">FAQ</a>
<a class="nav-link string" href="../faq.html">ucp-faq</a>
</li>
</ul>
</div>
</nav>
<div class="header">
<h4 class="text-center">Unofficial Crusader Patch Latest Version: UCP 2.14
<h4 class="text-center"><span class="string">ucp-latest-version</span>
<a href="https://github.com/Sh0wdown/UnofficialCrusaderPatch"><i class="fab fa-github"></i></a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">changelog</a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">download</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">ucp-changelog</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">ucp-download</a>
</h4>
</div>
<hr class="header-divider">
Expand All @@ -80,5 +78,6 @@ <h4 class="text-center">Description of AI Character Parameters</h4>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="../assets/js/aic.js"></script>
<script src="../assets/js/strings.js"></script>

</html>
29 changes: 14 additions & 15 deletions aic/field-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,42 +21,40 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="../index.html">Home <span class="sr-only">(current)</span></a>
<a class="nav-link string" href="../index.html"><span class="string">ucp-home</span><span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="../getting-started.html">Getting Started</a>
<a class="nav-link string" href="../getting-started.html">ucp-getting-started</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../features.html">Features</a>
<a class="nav-link string" href="../features.html">ucp-features</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
AI Character Introduction
</a>
<a class="nav-link dropdown-toggle string" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">ucp-ai-intro</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="overview.html">Overview</a>
<a class="dropdown-item string" href="overview.html">ucp-aic-overview</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="detailed.html">AI Personality Values</a>
<a class="dropdown-item" href="#">AIC Field Values</a>
<a class="dropdown-item string" href="detailed.html">ucp-aic-personality</a>
<a class="dropdown-item string" href="#">ucp-aic-fields</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="../aiv.html">AI Castle Introduction</a>
<a class="nav-link string" href="../aiv.html">ucp-aiv-intro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../contributing.html">Contributing</a>
<a class="nav-link string" href="../contributing.html">ucp-contributing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../faq.html">FAQ</a>
<a class="nav-link string" href="../faq.html">ucp-faq</a>
</li>
</ul>
</div>
</nav>
<div class="header">
<h4 class="text-center">Unofficial Crusader Patch Latest Version: UCP 2.14
<h4 class="text-center"><span class="string">ucp-latest-version</span>
<a href="https://github.com/Sh0wdown/UnofficialCrusaderPatch"><i class="fab fa-github"></i></a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">changelog</a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">download</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">ucp-changelog</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">ucp-download</a>
</h4>
</div>
<hr class="header-divider">
Expand Down Expand Up @@ -291,5 +289,6 @@ <h5 class="mb-0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="../assets/js/aic.js"></script>
<script src="../assets/js/strings.js"></script>

</html>
29 changes: 15 additions & 14 deletions aic/generate.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,42 +21,42 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="../index.html">Home</a>
<a class="nav-link string" href="../index.html">ucp-home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../getting-started.html">Getting Started</a>
<a class="nav-link string" href="../getting-started.html">ucp-getting-started</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../features.html">Features</a>
<a class="nav-link string" href="../features.html">ucp-features</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
AI Character Introduction
<a class="nav-link dropdown-toggle string" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
ucp-ai-intro
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="overview.html">Overview</a>
<a class="dropdown-item string" href="overview.html">ucp-aic-overview</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="detailed.html">AI Personality Values <span class="sr-only">(current)</span></a>
<a class="dropdown-item" href="field-values.html">AIC Field Values</a>
<a class="dropdown-item string" href="detailed.html">ucp-aic-personality<span class="sr-only">(current)</span></a>
<a class="dropdown-item string" href="field-values.html">ucp-aic-fields</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="../aiv.html">AI Castle Introduction</a>
<a class="nav-link string" href="../aiv.html">ucp-aiv-intro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../contributing.html">Contributing</a>
<a class="nav-link string" href="../contributing.html">ucp-contributing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../faq.html">FAQ</a>
<a class="nav-link string" href="../faq.html">ucp-faq</a>
</li>
</ul>
</div>
</nav>
<div class="header">
<h4 class="text-center">Unofficial Crusader Patch Latest Version: UCP 2.14
<h4 class="text-center"><span class="string">ucp-latest-version</span>
<a href="https://github.com/Sh0wdown/UnofficialCrusaderPatch"><i class="fab fa-github"></i></a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">changelog</a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">download</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">ucp-changelog</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">ucp-download</a>
</h4>
</div>
<hr class="header-divider">
Expand Down Expand Up @@ -347,5 +347,6 @@ <h5 class="mb-0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="../assets/js/index.js"></script>
<script src="../assets/js/strings.js"></script>

</html>
29 changes: 14 additions & 15 deletions aic/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,42 +21,40 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="../index.html">Home</a>
<a class="nav-link string" href="../index.html">ucp-home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../getting-started.html">Getting Started</a>
<a class="nav-link string" href="../getting-started.html">ucp-getting-started</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../features.html">Features</a>
<a class="nav-link string" href="../features.html">ucp-features</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
AI Character Introduction
</a>
<a class="nav-link dropdown-toggle string" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">ucp-ai-intro</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Overview <span class="sr-only">(current)</span></a>
<a class="dropdown-item" href="#"><span class="string">ucp-aic-overview</span><span class="sr-only">(current)</span></a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="detailed.html">AI Personality Values</a>
<a class="dropdown-item" href="field-values.html">AIC Field Values</a>
<a class="dropdown-item string" href="detailed.html">ucp-aic-personality</a>
<a class="dropdown-item string" href="field-values.html">ucp-aic-fields</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="../aiv.html">AI Castle Introduction</a>
<a class="nav-link string" href="../aiv.html">ucp-aiv-intro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../contributing.html">Contributing</a>
<a class="nav-link string" href="../contributing.html">ucp-contributing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../faq.html">FAQ</a>
<a class="nav-link string" href="../faq.html">ucp-faq</a>
</li>
</ul>
</div>
</nav>
<div class="header">
<h4 class="text-center">Unofficial Crusader Patch Latest Version: UCP 2.14
<h4 class="text-center"><span class="string">ucp-latest-version</span>
<a href="https://github.com/Sh0wdown/UnofficialCrusaderPatch"><i class="fab fa-github"></i></a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">changelog</a>
<a class="latest-release" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">download</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/tag/v2.14">ucp-changelog</a>
<a class="latest-release string" href="https://github.com/Sh0wdown/UnofficialCrusaderPatch/releases/download/v2.14/UnofficialCrusaderPatch_v2.14.zip">ucp-download</a>
</h4>
</div>
<hr class="header-divider">
Expand Down Expand Up @@ -160,5 +158,6 @@ <h5>Income</h5>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="../assets/js/aic.js"></script>
<script src="../assets/js/strings.js"></script>

</html>
Loading

0 comments on commit d285cfe

Please sign in to comment.