Index: trunk/extensions/OpenStackManager/special/SpecialNovaKey.php |
— | — | @@ -194,14 +194,18 @@ |
195 | 195 | $out .= $sk->link( $this->getTitle(), wfMsgHtml( 'openstackmanager-importkey' ), array(), array( 'action' => 'import' ) ); |
196 | 196 | $keypairs = $this->userLDAP->getKeypairs(); |
197 | 197 | $keysOut = ''; |
| 198 | + $keysOut .= Html::element( 'th', array(), wfMsg( 'openstackmanager-keys' ) ); |
| 199 | + $keysOut .= Html::element( 'th', array(), wfMsg( 'openstackmanager-actions' ) ); |
198 | 200 | foreach ( $keypairs as $hash => $key ) { |
199 | 201 | $keyOut = Html::element( 'td', array(), $key ); |
200 | 202 | $msg = wfMsgHtml( 'openstackmanager-delete' ); |
201 | 203 | $link = $sk->link( $this->getTitle(), $msg, array(), array( 'action' => 'delete', 'hash' => $hash ) ); |
202 | | - $keyOut .= Html::rawElement( 'td', array(), $link ); |
| 204 | + $action = Html::rawElement( 'li', array(), $link ); |
| 205 | + $action = Html::rawElement( 'ul', array(), $action ); |
| 206 | + $keyOut .= Html::rawElement( 'td', array(), $action ); |
203 | 207 | $keysOut .= Html::rawElement( 'tr', array(), $keyOut ); |
204 | 208 | } |
205 | | - $out .= Html::rawElement( 'table', array(), $keysOut ); |
| 209 | + $out .= Html::rawElement( 'table', array( 'id' => 'novakeylist', 'class' => 'wikitable' ), $keysOut ); |
206 | 210 | } else { |
207 | 211 | $wgOut->addWikiMsg( 'openstackmanager-invalidkeypair' ); |
208 | 212 | } |
Index: trunk/extensions/OpenStackManager/OpenStackManager.i18n.php |
— | — | @@ -154,6 +154,7 @@ |
155 | 155 | 'openstackmanager-importkey' => 'Import a new key', |
156 | 156 | 'openstackmanager-name' => 'Name', |
157 | 157 | 'openstackmanager-fingerprint' => 'Fingerprint', |
| 158 | + 'openstackmanager-keys' => 'Keys', |
158 | 159 | 'openstackmanager-invalidkeypair' => 'Invalid keypair location configured.', |
159 | 160 | 'openstackmanager-keypairimportfailed' => 'Failed to import keypair.', |
160 | 161 | 'openstackmanager-keypairimported' => 'Imported keypair.', |