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

Unified Diff: appengine/config_service/ui/src/config-ui/config-set-card.html

Issue 2989833002: config_service: include type of config to the config-set card (Closed)
Patch Set: Change config-set cards. Created 3 years, 5 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
« no previous file with comments | « no previous file | appengine/config_service/ui/test/config-ui/config-set_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/config_service/ui/src/config-ui/config-set-card.html
diff --git a/appengine/config_service/ui/src/config-ui/config-set-card.html b/appengine/config_service/ui/src/config-ui/config-set-card.html
index f6a6fdfbfc6fad01049db17472a3068b5d3aeecb..8bff3bc1e0c786cf30efd68aabcce2bb91dd7dd5 100644
--- a/appengine/config_service/ui/src/config-ui/config-set-card.html
+++ b/appengine/config_service/ui/src/config-ui/config-set-card.html
@@ -27,11 +27,13 @@
p {
color: var(--paper-grey-600);
word-wrap: break-word;
+ font-size: 90%;
}
.config-title {
@apply --paper-font-headline;
word-wrap: break-word;
+ font-size: 120%;
}
.validation {
@@ -51,7 +53,7 @@
<a href="#/[[name]]">
<paper-card elevation="2">
<div class="card-content">
- <div class="config-title">[[_formatName(name)]]
+ <div class="config-title">[[name]]
<div class="validation">
<template is="dom-if" if="[[lastImportAttempt]]" restamp="true">
<template is="dom-if" if="[[lastImportAttempt.success]]" restamp="true">
@@ -84,7 +86,6 @@
</template>
</div>
</div>
- <p>Path: [[name]]</p>
</div>
</paper-card>
</a>
@@ -108,12 +109,6 @@
return !b;
},
- _formatName: function(name) {
- var tempName = name.substring(name.indexOf("/") + 1);
- return tempName.includes("/") ?
- tempName.substring(0, tempName.indexOf("/")) : tempName;
- }
-
});
</script>
</dom-module>
« no previous file with comments | « no previous file | appengine/config_service/ui/test/config-ui/config-set_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698