| OLD | NEW |
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht
ml"> |
| 3 |
| 4 <polymer-element name="gaia-whitelist-error" attributes="errorMsg |
| 5 enterpriseErrorMsg tryAgainBtn learnMoreBtn"> |
| 6 <template> |
| 7 <style> |
| 8 #container { |
| 9 height: 100%; |
| 10 width: 100%; |
| 11 } |
| 12 |
| 13 #icon-container { |
| 14 margin-bottom: 14px; |
| 15 } |
| 16 |
| 17 #text-container { |
| 18 color: grey; |
| 19 line-height: 130%; |
| 20 text-align: center; |
| 21 width: 240px; |
| 22 } |
| 23 |
| 24 #controls-container { |
| 25 width: 100%; |
| 26 } |
| 27 |
| 28 .learn-more-button { |
| 29 color: rgb(66, 133, 244); |
| 30 text-transform: none; |
| 31 } |
| 32 |
| 33 .try-again-button { |
| 34 background-color: rgb(66, 133, 244); |
| 35 color: rgb(255, 255, 255); |
| 36 width: 126px; |
| 37 } |
| 38 </style> |
| 39 <div id="container" vertical layout center> |
| 40 <div flex two layout center vertical> |
| 41 <div flex></div> |
| 42 <div flex> |
| 43 <div id="icon-container" vertical layout center> |
| 44 <img src="../../../../../ui/webui/resources/images/icon_warning.png"> |
| 45 </div> |
| 46 <div id="text-container"> |
| 47 <div id="error-msg" hidden?="{{enterpriseManaged}}"> |
| 48 {{errorMsg}} |
| 49 </div> |
| 50 <div id="enterprise-error-msg" hidden?="{{!enterpriseManaged}}"> |
| 51 {{enterpriseErrorMsg}} |
| 52 </div> |
| 53 </div> |
| 54 </div> |
| 55 </div> |
| 56 <div id="controls-container" horizontal layout around-justified |
| 57 flex center> |
| 58 <paper-button class="learn-more-button" |
| 59 on-tap={{onLearnMoreClicked}}> |
| 60 {{learnMoreBtn}} |
| 61 </paper-button> |
| 62 <paper-button class="try-again-button" raised |
| 63 on-tap="{{tryAgainButtonClicked}}"> |
| 64 {{tryAgainBtn}} |
| 65 </paper-button> |
| 66 </div> |
| 67 </div> |
| 68 </template> |
| 69 </polymer-element> |
| OLD | NEW |