Chromium Code Reviews| Index: chrome/browser/resources/settings/printing_page/cups_printers.html |
| diff --git a/chrome/browser/resources/settings/printing_page/cups_printers.html b/chrome/browser/resources/settings/printing_page/cups_printers.html |
| index 7bc457ffb38824e00b2fcdc8b45fcd0080d45108..9acd73f8b9b43756d788ffc8d91a9fd82d92f459 100644 |
| --- a/chrome/browser/resources/settings/printing_page/cups_printers.html |
| +++ b/chrome/browser/resources/settings/printing_page/cups_printers.html |
| @@ -15,6 +15,24 @@ |
| color: blue; |
| text-decoration: underline; |
| } |
| + |
| + #message { |
| + display: flex; |
| + justify-content: center; |
| + position: absolute; |
| + top: 85%; |
| + width: 100%; |
| + } |
| + |
| + .center { |
| + background-color: black; |
| + color: white; |
| + font: 13px; |
| + padding-bottom: 15px; |
| + padding-top: 15px; |
| + text-align: center; |
| + width: 350px; |
| + } |
| </style> |
| <div class="settings-box first"> |
| @@ -29,6 +47,12 @@ |
| <settings-cups-printers-list printers="{{printers}}" |
| search-term="[[searchTerm]]"> |
| </settings-cups-printers-list> |
| + |
| + <div id="message"> |
|
xdai1
2016/09/22 18:22:11
Modified it as you suggested. Now the rectangle is
|
| + <div class="center" id="addPrinterMessage" hidden> |
| + $i18n{printerAddedSuccessfulMessage} |
| + </div> |
| + </div> |
| </template> |
| <script src="cups_printers.js"></script> |
| </dom-module> |