mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-20 21:04:17 +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,8 +44,25 @@ defmodule LivebookWeb.SettingsLive do
|
|||
soon as you stop the application.
|
||||
</p>
|
||||
</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 -->
|
||||
<div class="flex flex-col space-y-4">
|
||||
<div class="flex flex-col space-y-4">
|
||||
<div class="flex justify-between items-center">
|
||||
<h2 class="text-xl text-gray-800 font-semibold">
|
||||
File systems
|
||||
|
|
Loading…
Reference in a new issue