1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00

Improved button text

This commit is contained in:
Dan Leech 2016-02-24 11:15:40 +00:00
parent 52e17c02ad
commit bcfdbccb70
4 changed files with 9 additions and 3 deletions

View File

@ -274,7 +274,7 @@
<input type="text" id="search" class="search-field" autofocus>
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
<p><a href="#" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
</div>
<div class="block block--ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
@ -550,9 +550,11 @@
var list = document.getElementsByClassName("tiles tiles--icons");
if(list.length == 1) {
list[0].className = "tiles tiles--full";
document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values";
} else {
var list = document.getElementsByClassName("tiles tiles--full");
list[0].className = "tiles tiles--icons";
document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values";
}
}
</script>

View File

@ -274,7 +274,7 @@
<input type="text" id="search" class="search-field" autofocus>
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
<p><a href="#" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
</div>
<div class="block block--ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
@ -550,9 +550,11 @@
var list = document.getElementsByClassName("tiles tiles--icons");
if(list.length == 1) {
list[0].className = "tiles tiles--full";
document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values";
} else {
var list = document.getElementsByClassName("tiles tiles--full");
list[0].className = "tiles tiles--icons";
document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values";
}
}
</script>

View File

@ -34,9 +34,11 @@
var list = document.getElementsByClassName("tiles tiles--icons");
if(list.length == 1) {
list[0].className = "tiles tiles--full";
document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values";
} else {
var list = document.getElementsByClassName("tiles tiles--full");
list[0].className = "tiles tiles--icons";
document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values";
}
}
</script>

View File

@ -274,7 +274,7 @@
<input type="text" id="search" class="search-field" autofocus>
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
<p><a href="#" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
</div>
<div class="block block--ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>