Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
to
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
matrix
to
Commits
e71ee8f4
Commit
e71ee8f4
authored
9 years ago
by
Matthew Hodgson
Browse files
Options
Downloads
Patches
Plain Diff
improve links
parent
97f1cf2b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site.css
+2
-0
2 additions, 0 deletions
site.css
src/components/HomePage.js
+41
-30
41 additions, 30 deletions
src/components/HomePage.js
with
43 additions
and
30 deletions
site.css
+
2
−
0
View file @
e71ee8f4
...
...
@@ -143,6 +143,8 @@ body {
}
.mxt_Footer
{
margin-top
:
50px
;
margin-bottom
:
10px
;
text-align
:
center
;
font-size
:
12px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/HomePage.js
+
41
−
30
View file @
e71ee8f4
...
...
@@ -22,9 +22,9 @@ var linkable_clients = [
logo
:
""
,
author
:
"
Vector.im
"
,
homepage
:
"
https://vector.im
"
,
room_url
:
"
https://vector.im/beta/#/room/
"
,
user_url
:
"
https://vector.im/beta/#/user/
"
,
msg_url
:
"
https://vector.im/beta/#/room/
"
,
room_url
(
alias
)
{
return
"
https://vector.im/beta/#/room/
"
+
alias
}
,
user_url
(
userId
)
{
return
"
https://vector.im/beta/#/user/
"
+
userId
}
,
msg_url
(
msg
)
{
return
"
https://vector.im/beta/#/room/
"
+
msg
}
,
maturity
:
"
Late beta
"
,
comments
:
"
Fully-featured Matrix client for Web, iOS & Android
"
,
},
...
...
@@ -33,21 +33,10 @@ var linkable_clients = [
logo
:
""
,
author
:
"
Matrix.org
"
,
homepage
:
"
https://matrix.org
"
,
room_url
:
"
https://matrix.org/beta/#/room/
"
,
user_url
:
null
,
room_url
(
alias
)
{
return
"
https://matrix.org/beta/#/room/
"
+
alias
},
maturity
:
"
Deprecated
"
,
comments
:
"
The original developer-focused client for Web, iOS & Android
"
,
},
{
name
:
"
PTO (Perpetually Talking Online
"
,
logo
:
""
,
author
:
"
Torrie Fischer
"
,
homepage
:
"
https://pto.im
"
,
room_url
:
"
irc://irc.matrix.org/
"
,
user_url
:
null
,
maturity
:
"
Alpha
"
,
comments
:
"
Access any room anywhere in Matrix via good old IRC!
"
,
},
];
var
unlinkable_clients
=
[
...
...
@@ -57,8 +46,8 @@ var unlinkable_clients = [
author
:
"
Tor Hveem
"
,
homepage
:
"
https://github.com/torhve/weechat-matrix-protocol-script
"
,
maturity
:
"
Late beta
"
,
room_instructions
:
"
Type /join $entity
"
,
user_instructions
:
"
Type /invite $entity
"
,
room_instructions
(
alias
)
{
return
<
span
>
Type
<
code
>
/join <b>{ alias }</
b
><
/code></
span
>
}
,
user_instructions
(
userId
)
{
return
<
span
>
Type
<
code
>
/invite <b>{ userId }</
b
><
/code></
span
>
}
,
comments
:
"
Commandline Matrix interface using Weechat
"
,
},
{
...
...
@@ -67,8 +56,8 @@ var unlinkable_clients = [
author
:
"
Felix Rohrbach
"
,
homepage
:
"
https://github.com/Fxrh/Quaternion
"
,
maturity
:
"
Late alpha
"
,
room_instructions
:
"
Type /join $entity
"
,
user_instructions
:
"
Type /invite $entity
"
,
room_instructions
(
alias
)
{
return
<
span
>
Type
<
code
>
/join <b>{ alias }</
b
><
/code></
span
>
}
,
user_instructions
(
userId
)
{
return
<
span
>
Type
<
code
>
/invite <b>{ userId }</
b
><
/code></
span
>
}
,
comments
:
"
Qt5 and C++ cross-platform desktop Matrix client
"
,
},
{
...
...
@@ -77,8 +66,8 @@ var unlinkable_clients = [
author
:
"
David A Roberts
"
,
homepage
:
"
https://github.com/davidar/tensor
"
,
maturity
:
"
Late alpha
"
,
room_instructions
:
"
Type /join $entity
"
,
user_instructions
:
"
Type /invite $entity
"
,
room_instructions
(
alias
)
{
return
<
span
>
Type
<
code
>
/join <b>{ alias }</
b
><
/code></
span
>
}
,
user_instructions
(
userId
)
{
return
<
span
>
Type
<
code
>
/invite <b>{ userId }</
b
><
/code></
span
>
}
,
comments
:
"
QML and JS cross-platform desktop Matrix client
"
,
},
{
...
...
@@ -87,10 +76,21 @@ var unlinkable_clients = [
author
:
"
David A Roberts
"
,
homepage
:
"
https://github.com/davidar/tensor2
"
,
maturity
:
"
Alpha
"
,
room_instructions
:
"
Type /join $entity
"
,
user_instructions
:
"
Type /invite $entity
"
,
room_instructions
(
alias
)
{
return
<
span
>
Type
<
code
>
/join <b>{ alias }</
b
><
/code></
span
>
}
,
user_instructions
(
userId
)
{
return
<
span
>
Type
<
code
>
/invite <b>{ userId }</
b
><
/code></
span
>
}
,
comments
:
"
QML and C++ cross-platform desktop Matrix client
"
,
},
{
name
:
"
PTO (Perpetually Talking Online)
"
,
logo
:
""
,
author
:
"
Torrie Fischer
"
,
homepage
:
"
https://pto.im
"
,
//room_url(alias) { return "irc://irc.matrix.org/" + alias },
room_instructions
(
alias
)
{
return
<
span
>
Type
<
code
>
/join <b>{ alias }</
b
><
/code></
span
>
},
user_instructions
(
userId
)
{
return
<
span
>
Type
<
code
>
/invite <b>{ userId }</
b
><
/code></
span
>
},
maturity
:
"
Alpha
"
,
comments
:
"
Access any room anywhere in Matrix via good old IRC!
"
,
},
{
name
:
"
Mclient.el
"
,
logo
:
""
,
...
...
@@ -211,6 +211,17 @@ export default React.createClass({
// maturity: "Late beta",
// comments: "Fully-featured Matrix client for Web, iOS & Android",
var
description
;
if
(
isRoom
)
{
description
=
<
span
>
the
<
b
>
{
this
.
state
.
entity
}
<
/b> room</
span
>
;
}
else
if
(
isUser
)
{
description
=
<
span
>
the
user
<
b
>
{
this
.
state
.
entity
}
<
/b></
span
>
;
}
else
if
(
isMsg
)
{
description
=
<
span
><
b
>
this
message
<
/b></
span
>
;
}
links
=
(
<
div
key
=
"
links
"
className
=
"
mxt_HomePage_links
"
>
<
div
className
=
"
mxt_HomePage_links_intro
"
>
...
...
@@ -218,7 +229,7 @@ export default React.createClass({
Matrix
is
an
ecosystem
for
open
and
interoperable
communication
.
<
/p
>
<
p
>
To
connect
to
<
b
>
{
isMsg
?
"
this message
"
:
this
.
state
.
entity
}
<
/b>
, please select an app
:
To
connect
to
{
description
}
,
please
select
an
app
:
<
/p
>
<
/div
>
...
...
@@ -245,13 +256,13 @@ export default React.createClass({
{
linkable_clients
.
map
((
client
)
=>
{
var
link
;
if
(
isRoom
&&
client
.
room_url
)
{
link
=
client
.
room_url
+
this
.
state
.
entity
;
link
=
client
.
room_url
(
this
.
state
.
entity
)
;
}
else
if
(
isUser
&&
client
.
user_url
)
{
link
=
client
.
user_url
+
this
.
state
.
entity
;
link
=
client
.
user_url
(
this
.
state
.
entity
)
;
}
else
if
(
isMsg
&&
client
.
msg_url
)
{
link
=
client
.
msg_url
+
this
.
state
.
entity
;
link
=
client
.
msg_url
(
this
.
state
.
entity
)
;
}
if
(
!
link
)
return
<
div
key
=
{
client
.
name
}
/>
;
...
...
@@ -284,13 +295,13 @@ export default React.createClass({
{
unlinkable_clients
.
map
((
client
)
=>
{
var
instructions
;
if
(
isRoom
&&
client
.
room_instructions
)
{
instructions
=
client
.
room_instructions
.
replace
(
"
$entity
"
,
this
.
state
.
entity
);
instructions
=
client
.
room_instructions
(
this
.
state
.
entity
);
}
else
if
(
isUser
&&
client
.
user_instructions
)
{
instructions
=
client
.
user_instructions
.
replace
(
"
$entity
"
,
this
.
state
.
entity
);
instructions
=
client
.
user_instructions
(
this
.
state
.
entity
);
}
else
if
(
isMsg
&&
client
.
msg_instructions
)
{
instructions
=
client
.
msg_instructions
.
replace
(
"
$entity
"
,
this
.
state
.
entity
);
instructions
=
client
.
msg_instructions
(
this
.
state
.
entity
);
}
if
(
!
instructions
)
return
<
div
key
=
{
client
.
name
}
/>
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment