1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 01:08:52 -05:00

* offer different deployment options based on what is available to the user

This commit is contained in:
Reinhard Pointner 2013-03-11 11:23:45 +00:00
parent a7d37d43e6
commit e33eac84c8
2 changed files with 59 additions and 18 deletions

View File

@ -228,12 +228,6 @@ div.screencast:hover .play {
margin-left: 20px; margin-left: 20px;
} }
.webstart {
margin: 15px;
min-height: 25px;
text-align: center;
}
.comment, a.source { .comment, a.source {
font-size: xx-small; font-size: xx-small;
font-weight: normal; font-weight: normal;
@ -241,12 +235,24 @@ div.screencast:hover .play {
margin-left: 2px; margin-left: 2px;
} }
.webstart a img { .ubuntu-install.button {
margin: 0px;
min-height: 25px;
text-align: center;
}
.webstart.button {
margin: 15px;
min-height: 25px;
text-align: center;
}
.webstart.button a img {
box-shadow: 0px 0px 5px lightgray; box-shadow: 0px 0px 5px lightgray;
-moz-box-shadow: 0px 0px 5px lightgray; -moz-box-shadow: 0px 0px 5px lightgray;
} }
.webstart a:hover img { .webstart.button a:hover img {
box-shadow: 0px 1px 8px darkorange; box-shadow: 0px 1px 8px darkorange;
-moz-box-shadow: 0px 1px 8px darkorange; -moz-box-shadow: 0px 1px 8px darkorange;
} }

View File

@ -146,21 +146,47 @@
<img class="icon" src="images/information.png" alt="about" width="48" height="48" /> <img class="icon" src="images/information.png" alt="about" width="48" height="48" />
<h2>About</h2> <h2>About</h2>
<p> <p>
<strong>FileBot</strong> is the ultimate tool for renaming your tv shows, anime, and movies, as well as music, <strong>FileBot</strong> is the ultimate tool for organizing and renaming your movies, tv shows or anime, and music well as downloading subtitles and artwork. It's smart and just works.
downloading subtitles from various sources or just simple file verification.
</p>
<p>
FileBot can be launched via Java Web Start. No manual download or installation required.
</p> </p>
</div> </div>
<div class="webstart"> <div id="webstart" class="section deployment webstart" style="display:none">
<script type="text/javascript">
$(document).ready(function () {
if (deployJava.isWebStartInstalled('1.7')) {
$("#webstart").show();
}
});
</script>
<p>
FileBot can be launched via Java Web Start. No manual download or installation required.
</p>
<div class="webstart button">
<a onclick="_gaq.push(['_trackPageview', '/webstart/filebot.jnlp']); return deployJava.launchWebStartApplication('webstart/filebot.jnlp') == false ? true : false" href="http://www.filebot.net/webstart/filebot.jnlp"> <a onclick="_gaq.push(['_trackPageview', '/webstart/filebot.jnlp']); return deployJava.launchWebStartApplication('webstart/filebot.jnlp') == false ? true : false" href="http://www.filebot.net/webstart/filebot.jnlp">
<img alt="Launch" title="Launch via Java Web Start" border="0" src="images/webstart.png" /> <img alt="Launch" title="Launch via Java Web Start" border="0" src="images/webstart.png" />
</a> </a>
</div> </div>
</div>
<a id="review" class="review message box" style="visibility:hidden" href="reviews.php" target="_blank"> <div id="ubuntu" class="section deployment ubuntu" style="display:none">
<script type="text/javascript">
$(document).ready(function () {
if (navigator.userAgent.indexOf('Ubuntu') >= 0) {
$("#ubuntu").show();
}
});
</script>
<p>
FileBot is available in the Ubuntu Software Center. Just fire it up to install the latest FileBot.
</p>
<div class="ubuntu-install button">
<a href="apt://filebot">
<img class="fancy-install" width="200" height="60" alt="" src="https://apps.ubuntu.com/assets/images/scbutton-non-free-200px.png" title="Buy FileBot from the Ubuntu Software Centre!">
</a>
</div>
</div>
<a id="review" class="review message box" style="display:none" href="reviews.php" target="_blank">
<div class="thumbs up"> <div class="thumbs up">
<img src="images/thumbs_up.png" /> <img src="images/thumbs_up.png" />
</div> </div>
@ -174,7 +200,7 @@
$('#review .user').text(review.user) $('#review .user').text(review.user)
$('#review .date').text(review.date) $('#review .date').text(review.date)
$('#review .text').text(review.text) $('#review .text').text(review.text)
$('#review').css('visibility', 'visible') $('#review').show();
} }
}); });
</script> </script>
@ -366,5 +392,14 @@
Hosted on <a href="http://sourceforge.net/projects/filebot/">sourceforge.net</a> | Creative Commons License: Attribution-NonCommercial-ShareAlike © 2012 Hosted on <a href="http://sourceforge.net/projects/filebot/">sourceforge.net</a> | Creative Commons License: Attribution-NonCommercial-ShareAlike © 2012
</div> </div>
</div> </div>
<!-- FIX SCROLLING ISSUES CAUSED BY DYNAMICALLY CHANGES TO THE CONTENT BY JQUERY -->
<script type="text/javascript">
$(document).ready(function () {
if (window.location.hash) {
window.location.hash = window.location.hash
}
});
</script>
</body> </body>
</html> </html>