Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Unified Diff: chrome/browser/resources/settings/printing_page/cups_printers.html

Issue 2333283004: [CUPS] Implement the UI handler for adding a new printer. (Closed)
Patch Set: Address michaelpg@'s offline comment. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698