mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 09:05:34 -05:00
webui: route peer location to chat-lobby
This commit is contained in:
parent
b1da4ed67e
commit
b1286f06ed
@ -36,7 +36,7 @@ google material design has nice rules for color, spacing and everything: https:/
|
||||
[ ] find icons, maybe use google material design iconfont
|
||||
[X] use urls/mithril routing for the menu. urls could replace state stored in rs.content
|
||||
[X] drag and drop private key upload and import
|
||||
[ ] link from peer location to chat (use urls and mithril routing)
|
||||
[X] link from peer location to chat (use urls and mithril routing)
|
||||
[X] add/remove friend, own cert
|
||||
[X] downloads, search
|
||||
[ ] make reusable infinite list controller, the js part to load data from Pagination.h (tweak Pagination.h to make everything work)
|
||||
|
@ -34,6 +34,9 @@ module.exports = {view: function(){
|
||||
return m("div",{
|
||||
style:"color:" + (location.is_online ? "lime": "grey")
|
||||
+ ";cursor:pointer",
|
||||
onclick: function(){
|
||||
m.route("/chat?lobby=" + location.chat_id)
|
||||
}
|
||||
|
||||
},location.location);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user