Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
fix footer; fix selenium tests (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Barth authored and AlexandreAbreu committed Mar 13, 2017
1 parent b923a82 commit d06d18f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions tests/remote-install-snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ ssh ${SSH_OPTS} "if [ -d tmpsnaps ]; then rm -rf tmpsnaps; fi; mkdir tmpsnaps;"
scp -P $port $snap $user@$host:~/tmpsnaps/
ssh ${SSH_OPTS} "sudo snap remove snapweb >/dev/null"
ssh ${SSH_OPTS} "sudo snap install ~/tmpsnaps/$snap_name --devmode"
ssh ${SSH_OPTS} 'echo "{DisableIPFilter: \"true\"}" > settings.json && sudo mv settings.json /var/snap/snapweb/common/settings.json'
ssh ${SSH_OPTS} "sudo snap disable snapweb >/dev/null"
ssh ${SSH_OPTS} "sudo snap enable snapweb >/dev/null"
# need to manually connect interfaces as snapd won't do it anymore in devmode
ssh ${SSH_OPTS} "sudo snap connect snapweb:snapd-control"
ssh ${SSH_OPTS} "sudo snap connect snapweb:timeserver-control"
6 changes: 0 additions & 6 deletions www/src/js/templates/layout-footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@
<div class="col-8">
&copy; 2016 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
<nav role="navigation">
<ul class="p-footer__links">
<li class="p-footer__item">
<a class="p-footer__link" href="https://bugs.launchpad.net/snappy/+filebug">Report a bug</a>
</li>
</ul>
<span class="u-off-screen">
<a href="#">Go to the top of the page</a>
</span>
</nav>
<p><strong>{{ snapdVersion }}</strong></p>
</div>
<div class="col-4">
<p><svg class="u-float--right u-hidden--small" xmlns="http://www.w3.org/2000/svg" width="120" height="26" viewBox="0 0 285 64"><g fill="none" fill-rule="evenodd"><circle cx="267.36" cy="17.017" r="16.966" fill="#DD4814"/><path fill="#fff" d="M256.78 14.978c-1.12 0-2.03.912-2.03 2.04 0 1.122.91 2.036 2.03 2.036 1.13 0 2.04-.914 2.04-2.037 0-1.127-.91-2.04-2.04-2.04zm14.56 9.266c-.98.56-1.31 1.807-.75 2.78.56.976 1.81 1.308 2.79.747.97-.56 1.3-1.8.74-2.78-.56-.97-1.81-1.31-2.78-.74zm-10.13-7.227c0-2.016 1-3.797 2.53-4.873l-1.49-2.498c-1.78 1.19-3.11 3.014-3.66 5.148.65.525 1.05 1.324 1.05 2.223 0 .893-.4 1.69-1.05 2.22.55 2.132 1.88 3.954 3.66 5.145l1.49-2.496c-1.53-1.076-2.53-2.855-2.53-4.87zm5.95-5.957c3.12 0 5.67 2.385 5.94 5.43l2.9-.047c-.14-2.244-1.12-4.26-2.63-5.742-.78.3-1.67.25-2.45-.19-.77-.447-1.26-1.2-1.39-2.02-.75-.207-1.55-.322-2.37-.322-1.4 0-2.74.333-3.92.92l1.42 2.536c.76-.356 1.61-.555 2.5-.555zm0 11.908c-.89 0-1.74-.197-2.5-.553l-1.42 2.537c1.18.588 2.52.916 3.92.916.82 0 1.62-.11 2.37-.32.13-.82.62-1.572 1.39-2.02.78-.448 1.67-.49 2.45-.196 1.51-1.484 2.49-3.5 2.63-5.746l-2.9-.04c-.27 3.04-2.82 5.422-5.94 5.422zm4.18-13.18c.97.562 2.22.23 2.78-.747.56-.97.23-2.21-.74-2.78-.98-.56-2.23-.23-2.79.75-.56.978-.23 2.22.75 2.787z"/><path fill="#333" d="M34.798 61.53c-1.725.432-4 .89-6.826 1.374-2.83.483-6.102.726-9.817.726-3.23 0-5.952-.472-8.16-1.413-2.208-.94-3.985-2.274-5.33-3.998-1.35-1.73-2.317-3.76-2.91-6.11-.593-2.34-.888-4.94-.888-7.795V20.73H8.38v21.975c0 5.117.808 8.78 2.424 10.986 1.616 2.21 4.334 3.32 8.16 3.32.808 0 1.64-.03 2.504-.082.86-.053 1.67-.122 2.425-.202.752-.08 1.44-.16 2.06-.24.618-.08 1.063-.173 1.333-.283v-35.47H34.8V61.53h-.002zm18.336-38.94c.915-.59 2.304-1.21 4.16-1.856s4-.97 6.423-.97c3.016 0 5.696.54 8.04 1.616 2.34 1.078 4.32 2.584 5.937 4.523 1.614 1.94 2.84 4.256 3.675 6.947.83 2.695 1.25 5.656 1.25 8.888 0 3.392-.5 6.45-1.5 9.168-1 2.72-2.41 5.02-4.24 6.907-1.83 1.885-4.04 3.34-6.626 4.362-2.584 1.023-5.493 1.535-8.725 1.535-3.5 0-6.597-.244-9.29-.728-2.69-.485-4.9-.97-6.623-1.454V1.348L53.135.053V22.59zm0 33.607c.755.216 1.818.42 3.192.605 1.373.19 3.082.284 5.13.284 4.038 0 7.27-1.334 9.692-4 2.425-2.665 3.637-6.45 3.637-11.348 0-2.153-.216-4.173-.646-6.062-.44-1.883-1.14-3.514-2.11-4.886-.97-1.37-2.224-2.45-3.758-3.23s-3.38-1.17-5.533-1.17c-2.05 0-3.93.35-5.654 1.05-1.727.7-3.045 1.43-3.96 2.185V56.2zm71.416 5.333c-1.73.432-4 .89-6.83 1.374-2.83.483-6.1.726-9.82.726-3.23 0-5.95-.472-8.154-1.413-2.21-.94-3.986-2.274-5.33-3.998-1.35-1.73-2.316-3.76-2.91-6.11-.593-2.34-.89-4.94-.89-7.795V20.73h7.513v21.975c0 5.117.8 8.78 2.42 10.986 1.62 2.21 4.34 3.32 8.16 3.32.81 0 1.65-.03 2.51-.082.86-.053 1.66-.122 2.42-.202.76-.08 1.44-.16 2.06-.24.62-.08 1.06-.173 1.33-.283v-35.47h7.52V61.53zm10.82-39.583c1.72-.432 4.01-.89 6.87-1.375 2.85-.484 6.14-.727 9.85-.727 3.34 0 6.11.473 8.32 1.414 2.21.94 3.97 2.26 5.29 3.95 1.32 1.695 2.25 3.73 2.79 6.1.54 2.372.81 4.983.81 7.836v23.59h-7.52V40.77c0-2.584-.17-4.79-.52-6.624s-.93-3.313-1.74-4.442c-.8-1.133-1.88-1.953-3.23-2.465-1.34-.52-3.02-.77-5.01-.77-.81 0-1.64.02-2.5.08-.86.05-1.68.12-2.46.2-.79.08-1.48.172-2.1.28-.62.11-1.07.19-1.34.24v35.47h-7.51V21.944zm51.29-1.213h15.92v6.3h-15.92v19.39c0 2.1.17 3.84.49 5.21s.81 2.452 1.45 3.23c.65.78 1.46 1.333 2.43 1.656.97.324 2.1.487 3.39.487 2.31 0 4.15-.258 5.49-.77 1.35-.512 2.27-.875 2.75-1.09l1.62 6.14c-.76.378-2.09.863-4 1.453-1.92.593-4.08.89-6.51.89-2.85 0-5.21-.363-7.07-1.09-1.85-.73-3.35-1.817-4.48-3.273-1.13-1.453-1.92-3.243-2.38-5.372-.46-2.126-.69-4.59-.69-7.39V9.02l7.51-1.292v13.006zm56.8 40.796c-1.73.432-4 .89-6.83 1.374-2.83.483-6.1.726-9.81.726-3.24 0-5.96-.472-8.17-1.413s-3.98-2.274-5.33-3.998c-1.34-1.73-2.31-3.76-2.91-6.11-.59-2.34-.89-4.94-.89-7.795V20.73h7.52v21.975c0 5.117.81 8.78 2.42 10.986 1.62 2.21 4.34 3.32 8.16 3.32.81 0 1.64-.03 2.51-.082.86-.053 1.66-.122 2.42-.202.75-.08 1.44-.16 2.06-.24.62-.08 1.06-.173 1.33-.283v-35.47h7.52V61.53z"/></g></svg></p>
Expand Down

0 comments on commit d06d18f

Please sign in to comment.