mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-01 11:48:11 +08:00
90e7941fe4
* Update cell actions * Add new focus indicator * Update headings typography * Update cell actions and insert buttons * Add sidebar menu * Add settings modal * Update homepage * Update settings dialog * Rename classes * Add floating menu * Update icon colors on hover * Fix homepage tests * Format assets source * Update monaco editor * Fix editor width on resize * Add more padding to the notebook content * Update settings dialog title * Show reevaluate button when the cell is in evaluated state * Show section actions on focus or hover only * Pre-fill runtime selector with the current configuration * Ignore cmd + enter in Markdown cells
26 lines
690 B
Elixir
26 lines
690 B
Elixir
defmodule LivebookWeb.Router do
|
|
use LivebookWeb, :router
|
|
|
|
pipeline :browser do
|
|
plug :accepts, ["html"]
|
|
plug :fetch_session
|
|
plug :fetch_live_flash
|
|
plug :put_root_layout, {LivebookWeb.LayoutView, :root}
|
|
plug :protect_from_forgery
|
|
plug :put_secure_browser_headers
|
|
end
|
|
|
|
pipeline :api do
|
|
plug :accepts, ["json"]
|
|
end
|
|
|
|
scope "/", LivebookWeb do
|
|
pipe_through :browser
|
|
|
|
live "/", HomeLive, :page
|
|
live "/sessions/:id", SessionLive, :page
|
|
live "/sessions/:id/shortcuts", SessionLive, :shortcuts
|
|
live "/sessions/:id/settings/:tab", SessionLive, :settings
|
|
live "/sessions/:id/cell-settings/:cell_id", SessionLive, :cell_settings
|
|
end
|
|
end
|