mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Updated the website to have a warning for the Baubles API. Also added a deploy_website target to the build script.
This commit is contained in:
1 parent
2e0cc0bb0c
commit
87dd4d86bc
4 files changed
+17
-4
No files matched your search
@@ -72,6 +72,12 @@
|
||||
</ftp>
|
||||
</target>
|
||||
|
||||
<target name="deploy_website">
|
||||
<ftp action="send" server="${ftp.host}" remotedir="/${build.mod_name}" userid="${ftp.user}" password="${ftp.pass}" verbose="yes" depends="yes">
|
||||
<fileset dir="${build.dir.repo}web" />
|
||||
</ftp>
|
||||
</target>
|
||||
|
||||
<target name="build">
|
||||
<antcall target="clean" />
|
||||
<antcall target="prep" />
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ant deploy_website
|
||||
+1
-1
@@ -62,7 +62,7 @@
|
||||
}
|
||||
|
||||
$total_dl_str = number_format($total_dls);
|
||||
print("<div class='total-dls'><span class='glyphicon glyphicon-star'></span> Botania has been downloaded a total of <b>$total_dl_str</b> times.</div>Botania is under a Creative Commons BY-NC-SA License, more info (for modpacks and other purposes) can be found in the footer.<br><br><font size='5'>Latest Download</font><br>");
|
||||
print("<div class='total-dls'><span class='glyphicon glyphicon-star'></span> Botania has been downloaded a total of <b>$total_dl_str</b> times.</div>Botania is under a Creative Commons BY-NC-SA License, more info (for modpacks and other purposes) can be found in the footer.<br><span class='warning-txt'>Note that as of beta-22, Botania requires the <a href='http://www.minecraftforum.net/topic/2535073-'>Baubles API</a>. If you have Thaumcraft installed, though, this is downloaded automatically.</span><br><br><font size='5'>Latest Download</font><br>");
|
||||
print($downloads_str);
|
||||
?>
|
||||
</div>
|
||||
|
||||
+9
-3
@@ -159,7 +159,13 @@ iframe {
|
||||
}
|
||||
|
||||
.padded {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
border: none;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.warning-txt {
|
||||
color: #aa0000;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
Reference in new issue
Block a user