mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-11 22:16:10 +08:00
Add current version section to settings page (#851)
* Add version section to settings * Add System Settings Version subsection * Apply suggestions from code review Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
8ba0857369
commit
bf94998d83
1 changed files with 18 additions and 1 deletions
|
@ -44,6 +44,23 @@ defmodule LivebookWeb.SettingsLive do
|
||||||
soon as you stop the application.
|
soon as you stop the application.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- System details -->
|
||||||
|
<div class="flex flex-col space-y-4">
|
||||||
|
<h1 class="text-xl text-gray-800 font-semibold">
|
||||||
|
About
|
||||||
|
</h1>
|
||||||
|
<div class="flex items-center justify-between border border-gray-200 rounded-lg p-4">
|
||||||
|
<div class="flex items-center space-x-12">
|
||||||
|
<.labeled_text label="Version" text={Mix.Project.config[:version]} />
|
||||||
|
<.labeled_text label="Elixir" text={System.version()} />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<%= live_redirect "Dashboard",
|
||||||
|
to: Routes.home_path(@socket, :page),
|
||||||
|
class: "button-base button-blue"%>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- File systems configuration -->
|
<!-- File systems configuration -->
|
||||||
<div class="flex flex-col space-y-4">
|
<div class="flex flex-col space-y-4">
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex justify-between items-center">
|
||||||
|
|
Loading…
Add table
Reference in a new issue