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
Showing
4 changed files
with
28 additions
and
45 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
56 changes: 21 additions & 35 deletions
56
lib/elixir_cluster_demo_web/templates/page/index.html.eex
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,35 +1,21 @@ | ||
<section class="phx-hero"> | ||
<h1><%= gettext "Welcome to %{name}!", name: "Phoenix" %></h1> | ||
<p>A productive web framework that<br/>does not compromise speed and maintainability.</p> | ||
</section> | ||
|
||
<section class="row"> | ||
<article class="column"> | ||
<h2>Resources</h2> | ||
<ul> | ||
<li> | ||
<a href="https://hexdocs.pm/phoenix/overview.html">Guides & Docs</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/phoenixframework/phoenix">Source</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/phoenixframework/phoenix/blob/v1.4/CHANGELOG.md">v1.4 Changelog</a> | ||
</li> | ||
</ul> | ||
</article> | ||
<article class="column"> | ||
<h2>Help</h2> | ||
<ul> | ||
<li> | ||
<a href="https://elixirforum.com/c/phoenix-forum">Forum</a> | ||
</li> | ||
<li> | ||
<a href="https://webchat.freenode.net/?channels=elixir-lang">#elixir-lang on Freenode IRC</a> | ||
</li> | ||
<li> | ||
<a href="https://twitter.com/elixirphoenix">Twitter @elixirphoenix</a> | ||
</li> | ||
</ul> | ||
</article> | ||
</section> | ||
<div class="container"> | ||
<div class="row text-center justify-content-center"> | ||
<div class="col"> | ||
<h1 class="display-4">Distributed Elixir Cluster with libcluster</h1> | ||
<p>Learn more at <a href="https://render.com/docs/deploy-elixir-cluster">https://render.com/docs/deploy-elixir-cluster</a>. | ||
</div> | ||
</div> | ||
</div> | ||
<div class="mt-3"> | ||
<table class="table table-bordered table-striped"> | ||
<tbody> | ||
<tr> | ||
<th scope="row" class="p-3">Current Node</th> | ||
<td class="p-3"><%= @node %></td> | ||
</tr> | ||
<tr> | ||
<th scope="row" class="p-3">Other Nodes</th> | ||
<td class="p-3"><%= @nodes %></td> | ||
</tbody> | ||
</table> | ||
</div> |