{{sprite}} {{$pageBackground := ""}} {{with .ProfileUser}}{{$pageBackground = imageURL .BackgroundURL}}{{end}} {{with .Repo}}{{$pageBackground = imageURL .BackgroundURL}}{{end}}
{{icon "sidebar" "size-4"}}
{{if $pageBackground}}
{{end}}
{{icon "menu" "size-4"}}
Polar
{{icon "search" "size-4"}}
{{if eq .Lang "en"}}
RU
{{else}}
EN
{{end}} {{if .CurrentUser}}
{{icon "plus" "size-3.5"}}
{{else}}
{{t .Lang "nav.login"}}
{{end}}
{{if .Flash}}
{{icon "check" "size-4"}} {{.Flash}}
{{end}} {{if .Error}}
{{icon "alert-circle" "size-4"}} {{.Error}}
{{end}} {{template "content" .}}
Polar
{{icon "close" "size-4"}}
{{icon "home" "size-4"}} {{t .Lang "nav.home"}}
{{if .CurrentUser}}
{{icon "plus" "size-4"}} {{t .Lang "repo.new.title"}}
{{icon "settings" "size-4"}} {{t .Lang "nav.settings"}}
{{if .CurrentUser.IsAdmin}}
{{icon "shield" "size-4"}} {{t .Lang "nav.admin"}}
{{end}} {{end}} {{if .ExploreEnabled}}
{{icon "globe" "size-4"}} {{t .Lang "nav.explore"}}
{{end}}
RU
EN
{{t .Lang "theme.light"}}
{{t .Lang "theme.dark"}}
{{t .Lang "theme.system"}}
{{icon "search" "size-4"}}
ESC
{{t .Lang "palette.group.nav"}}
{{icon "home" "size-4"}} {{t .Lang "nav.home"}}
g
h
{{if .ExploreEnabled}}
{{icon "globe" "size-4"}} {{t .Lang "nav.explore"}}
g
r
{{end}}
{{icon "book-open" "size-4"}} {{t .Lang "nav.agents"}}
{{if .CurrentUser}}
{{icon "plus" "size-4"}} {{t .Lang "repo.new.title"}}
{{icon "settings" "size-4"}} {{t .Lang "nav.settings"}}
{{if .CurrentUser.IsAdmin}}
{{icon "shield" "size-4"}} {{t .Lang "nav.admin"}}
{{end}} {{else}}
{{icon "user" "size-4"}} {{t .Lang "nav.login"}}
{{icon "plus" "size-4"}} {{t .Lang "nav.register"}}
{{end}}
{{icon "sidebar" "size-4"}} {{t .Lang "nav.toggle_sidebar"}}
Ctrl
B
{{if .PaletteFiles}}
{{t .Lang "repo.files"}} ({{.Repo.OwnerUsername}}/{{.Repo.Name}})
{{range .PaletteFiles}}
{{icon "file-code" "size-4"}} {{.}}
{{end}}
{{end}} {{if .PaletteRepos}}
{{t .Lang "palette.group.repos"}}
{{range .PaletteRepos}}
{{if .IsPrivate}}{{icon "lock" "size-4"}}{{else}}{{icon "git-branch" "size-4"}}{{end}}
{{.OwnerUsername}}/
{{.Name}}
{{if .IsPrivate}}{{t $.Lang "repo.private"}}{{else}}{{t $.Lang "repo.public"}}{{end}}
{{end}}
{{end}}
{{t .Lang "palette.group.themes"}}
{{icon "sun" "size-4"}} {{t .Lang "theme.light"}}
{{icon "moon" "size-4"}} {{t .Lang "theme.dark"}}
{{icon "laptop" "size-4"}} {{t .Lang "theme.system"}}
{{icon "keyboard" "size-4"}} {{t .Lang "shortcuts.title"}}
{{icon "close" "size-4"}}
{{t .Lang "shortcuts.group.general"}}
{{t .Lang "shortcuts.palette"}}
Ctrl
K
{{t .Lang "shortcuts.shortcuts"}}
?
{{t .Lang "shortcuts.context_menu"}}
Shift
F10
{{t .Lang "shortcuts.theme"}}
Ctrl
Shift
L
{{t .Lang "shortcuts.copy_url"}}
y
{{t .Lang "shortcuts.sidebar"}}
Ctrl
B
{{t .Lang "shortcuts.search"}}
/
{{t .Lang "shortcuts.close"}}
Esc
{{t .Lang "shortcuts.group.navigation"}}
{{t .Lang "shortcuts.home"}}
g
h
{{t .Lang "nav.explore"}}
g
r
{{if .CurrentUser}}
{{t .Lang "shortcuts.profile"}}
g
o
{{t .Lang "shortcuts.new_repo"}}
g
n
{{end}} {{if .Repo}}
{{t .Lang "shortcuts.group.repo"}}
{{t .Lang "repo.tab.code"}}
g
c
{{if .Repo.EnableIssues}}
{{t .Lang "repo.tab.issues"}}
g
i
{{end}} {{if .Repo.EnablePulls}}
{{t .Lang "repo.tab.pulls"}}
g
p
{{end}} {{if .Repo.EnableReleases}}
{{t .Lang "repo.tab.releases"}}
g
l
{{end}} {{if .Repo.EnableActivity}}
{{t .Lang "repo.tab.activity"}}
g
a
{{end}}
{{t .Lang "repo.tab.branches"}}
g
b
{{if .CanWrite}}
{{t .Lang "repo.tab.settings"}}
g
s
{{end}}
{{t .Lang "shortcuts.files"}}
t
{{end}}
{{t .Lang "contextmenu.selection"}}
{{icon "copy" "size-3.5"}}
{{t .Lang "contextmenu.copy_selection"}}
{{icon "search" "size-3.5"}}
{{t .Lang "contextmenu.search_selection"}}
{{t .Lang "contextmenu.link"}}
{{icon "link" "size-3.5"}}
{{t .Lang "contextmenu.open_link"}}
{{icon "copy" "size-3.5"}}
{{t .Lang "contextmenu.copy_link"}}
{{icon "file" "size-3.5"}}
{{t .Lang "contextmenu.copy_link_text"}}
{{t .Lang "contextmenu.image"}}
{{icon "image" "size-3.5"}}
{{t .Lang "contextmenu.open_image"}}
{{icon "copy" "size-3.5"}}
{{t .Lang "contextmenu.copy_image"}}
{{icon "download" "size-3.5"}}
{{t .Lang "contextmenu.save_image"}}
{{if .Repo}}
{{t .Lang "contextmenu.repository"}}
{{.Repo.OwnerUsername}}/{{.Repo.Name}}
{{icon "code" "size-3.5"}}
{{t .Lang "repo.tab.code"}}
{{if .Repo.EnableIssues}}
{{icon "issue" "size-3.5"}}
{{t .Lang "repo.tab.issues"}}
{{end}} {{if .Repo.EnablePulls}}
{{icon "git-pull-request" "size-3.5"}}
{{t .Lang "repo.tab.pulls"}}
{{end}} {{if .Repo.EnableReleases}}
{{icon "tag" "size-3.5"}}
{{t .Lang "repo.tab.releases"}}
{{end}} {{if .Repo.EnableActivity}}
{{icon "activity" "size-3.5"}}
{{t .Lang "repo.tab.activity"}}
{{end}}
{{icon "git-branch" "size-3.5"}}
{{t .Lang "repo.tab.branches"}}
{{icon "history" "size-3.5"}}
{{t .Lang "repo.tab.commits"}}
{{if or .CanWrite (and .CurrentUser (or .Repo.EnableIssues .Repo.EnablePulls))}}
{{t .Lang "contextmenu.repo_actions"}}
{{if .CurrentUser}}{{if .Repo.EnableIssues}}
{{icon "issue" "size-3.5"}}
{{t .Lang "issues.new"}}
{{end}}{{if .Repo.EnablePulls}}
{{icon "git-pull-request" "size-3.5"}}
{{t .Lang "pulls.new"}}
{{end}}{{end}} {{if .CanWrite}}
{{icon "plus" "size-3.5"}}
{{t .Lang "file.new_file"}}
{{icon "folder" "size-3.5"}}
{{t .Lang "file.new_folder"}}
{{icon "upload" "size-3.5"}}
{{t .Lang "file.upload_file"}}
{{icon "settings" "size-3.5"}}
{{t .Lang "repo.tab.settings"}}
{{end}}
{{end}} {{end}}
{{t .Lang "contextmenu.page"}}
{{icon "arrow-left" "size-3.5"}}
{{t .Lang "contextmenu.back"}}
{{icon "arrow-right" "size-3.5"}}
{{t .Lang "contextmenu.forward"}}
{{icon "history" "size-3.5"}}
{{t .Lang "contextmenu.reload"}}
{{icon "copy" "size-3.5"}}
{{t .Lang "contextmenu.copy_url"}}
y
{{t .Lang "contextmenu.appearance"}}
{{icon "sun" "size-3.5"}}
{{t .Lang "theme.light"}}
{{icon "check" "size-3.5"}}
{{icon "moon" "size-3.5"}}
{{t .Lang "theme.dark"}}
{{icon "check" "size-3.5"}}
{{icon "laptop" "size-3.5"}}
{{t .Lang "theme.system"}}
{{icon "check" "size-3.5"}}
{{t .Lang "contextmenu.app"}}
{{icon "command" "size-3.5"}}
{{t .Lang "shortcuts.palette"}}
Ctrl K
{{icon "keyboard" "size-3.5"}}
{{t .Lang "shortcuts.title"}}
?
{{if .CurrentUser}}
{{icon "plus" "size-3.5"}}
{{t .Lang "repo.new.title"}}
{{icon "settings" "size-3.5"}}
{{t .Lang "nav.settings"}}
{{end}}