Skip to content

Commit 7f9ea4a

Browse files
authored
Add Elixir/Erlang version feature and respective feature test (#138)
* Add Elixir/Erlang version feature and respective feature test * Change style details on version text * Make some changes after code review -Delete feature test -Add class to style version-info div -Improve code-styling issue * Delete unnecessary variable
1 parent 2095724 commit 7f9ea4a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/elixir_console_web/live/console_live/history_component.html.leex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<div class="flex-1"></div>
22
<div class="p-2" id="commandOutput" phx-update="append">
3+
<div id="version-info" class="text-gray-500 font-medium">
4+
<p>Elixir <%= System.version() %>/OTP <%= System.otp_release() %></p>
5+
</div>
36
<%= for output <- @output do %>
47
<div id="command<%= output.id %>" class="text-gray-300 font-medium"><%= print_prompt() %><%= format_command(output.command) %></div>
58
<div id="output<%= output.id %>" class="text-teal-300">

0 commit comments

Comments
 (0)