Change to new logo
This commit is contained in:
parent
4ae940aede
commit
f867ac5bfe
4 changed files with 120 additions and 2 deletions
|
@ -83,6 +83,7 @@
|
|||
}
|
||||
|
||||
#quay-logo {
|
||||
margin-left: 10px;
|
||||
height: 36px;
|
||||
width: 100px;
|
||||
background-repeat: no-repeat;
|
||||
|
@ -91,6 +92,10 @@
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
#quay-logo.hosted-logo {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
#padding-container {
|
||||
padding: 20px;
|
||||
padding-top: 20px;
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
≡
|
||||
</button>
|
||||
<a class="navbar-brand" ng-href="{{ user.anonymous ? '/' : '/repository/' }}" target="{{ appLinkTarget() }}">
|
||||
<span id="quay-logo" ng-style="{'background-image': 'url(' + getEnterpriseLogo() + ')'}"></span>
|
||||
<span id="quay-logo" ng-style="{'background-image': 'url(' + getEnterpriseLogo() + ')'}"
|
||||
ng-class="Config.ENTERPRISE_LOGO_URL ? 'enterprise-logo' : 'hosted-logo'"></span>
|
||||
</a>
|
||||
<span class="user-tools visible-xs" style="float: right;">
|
||||
<i class="fa fa-search fa-lg user-tool" ng-click="toggleSearch()"
|
||||
|
|
111
static/img/QuayByCoreOS_horizontal_color.svg
Normal file
111
static/img/QuayByCoreOS_horizontal_color.svg
Normal file
|
@ -0,0 +1,111 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="506.031px" height="76.147px" viewBox="0 0 506.031 76.147" enable-background="new 0 0 506.031 76.147"
|
||||
xml:space="preserve">
|
||||
<path fill="#003764" d="M139.937,74.386c-1.004,0.502-2.33,0.922-3.975,1.257c-1.646,0.335-3.529,0.503-5.649,0.504
|
||||
c-5.803,0.002-10.7-1.337-14.688-4.014c-3.991-2.676-6.963-6.164-8.917-10.458c-2.902-0.613-5.539-1.686-7.91-3.221
|
||||
c-2.373-1.533-4.395-3.499-6.07-5.898c-1.674-2.397-2.959-5.174-3.852-8.326c-0.894-3.15-1.341-6.652-1.342-10.502
|
||||
c-0.001-4.464,0.597-8.439,1.796-11.928c1.198-3.486,2.885-6.416,5.061-8.788s4.782-4.187,7.823-5.443
|
||||
c3.041-1.256,6.402-1.885,10.084-1.886c3.683-0.001,7.044,0.626,10.085,1.88c3.041,1.255,5.65,3.083,7.827,5.479
|
||||
c2.177,2.399,3.864,5.343,5.066,8.829c1.2,3.486,1.801,7.435,1.803,11.842c0.002,7.364-1.559,13.419-4.681,18.162
|
||||
c-3.124,4.743-7.336,7.869-12.635,9.377c1.283,1.896,3.014,3.221,5.19,3.975c2.176,0.752,4.436,1.128,6.779,1.128
|
||||
c1.172-0.001,2.273-0.1,3.306-0.294c1.032-0.197,1.938-0.434,2.72-0.713L139.937,74.386z M100.171,33.724
|
||||
c0.001,5.858,1.091,10.406,3.268,13.641c2.177,3.235,5.134,4.852,8.873,4.851c3.737-0.001,6.695-1.619,8.87-4.855
|
||||
c2.175-3.236,3.261-7.784,3.26-13.643c-0.001-5.468-1.091-9.736-3.268-12.805c-2.177-3.067-5.135-4.602-8.873-4.601
|
||||
c-3.739,0.001-6.695,1.537-8.87,4.605C101.256,23.987,100.17,28.256,100.171,33.724z"/>
|
||||
<path fill="#003764" d="M142.595,6.678l12.387-0.003l0.009,30.548c0.001,5.356,0.811,9.094,2.43,11.214
|
||||
c1.618,2.12,3.962,3.179,7.031,3.178c3.068-0.001,5.439-1.061,7.113-3.182c1.673-2.121,2.509-5.859,2.507-11.216l-0.009-30.548
|
||||
l11.884-0.004l0.008,29.292c0.003,9.151-1.823,15.819-5.476,20.005c-3.653,4.186-8.995,6.279-16.025,6.281
|
||||
c-7.086,0.002-12.5-2.088-16.238-6.271c-3.74-4.184-5.61-10.851-5.613-20.002L142.595,6.678z"/>
|
||||
<path fill="#003764" d="M218.767,48.251l-16.655,0.005l-3.344,12.974l-12.554,0.003L203.271,6.66l14.813-0.004l17.089,54.562
|
||||
l-13.056,0.004L218.767,48.251z M216.253,38.627l-1.257-5.021c-0.783-2.733-1.537-5.635-2.262-8.703
|
||||
c-0.727-3.068-1.454-6.026-2.179-8.871h-0.334c-0.668,2.901-1.352,5.873-2.048,8.914c-0.697,3.041-1.436,5.929-2.215,8.663
|
||||
l-1.337,5.021L216.253,38.627z"/>
|
||||
<path fill="#003764" d="M242.868,41.8L226.37,6.653l13.223-0.003l4.857,12.552c0.782,2.065,1.521,4.06,2.22,5.983
|
||||
c0.697,1.925,1.437,3.948,2.219,6.067h0.334c0.78-2.12,1.547-4.144,2.3-6.068c0.752-1.925,1.519-3.919,2.299-5.985l4.935-12.555
|
||||
l12.889-0.004L255.17,41.796l0.005,19.417l-12.303,0.004L242.868,41.8z"/>
|
||||
<path fill="#003764" d="M281.615,21.928l2.403-0.001l0.004,11.362l-0.107,5.135c1.346-1.128,2.785-2.094,4.314-2.896
|
||||
c1.529-0.801,3.113-1.203,4.752-1.203c3.496-0.001,6.119,1.209,7.867,3.63c1.749,2.422,2.624,5.673,2.625,9.751
|
||||
c0.001,2.222-0.309,4.206-0.927,5.954c-0.619,1.748-1.465,3.232-2.539,4.453s-2.312,2.149-3.714,2.787
|
||||
c-1.402,0.637-2.867,0.957-4.396,0.957c-1.275,0-2.596-0.281-3.961-0.846c-1.366-0.563-2.669-1.318-3.907-2.266h-0.108l-0.273,2.458
|
||||
l-2.021,0.001L281.615,21.928z M284.028,56.342c1.457,1.239,2.86,2.112,4.208,2.622c1.347,0.51,2.53,0.764,3.551,0.764
|
||||
c1.311,0,2.53-0.292,3.66-0.875c1.128-0.582,2.093-1.403,2.894-2.46c0.801-1.056,1.429-2.321,1.884-3.796
|
||||
c0.455-1.477,0.683-3.105,0.682-4.891c0-1.603-0.156-3.095-0.465-4.479c-0.311-1.383-0.793-2.575-1.449-3.577
|
||||
c-0.656-1.001-1.513-1.784-2.568-2.348c-1.057-0.564-2.331-0.847-3.824-0.846c-1.311,0-2.677,0.374-4.097,1.12
|
||||
c-1.42,0.747-2.914,1.813-4.479,3.197L284.028,56.342z"/>
|
||||
<path fill="#003764" d="M309.161,70.784c0.363,0.091,0.746,0.137,1.147,0.137c1.639-0.001,3.004-0.656,4.096-1.969
|
||||
c1.093-1.311,1.967-2.969,2.62-4.971l0.711-2.296l-10.77-26.709l2.622-0.001l6.342,16.496c0.4,1.093,0.846,2.294,1.339,3.604
|
||||
c0.492,1.311,0.993,2.55,1.503,3.715h0.219c0.4-1.165,0.81-2.404,1.228-3.715c0.419-1.312,0.81-2.514,1.175-3.606l5.622-16.499
|
||||
l2.457-0.001l-10.37,29.502c-0.363,1.093-0.811,2.158-1.337,3.196c-0.529,1.038-1.146,1.968-1.857,2.787
|
||||
c-0.71,0.819-1.529,1.475-2.458,1.967c-0.928,0.492-1.976,0.738-3.141,0.739c-0.983,0-1.876-0.183-2.677-0.547l0.546-2.13
|
||||
C308.469,70.594,308.797,70.693,309.161,70.784z"/>
|
||||
<path fill="#003764" d="M344.005,43.106c-0.001-2.841,0.372-5.409,1.117-7.703c0.745-2.295,1.793-4.252,3.14-5.874
|
||||
c1.347-1.62,2.967-2.859,4.86-3.716c1.894-0.855,3.988-1.284,6.282-1.285c2.076-0.001,3.915,0.436,5.518,1.309
|
||||
c1.603,0.874,2.878,1.876,3.825,3.004l-1.528,1.64c-0.948-1.093-2.077-1.975-3.388-2.648c-1.312-0.673-2.787-1.011-4.427-1.01
|
||||
c-1.966,0.001-3.74,0.384-5.325,1.149c-1.584,0.765-2.932,1.849-4.041,3.251c-1.111,1.403-1.957,3.105-2.539,5.108
|
||||
c-0.582,2.004-0.872,4.262-0.872,6.774c0.001,2.513,0.293,4.78,0.876,6.801s1.421,3.741,2.515,5.162
|
||||
c1.093,1.419,2.413,2.521,3.962,3.304c1.547,0.783,3.286,1.174,5.217,1.173c1.857-0.001,3.505-0.365,4.943-1.094
|
||||
c1.438-0.729,2.812-1.84,4.124-3.334l1.529,1.584c-1.384,1.603-2.931,2.86-4.643,3.771c-1.711,0.911-3.732,1.366-6.062,1.367
|
||||
c-2.222,0.001-4.261-0.436-6.119-1.309c-1.857-0.874-3.451-2.12-4.781-3.741c-1.33-1.619-2.359-3.586-3.088-5.899
|
||||
C344.37,48.577,344.006,45.983,344.005,43.106z"/>
|
||||
<path fill="#003764" d="M374.652,48.122c-0.001-2.186,0.317-4.143,0.954-5.873c0.637-1.729,1.491-3.177,2.566-4.344
|
||||
c1.072-1.165,2.32-2.057,3.741-2.678c1.42-0.619,2.913-0.93,4.479-0.93c1.565-0.001,3.067,0.309,4.507,0.928
|
||||
c1.438,0.619,2.694,1.511,3.77,2.675c1.074,1.166,1.932,2.613,2.569,4.343c0.638,1.73,0.957,3.687,0.958,5.872
|
||||
c0,2.185-0.318,4.125-0.955,5.818s-1.493,3.123-2.566,4.288c-1.074,1.167-2.331,2.06-3.768,2.679
|
||||
c-1.439,0.619-2.941,0.929-4.507,0.93c-1.566,0-3.06-0.309-4.479-0.928c-1.422-0.617-2.67-1.51-3.743-2.676
|
||||
c-1.076-1.164-1.932-2.594-2.569-4.287S374.652,50.307,374.652,48.122z M377.165,48.122c0,1.712,0.237,3.277,0.711,4.696
|
||||
c0.474,1.421,1.121,2.642,1.94,3.66c0.82,1.021,1.794,1.812,2.924,2.376c1.128,0.564,2.349,0.846,3.66,0.846
|
||||
c1.311,0,2.54-0.283,3.688-0.848c1.146-0.565,2.13-1.357,2.948-2.378c0.819-1.019,1.466-2.239,1.938-3.661
|
||||
c0.473-1.42,0.709-2.985,0.709-4.697c-0.001-1.748-0.238-3.333-0.712-4.753s-1.12-2.648-1.94-3.687
|
||||
c-0.819-1.038-1.803-1.839-2.949-2.402c-1.148-0.564-2.378-0.846-3.688-0.846c-1.312,0-2.532,0.283-3.659,0.848
|
||||
c-1.13,0.564-2.104,1.366-2.923,2.404c-0.818,1.038-1.466,2.267-1.938,3.688S377.164,46.374,377.165,48.122z"/>
|
||||
<path fill="#003764" d="M406.059,34.947l2.076-0.001l0.22,4.862h0.164c0.874-1.639,1.938-2.968,3.194-3.989
|
||||
c1.257-1.019,2.667-1.529,4.233-1.53c0.51,0,0.965,0.037,1.366,0.109c0.4,0.073,0.819,0.219,1.256,0.436l-0.546,2.187
|
||||
c-0.437-0.182-0.819-0.301-1.147-0.355c-0.327-0.055-0.746-0.082-1.256-0.082c-1.166,0.001-2.396,0.503-3.687,1.504
|
||||
c-1.293,1.003-2.449,2.741-3.468,5.218l0.006,17.863l-2.404,0.001L406.059,34.947z"/>
|
||||
<path fill="#003764" d="M420.648,48.109c-0.001-2.148,0.317-4.079,0.954-5.792c0.637-1.711,1.491-3.159,2.566-4.343
|
||||
c1.072-1.185,2.293-2.095,3.659-2.732c1.365-0.638,2.776-0.957,4.233-0.958c3.132-0.001,5.59,1.056,7.376,3.166
|
||||
c1.784,2.113,2.678,5.099,2.679,8.958c0,0.328,0,0.656,0.001,0.983c0,0.328-0.037,0.656-0.109,0.983l-18.901,0.006
|
||||
c0.036,1.639,0.292,3.16,0.766,4.562c0.474,1.402,1.139,2.604,1.995,3.604c0.856,1.002,1.886,1.785,3.088,2.349
|
||||
c1.201,0.564,2.548,0.847,4.042,0.846c1.42,0,2.704-0.211,3.852-0.63c1.146-0.418,2.212-0.992,3.195-1.722l0.983,1.857
|
||||
c-1.057,0.62-2.212,1.202-3.468,1.749c-1.257,0.547-2.85,0.82-4.78,0.82c-1.675,0.001-3.25-0.309-4.725-0.927
|
||||
c-1.477-0.618-2.76-1.52-3.853-2.703c-1.094-1.183-1.959-2.622-2.597-4.315C420.968,52.179,420.648,50.258,420.648,48.109z
|
||||
M439.821,46.519c-0.001-3.387-0.692-5.927-2.077-7.619c-1.385-1.693-3.261-2.539-5.628-2.539c-1.129,0.001-2.204,0.238-3.223,0.711
|
||||
c-1.02,0.475-1.938,1.148-2.758,2.022s-1.493,1.939-2.021,3.196c-0.528,1.257-0.864,2.668-1.01,4.233L439.821,46.519z"/>
|
||||
<path fill="#003764" d="M462.004,61.808c-2.149,0.001-4.134-0.444-5.955-1.336s-3.387-2.157-4.699-3.795
|
||||
c-1.312-1.639-2.332-3.614-3.061-5.926c-0.729-2.312-1.094-4.89-1.095-7.73s0.362-5.398,1.09-7.675s1.747-4.226,3.058-5.847
|
||||
c1.312-1.621,2.876-2.859,4.697-3.717c1.82-0.854,3.805-1.284,5.954-1.285c2.186,0,4.188,0.428,6.009,1.282
|
||||
c1.821,0.855,3.389,2.094,4.699,3.713c1.312,1.621,2.331,3.57,3.062,5.845c0.729,2.276,1.094,4.834,1.095,7.675
|
||||
s-0.363,5.418-1.09,7.73c-0.729,2.313-1.747,4.289-3.059,5.928c-1.31,1.64-2.876,2.905-4.697,3.799
|
||||
C466.191,61.36,464.189,61.808,462.004,61.808z M462.003,59.514c1.82,0,3.478-0.392,4.972-1.176c1.492-0.782,2.775-1.894,3.85-3.333
|
||||
c1.073-1.438,1.902-3.17,2.483-5.19c0.583-2.021,0.874-4.289,0.873-6.802c0-2.476-0.293-4.716-0.877-6.719
|
||||
c-0.582-2.003-1.412-3.704-2.486-5.107c-1.075-1.401-2.359-2.484-3.852-3.249c-1.494-0.765-3.152-1.146-4.973-1.146
|
||||
c-1.821,0.001-3.486,0.385-4.997,1.149c-1.512,0.765-2.796,1.85-3.851,3.251c-1.057,1.403-1.875,3.106-2.457,5.109
|
||||
s-0.872,4.243-0.872,6.719c0.001,2.513,0.293,4.78,0.876,6.802c0.583,2.021,1.402,3.75,2.46,5.188
|
||||
c1.056,1.439,2.341,2.549,3.853,3.331C458.516,59.125,460.182,59.515,462.003,59.514z"/>
|
||||
<path fill="#003764" d="M483.962,54.646c1.312,1.494,2.878,2.676,4.699,3.55c1.82,0.873,3.77,1.31,5.846,1.31
|
||||
c2.767-0.001,4.952-0.666,6.555-1.996c1.602-1.33,2.403-3.068,2.402-5.218c0-1.129-0.175-2.076-0.521-2.841
|
||||
c-0.347-0.765-0.811-1.428-1.393-1.993c-0.584-0.563-1.267-1.056-2.05-1.475c-0.783-0.417-1.611-0.827-2.485-1.229l-5.464-2.456
|
||||
c-0.802-0.328-1.631-0.729-2.485-1.202c-0.856-0.472-1.641-1.063-2.351-1.774c-0.71-0.71-1.303-1.546-1.776-2.512
|
||||
c-0.474-0.965-0.71-2.121-0.711-3.469c0-1.311,0.264-2.504,0.791-3.578c0.527-1.075,1.257-2.003,2.185-2.787
|
||||
c0.929-0.782,2.039-1.394,3.332-1.831c1.292-0.437,2.686-0.656,4.179-0.656c2.186-0.001,4.125,0.428,5.818,1.281
|
||||
c1.693,0.856,3.087,1.866,4.18,3.031l-1.419,1.693c-1.058-1.127-2.296-2.028-3.716-2.703c-1.42-0.672-3.042-1.01-4.863-1.009
|
||||
c-2.403,0-4.333,0.584-5.789,1.749c-1.457,1.167-2.185,2.732-2.185,4.699c0.001,1.057,0.201,1.949,0.603,2.677
|
||||
c0.4,0.729,0.91,1.357,1.53,1.884c0.619,0.528,1.292,0.983,2.021,1.366c0.728,0.382,1.42,0.718,2.075,1.009l5.464,2.403
|
||||
c1.02,0.436,1.984,0.928,2.896,1.474c0.91,0.546,1.711,1.183,2.403,1.911c0.691,0.729,1.248,1.594,1.667,2.595
|
||||
s0.63,2.193,0.63,3.577c0,1.385-0.272,2.668-0.818,3.853c-0.547,1.184-1.32,2.204-2.321,3.059c-1.002,0.857-2.212,1.531-3.632,2.022
|
||||
c-1.42,0.493-3.004,0.738-4.752,0.739c-2.622,0.001-4.954-0.5-6.994-1.5s-3.769-2.302-5.19-3.905L483.962,54.646z"/>
|
||||
<g>
|
||||
<polygon fill="#40B4E5" points="58.633,0 74.909,34.428 58.633,68.857 44.777,68.857 61.053,34.428 44.777,0 "/>
|
||||
<polygon fill="#003764" points="44.778,68.857 28.502,34.428 44.778,0 58.634,0 42.358,34.428 58.634,68.857 "/>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#40B4E5" points="37.455,15.491 30.131,0 16.275,0 30.527,30.146 "/>
|
||||
<polygon fill="#40B4E5" points="30.527,38.711 16.275,68.857 30.131,68.857 37.455,53.365 "/>
|
||||
</g>
|
||||
<polygon fill="#003764" points="16.276,68.857 0,34.428 16.276,0 30.132,0 13.856,34.428 30.132,68.857 "/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 11 KiB |
|
@ -51,6 +51,7 @@ angular.module('quay').directive('headerBar', function () {
|
|||
}
|
||||
};
|
||||
|
||||
$scope.Config = Config;
|
||||
$scope.notificationService = NotificationService;
|
||||
$scope.searchingAllowed = false;
|
||||
$scope.searchVisible = false;
|
||||
|
@ -159,7 +160,7 @@ angular.module('quay').directive('headerBar', function () {
|
|||
|
||||
$scope.getEnterpriseLogo = function() {
|
||||
if (!Config.ENTERPRISE_LOGO_URL) {
|
||||
return '/static/img/quay-logo.png';
|
||||
return '/static/img/QuayByCoreOS_horizontal_color.svg';
|
||||
}
|
||||
|
||||
return Config.ENTERPRISE_LOGO_URL;
|
||||
|
|
Reference in a new issue