Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F71073
D7316.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D7316.diff
View Options
diff --git a/resources/sprite/login_1x/Persona.png b/resources/sprite/login_1x/Persona.png
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/resources/sprite/login_2x/Persona.png b/resources/sprite/login_2x/Persona.png
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/resources/sprite/manifest/login.json b/resources/sprite/manifest/login.json
--- a/resources/sprite/manifest/login.json
+++ b/resources/sprite/manifest/login.json
@@ -66,6 +66,11 @@
"rule" : ".login-Openid",
"hash" : "9267ffbb8d4e6dee409c4d8fa2d50c0a"
},
+ "login-Persona" : {
+ "name" : "login-Persona",
+ "rule" : ".login-Persona",
+ "hash" : "949faf7bf5ed377c06aa480da1f42b74"
+ },
"login-Phabricator" : {
"name" : "login-Phabricator",
"rule" : ".login-Phabricator",
diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php
--- a/src/__celerity_resource_map__.php
+++ b/src/__celerity_resource_map__.php
@@ -653,15 +653,15 @@
),
'/rsrc/image/sprite-login-X2.png' =>
array(
- 'hash' => 'cd7eb19a0428c6be90c48cd2329a35fc',
- 'uri' => '/res/cd7eb19a/rsrc/image/sprite-login-X2.png',
+ 'hash' => '7176335e4e1604f94eacdb1790660560',
+ 'uri' => '/res/7176335e/rsrc/image/sprite-login-X2.png',
'disk' => '/rsrc/image/sprite-login-X2.png',
'type' => 'png',
),
'/rsrc/image/sprite-login.png' =>
array(
- 'hash' => '788be2fd8e1f80b9faec9f5cf4bd5f4b',
- 'uri' => '/res/788be2fd/rsrc/image/sprite-login.png',
+ 'hash' => '7d3eee260ee0beb90c12e26fbc48fd9c',
+ 'uri' => '/res/7d3eee26/rsrc/image/sprite-login.png',
'disk' => '/rsrc/image/sprite-login.png',
'type' => 'png',
),
@@ -4189,7 +4189,7 @@
),
'sprite-login-css' =>
array(
- 'uri' => '/res/8bd33e35/rsrc/css/sprite-login.css',
+ 'uri' => '/res/48dc427d/rsrc/css/sprite-login.css',
'type' => 'css',
'requires' =>
array(
diff --git a/src/applications/auth/provider/PhabricatorAuthProviderPersona.php b/src/applications/auth/provider/PhabricatorAuthProviderPersona.php
--- a/src/applications/auth/provider/PhabricatorAuthProviderPersona.php
+++ b/src/applications/auth/provider/PhabricatorAuthProviderPersona.php
@@ -76,4 +76,8 @@
return array($this->loadOrCreateAccount($account_id), $response);
}
+ protected function getLoginIcon() {
+ return 'Persona';
+ }
+
}
diff --git a/webroot/rsrc/css/sprite-login.css b/webroot/rsrc/css/sprite-login.css
--- a/webroot/rsrc/css/sprite-login.css
+++ b/webroot/rsrc/css/sprite-login.css
@@ -70,18 +70,22 @@
background-position: 0px -105px;
}
-.login-Phabricator {
+.login-Persona {
background-position: -35px -105px;
}
-.login-TwitchTV {
+.login-Phabricator {
background-position: -70px -105px;
}
-.login-Twitter {
+.login-TwitchTV {
background-position: -105px -105px;
}
-.login-Yahoo {
+.login-Twitter {
background-position: 0px -140px;
}
+
+.login-Yahoo {
+ background-position: -35px -140px;
+}
diff --git a/webroot/rsrc/image/sprite-login-X2.png b/webroot/rsrc/image/sprite-login-X2.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/webroot/rsrc/image/sprite-login.png b/webroot/rsrc/image/sprite-login.png
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/zz/rm/poahwev36zfvxgfy
Default Alt Text
D7316.diff (3 KB)
Attached To
Mode
D7316: Add Persona login icon
Attached
Detach File
Event Timeline
Log In to Comment