Browse Source

Minor UI fixes

Jordi Boggiano 5 years ago
parent
commit
fde00b68aa

+ 2 - 2
src/Packagist/WebBundle/Resources/public/css/main.css

@@ -1143,13 +1143,13 @@ input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:fo
     padding: 15px;
 }
 .package .last-update p, .package .last-update a {
-    font-size: 75%;
+    font-size: 10px;
 }
 .package .last-update .auto-update-success {
     color: #69AD21;
 }
 .package .last-update .auto-update-danger {
-    color: #cd3729;
+    color: #ff002f;
 }
 
 .package .version-details .title {

+ 5 - 0
src/Packagist/WebBundle/Resources/views/layout.html.twig

@@ -61,6 +61,11 @@
                                     </section>
                                 </section>
                             </li>
+                            <li class="nav-user visible-xs-block">
+                                <section>
+                                    <a href="{{ path('logout') }}">Logout</a>
+                                </section>
+                            </li>
                         {%- else %}
                             <li>
                                 <a href="{{ path('fos_user_registration_register') }}">{{ 'menu.create_account'|trans }}</a>

+ 1 - 1
src/Packagist/WebBundle/Resources/views/package/version_list.html.twig

@@ -33,7 +33,7 @@
 {% if showUpdated is defined and showUpdated and package.getUpdatedAt() %}
     <div class="last-update">
         {% if not package.isAutoUpdated() %}
-            <p class="auto-update-danger">This package is <strong>not</strong> auto-updated.</p>
+            <p class="auto-update-danger">This package is <strong>not</strong> <a href="{{ path('about') ~ '#how-to-update-packages' }}">auto-updated</a>.</p>
         {% else %}
             <p class="auto-update-success">This package is auto-updated.</p>
         {% endif %}