Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15387781
D7904.id17893.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7904.id17893.diff
View Options
Index: src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
===================================================================
--- src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
+++ src/applications/settings/panel/PhabricatorSettingsPanelSSHKeys.php
@@ -224,18 +224,24 @@
'action',
));
- $panel = new AphrontPanelView();
- $panel->addButton(
- phutil_tag(
- 'a',
- array(
- 'href' => $this->getPanelURI('?edit=true'),
- 'class' => 'green button',
- ),
- pht('Add New Public Key')));
- $panel->setHeader(pht('SSH Public Keys'));
+ $panel = new PHUIObjectBoxView();
+ $header = new PHUIHeaderView();
+
+ $icon = id(new PHUIIconView())
+ ->setSpriteSheet(PHUIIconView::SPRITE_ICONS)
+ ->setSpriteIcon('new');
+
+ $button = new PHUIButtonView();
+ $button->setText(pht('Add New Public Key'));
+ $button->setHref($this->getPanelURI('?edit=true'));
+ $button->setTag('a');
+ $button->setIcon($icon);
+
+ $header->setHeader(pht('SSH Public Keys'));
+ $header->addActionLink($button);
+
+ $panel->setHeader($header);
$panel->appendChild($table);
- $panel->setNoBackground();
return $panel;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 16 2025, 2:54 AM (5 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705343
Default Alt Text
D7904.id17893.diff (1 KB)
Attached To
Mode
D7904: Update SSH Keys Settings layout
Attached
Detach File
Event Timeline
Log In to Comment