Small font-awesome fixes, add localstorage warning

This commit is contained in:
Sam Chow 2018-07-19 10:59:57 -04:00
parent a5dc885fc6
commit e70f0fff7c
5 changed files with 23 additions and 3 deletions

View file

@ -8,7 +8,7 @@
<span ng-switch-when="mailto"><i class="fa fa-envelope"></i>E-mail</span>
<span ng-switch-when="irc"><i class="fa fa-comment"></i>IRC</span>
<span ng-switch-when="tel"><i class="fa fa-phone"></i>Phone</span>
<span ng-switch-default><i class="fa fa-ticket"></i>URL</span>
<span ng-switch-default><i class="fa fa-ticket-alt"></i>URL</span>
</span>
<span class="caret"></span>
</button>
@ -30,7 +30,7 @@
</li>
<li role="presentation">
<a role="menuitem" tabindex="-1" ng-click="kind = 'http'">
<i class="fa fa-ticket"></i> URL
<i class="fa fa-ticket-alt"></i> URL
</a>
</li>
</ul>

View file

@ -246,7 +246,9 @@
<div class="description">
<p>
Registry images can be stored either locally or in a remote storage system.
<strong>A remote storage system is required for high-availability systems.</strong>
<div class="co-alert co-alert-danger">
Do not use local storage for any production configurations.
</div>
</p>
<div class="config-bool-field feature-storage-replication" binding="config.FEATURE_STORAGE_REPLICATION">

View file

@ -36,3 +36,17 @@
font-family: Font Awesome\ 5 Free;
font-weight: 900;
}
.quay-config-app .co-alert.co-alert-danger::after {
font-family: Font Awesome\ 5 Free;
font-weight: 900;
/* Font Awesome 5's icons are slightly bigger, so we have to adjust this one because it is inside another icon */
font-size: 12px;
top: 18px;
left: 20.75px;
}
.quay-config-app .co-modify-link::after {
font-family: Font Awesome\ 5 Free;
font-weight: 900;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -27,7 +27,11 @@
{% for script_path in main_scripts %}
<script src="/static/{{ script_path }}"></script>
{% endfor %}
<title>Config app</title>
<!-- Icons -->
<link rel="shortcut icon" href="/static/img/quay_favicon.png" type="image/png" />
</head>
<body class="co-img-bg-network quay-config-app">
<config-setup-app></config-setup-app>