(t(lang, Key::ServicesTitle))
(topcoat::view::Unescaped::new_unchecked(services_html))
- (topcoat::view::Unescaped::new_unchecked(services_manage))
}
if let Some(code) = ok {
@@ -854,63 +847,6 @@ async fn signed_in(cx: &Cx, user: &im_core::model::User) -> Result {
shell(cx, "im", Some(user), stage).await
}
-/// The admin's handles under the services grid: a name-and-address edit per
-/// row, the up/down pair, the remove, and the add form. Every action is a
-/// plain form post answering a 303 back to this card — the landing idiom —
-/// wearing the admin panel's quiet row-button skin, laid out by the same
-/// flex row the panel's invite line uses.
-fn services_manage_html(services: &[im_core::services::Service], lang: Lang) -> String {
- let mut rows = String::new();
- for service in services {
- let key = escape(&service.key);
- rows.push_str(&format!(
- r#"