projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add selection UI
[akkoma]
/
lib
/
pleroma
/
web
/
templates
/
akkoma_api
/
frontend_switcher
/
switch.html.eex
diff --git a/lib/pleroma/web/templates/akkoma_api/frontend_switcher/switch.html.eex
b/lib/pleroma/web/templates/akkoma_api/frontend_switcher/switch.html.eex
new file mode 100644
(file)
index 0000000..
0692ddf
--- /dev/null
+++ b/
lib/pleroma/web/templates/akkoma_api/frontend_switcher/switch.html.eex
@@ -0,0
+1,7
@@
+<h2>Switch Frontend</h2>
+
+<%= form_for @conn, Routes.frontend_switcher_path(@conn, :do_switch), fn f -> %>
+ <%= select(f, :frontend, @choices) %>
+
+ <%= submit do: "submit" %>
+<% end %>