@@ -44,7 +44,7 @@ <h2 class="card--title">Login / Register</h2>
44
44
</ div >
45
45
46
46
47
- < div class ="card--third -size ">
47
+ < div class ="card--half -size ">
48
48
< base-card >
49
49
< base-card-title >
50
50
< h2 class ="card--title "> Connector types</ h2 >
@@ -56,12 +56,15 @@ <h2 class="card--title">Connector types</h2>
56
56
[style.background-image] ="'url(' + connectorMetadata.get(connectorType).icon + ')' "
57
57
class ="connector-image "> </ div >
58
58
{{ connectorMetadata.get(connectorType)?.displayName }} < span class ="type "> ({{ connectorType }})</ span >
59
+ < button (click) ="copyToAddConnector(connectorType) "
60
+ class ="button-trans--green mdl-js-button mdl-js-ripple-effect ">
61
+ < i class ="material-icons "> add</ i >
62
+ </ button >
59
63
< ul class ="typeList ">
60
64
< li *ngIf ="!connectorMetadata.get(connectorType)?.found "> no metadata found.</ li >
61
65
< li
62
- *ngIf ="connectorMetadata.get(connectorType)?.found "> {{ connectorMetadata.get(connectorType)?.description }}</ li >
63
- < li *ngIf ="connectorMetadata.get(connectorType)?.found "> More Information: < a
64
- [href] ="connectorMetadata.get(connectorType)?.wikiUrl "> Chat Overflow Wiki</ a > </ li >
66
+ *ngIf ="connectorMetadata.get(connectorType)?.found "> {{ connectorMetadata.get(connectorType)?.description }}
67
+ More Information: < a [href] ="connectorMetadata.get(connectorType)?.wikiUrl "> Chat Overflow Wiki</ a > </ li >
65
68
</ ul >
66
69
</ li >
67
70
</ ul >
@@ -109,14 +112,19 @@ <h2 class="card--title">Requirement types</h2>
109
112
</ base-card-body >
110
113
</ base-card >
111
114
</ div >
112
- < div class ="card--third -size ">
115
+ < div class ="card--sixth -size ">
113
116
< base-card >
114
117
< base-card-title >
115
118
< h2 class ="card--title "> Plugin types</ h2 >
116
119
</ base-card-title >
117
120
< base-card-body >
118
121
< ul class ="typeList ">
119
- < li *ngFor ="let pluginType of pluginTypes "> {{ pluginType.name }} ({{pluginType.author}})</ li >
122
+ < li *ngFor ="let pluginType of pluginTypes "> {{ pluginType.name }} ({{pluginType.author}})
123
+ < button (click) ="copyToAddPlugin(pluginType.name, pluginType.author) "
124
+ class ="button-trans--green mdl-js-button mdl-js-ripple-effect ">
125
+ < i class ="material-icons "> add</ i >
126
+ </ button >
127
+ </ li >
120
128
</ ul >
121
129
</ base-card-body >
122
130
</ base-card >
0 commit comments