1 Star 0 Fork 0

西西弗斯/YASB

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 16.87 KB
一键复制 编辑 原始数据 按行查看 历史
raithos 提交于 2022-02-22 20:03 . Old version (last update)
<!DOCTYPE html><html><head><title>OLD YASB 2.0, go to YASB.APP</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta property="og:url" content="http://raithos.github.io/"><meta property="og:image" content="http://raithos.github.io/android-chrome-192x192.png"><meta property="og:description" content="The old YASB, go to YASB.APP"><link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"><link rel="manifest" href="site.webmanifest"><link rel="shortcut icon" type="image/x-icon" href="favicon.ico"><link rel="stylesheet" href="bower_components/select2/select2.css?1639872432"><link rel="stylesheet" href="bootstrap/css/bootstrap.css?1639872432"><link rel="stylesheet" href="stylesheets/xwing.css?1639872432"><link rel="stylesheet" href="stylesheets/xwing-screen.css?1639872432" media="screen"><link rel="stylesheet" href="stylesheets/xwing-print.css?1639872432" media="print"><link rel="stylesheet" href="stylesheets/backgrounds.css?1639872432" media="screen"><link rel="stylesheet" href="fonts/xwing-miniatures.css?1639872432" media="screen,print"><link rel="stylesheet" href="bower_components/font-awesome/css/all.min.css?1639872432"></head><body><!-- body layout--><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-123324723-1&amp;aip=1"></script><script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
</script><div class="tabbable d-print-none"><ul class="nav nav-pills main-top-nav-bar"><li class="nav-item"><a class="nav-link" id="rebelTab" data-toggle="tab" href="#rebelContent" title="Rebel Alliance"><i class="xwing-miniatures-font xwing-miniatures-font-rebel"></i></a></li><li class="nav-item"><a class="nav-link" id="empireTab" data-toggle="tab" href="#empireContent" title="Galactic Empire"><i class="xwing-miniatures-font xwing-miniatures-font-empire"></i></a></li><li class="nav-item"><a class="nav-link" id="scumTab" data-toggle="tab" href="#scumContent" title="Scum and Villany"><i class="xwing-miniatures-font xwing-miniatures-font-scum"></i></a></li><li class="nav-item"><a class="nav-link" id="resistanceTab" data-toggle="tab" href="#resistanceContent" title="Resistance"><i class="xwing-miniatures-font xwing-miniatures-font-rebel-outline"></i></a></li><li class="nav-item"><a class="nav-link" id="firstorderTab" data-toggle="tab" href="#firstorderContent" title="First Order"><i class="xwing-miniatures-font xwing-miniatures-font-firstorder"></i></a></li><li class="nav-item"><a class="nav-link" id="republicTab" data-toggle="tab" href="#republicContent" title="Galactic Republic"><i class="xwing-miniatures-font xwing-miniatures-font-republic"></i></a></li><li class="nav-item"><a class="nav-link" id="separatistTab" data-toggle="tab" href="#separatistContent" title="Separatist Alliance"><i class="xwing-miniatures-font xwing-miniatures-font-separatists"></i></a></li><li class="nav-item"><a class="nav-link translated" id="allTab" data-toggle="tab" href="#allContent" title="All" defaultText="MultiFaction"></a></li><li class="nav-item float-right"><a class="nav-link translated" href="https://github.com/raithos/xwing/issues/new" target="_blank" defaultText="Submit Bug/Feature Request"> </a></li><li class="nav-item float-right"><a class="d-none nav-link" id="login-logout" href="#"><span class="hide-authenticated"><i class="fa fa-sign-in-alt"></i><span class="translated" defaultText="Log In"></span></span><span class="show-authenticated"><i class="fa fa-sign-out-alt"></i><span class="translated" deafaultText="Log Out"></span></span></a></li><li class="nav-item float-right"><a class="nav-link" id="auth-status" href="#"><i class="fa fa-sync fa-spin"></i><span class="payload"></span></a></li><!-- li.nav-item.float-right--><!-- a.nav-link(href='old', target='_blank') Old Version --><li class="dropdown language-picker nav-item float-right"><a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#"><span class="language-placeholder"></span><b class="caret"></b></a><ul class="dropdown-menu"> </ul></li><li class="nav-item float-right"><a class="nav-link translated" id="aboutTab" data-toggle="tab" href="#aboutContent" defaultText="About"></a></li><li class="nav-item float-right"><a class="nav-link translated" id="browserTab" data-toggle="tab" href="#browserContent" defaultText="Card Browser"></a></li><li class="nav-item float-right"><a class="nav-link translated" id="rulesTab" data-toggle="tab" href="#rulesBrowserContent" defaultText="Rules"></a></li></ul><div class="tab-content"><div class="tab-pane fade" id="rebelContent"><div id="rebel-builder"></div></div><div class="tab-pane fade" id="empireContent"><div id="empire-builder"></div></div><div class="tab-pane fade" id="scumContent"><div id="scum-builder"></div></div><div class="tab-pane fade" id="resistanceContent"><div id="resistance-builder"></div></div><div class="tab-pane fade" id="firstorderContent"><div id="firstorder-builder"></div></div><div class="tab-pane fade" id="republicContent"><div id="republic-builder"></div></div><div class="tab-pane fade" id="separatistContent"><div id="separatist-builder"></div></div><div class="tab-pane fade" id="allContent"><div id="all-builder"></div></div><div class="tab-pane fade" id="browserContent"><div id="card-browser"></div></div><div class="tab-pane fade" id="rulesBrowserContent"><div id="rules-browser"></div></div><div class="tab-pane fade" id="aboutContent"><div class="container-fluid"><div class="row-fluid"><div class="span8 about"><div class="image-block"><img src="android-chrome-192x192.png" height="100" width="100"><h2>OLD YASB for X-Wing 2.0</h2></div><p>OLD YASB. We've moved to YASB.APP </p>
<p>It is pure HTML, JavaScript, and CSS and requires no backend, and can be dropped into place on any website (with maybe a few CSS tweaks).</p>
<p>YASB 2.0 updated and maintained by Stephen Kim.</p>
<p>2.0 launch data thanks to Evan Cameron, Jonathan Hon, Devon Monkhouse, and Mark Stewart.</p>
<p>Translation Team: Patrick Mischke, godgremos, Clément Bourgoin, ManuelWittke</p>
<p>Site logo by Thomas Kohler</p>
<p>Based on the amazing original <a href="https://geordanr.github.io/xwing/">Yet Another Squad Builder</a></p>
<p>Icons and fonts courtesy GeckoTH&#39;s excellent PSD, available on <a href="http://www.afewmaneuvers.com/forums/viewtopic.php?f=28&amp;t=183">A Few Maneuvers</a>.</p>
<p>X-Wing symbols font courtesy <a href="https://github.com/Hinny">Hinny</a> and <a href="https://github.com/armoredgear7">Josh Derksen</a>.</p>
<p>Fancy printout design inspired by TheKestrel on the FFG forums.</p>
<p>Maneuver dial functionality by <a href="https://github.com/hpanderson">hpanderson</a>.</p>
<p>Upgrade card text integrated into printouts by <a href="https://github.com/wffurr">wffurr</a>.</p>
<p>Squad name in the permalink and obstacles choice modal by <a href="https://github.com/zacharyp">zacharyp</a>.</p>
<p>Quick Build support by <a href="https://github.com/patschke">patschke</a></p>
<p>This builder is unofficial and is not affiliated with Fantasy Flight Games, Lucasfilm Ltd., or Disney.</p>
<p>Do you want to donate? Many people have bothered me to add a donate button so here it is! Please don&#39;t feel obligated to donate for using this site just because this button is here. This site will always be free, and always 100% available for all people to use.</p><p><button class="btn btn-primary paypal" onclick="window.open('https://paypal.me/raithos');">Donate?</button></p></div></div></div></div></div></div><div class="footer"><div class="msie8-hax"></div></div><div class="d-none d-print-block" id="printable"><div class="printable-header"></div><div class="printable-body"></div><div class="printable-footer">Created at<strong class="site-placeholder"></strong></div></div><!-- JS linkages--><script src="bower_components/jquery/js/jquery.js?1639872432"></script><script src="bower_components/jquery-ui/js/jquery-ui.min.js?1639872432"></script><script src="bower_components/jquery-ajaxtransport-xdomainrequest/jquery.xdomainrequest.min.js?1639872432"></script><script src="bower_components/jquery.qrcode/js/jquery-qrcode.min.js?1639872432"></script><script src="bower_components/select2/select2.js?1639872432"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script><script src="bootstrap/js/bootstrap.js?1639872432"></script><script src="javascripts/translations.min.js?1639872432"></script><script src="javascripts/xwing.min.js?1639872432"></script><script src="javascripts/xwingcontent.min.js?1639872432"></script><script src="javascripts/translations.min.js?1639872432"></script><script>(function() {
$(function() {
window.setupTranslationSupport();
switch (window.location.hash) {
case '#rebelContent':
window.location.replace('?f=Rebel Alliance');
break;
case '#empireContent':
window.location.replace('?f=Galactic Empire');
break;
case '#scumContent':
window.location.replace('?f=Scum and Villainy');
break;
case '#resistanceContent':
window.location.replace('?f=Resistance');
break;
case '#firstorderContent':
window.location.replace('?f=First Order');
break;
case '#republicContent':
window.location.replace('?f=Galactic Republic');
break;
case '#separatistContent':
window.location.replace('?f=Separatist Alliance');
break;
case '#allContent':
window.location.replace('?f=All');
}
$('.site-placeholder').text("http://\#{window.location.host}\#{window.location.pathname}");
$('#rebelTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/rebels',
page_title: 'Rebel Alliance'
});
});
$('#empireTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/empire',
page_title: 'Galactic Empire'
});
});
$('#scumTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/scum',
page_title: 'Scum and Villainy'
});
});
$('#resistanceTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/resistance',
page_title: 'Resistance'
});
});
$('#firstorderTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/firstorder',
page_title: 'First Order'
});
});
$('#republicTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/republic',
page_title: 'Galactic Republic'
});
});
$('#separatistTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/separatist',
page_page_title: 'Separatist Alliance'
});
});
$('#allTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/all',
page_page_title: 'All'
});
});
$('#browserTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/browser',
page_title: 'Card Browser'
});
});
$('#rulesTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/rules-browser',
page_title: 'Rules'
});
});
$('#aboutTab').click(function(e) {
return gtag('config', 'UA-123324723-1', {
page_path: '/about',
page_title: 'About'
});
});
window.rebel_sb = new window.SquadBuilder({
tab: '#rebelTab',
faction: 'Rebel Alliance',
container: '#rebel-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.rebel_sb);
window.empire_sb = new window.SquadBuilder({
tab: '#empireTab',
faction: 'Galactic Empire',
container: '#empire-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.empire_sb);
window.scum_sb = new window.SquadBuilder({
tab: '#scumTab',
faction: 'Scum and Villainy',
container: '#scum-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.scum_sb);
window.resistance_sb = new window.SquadBuilder({
tab: '#resistanceTab',
faction: 'Resistance',
container: '#resistance-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.resistance_sb);
window.firstorder_sb = new window.SquadBuilder({
tab: '#firstorderTab',
faction: 'First Order',
container: '#firstorder-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.firstorder_sb);
window.republic_sb = new window.SquadBuilder({
tab: '#republicTab',
faction: 'Galactic Republic',
container: '#republic-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.republic_sb);
window.separatist_sb = new window.SquadBuilder({
tab: '#separatistTab',
faction: 'Separatist Alliance',
container: '#separatist-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.separatist_sb);
window.all_sb = new window.SquadBuilder({
tab: '#allTab',
faction: 'All',
container: '#all-builder',
printable_container: '#printable'
});
window.registerBuilderForTranslation(window.all_sb);
switch ($.getParameterByName('f')) {
case 'Rebel Alliance':
gtag('config', 'UA-123324723-1', {
page_path: '/rebels',
page_title: 'Rebel Alliance'
});
$('#rebelTab').tab('show');
break;
case 'Galactic Empire':
gtag('config', 'UA-123324723-1', {
page_path: '/empire',
page_title: 'Galactic Empire'
});
$('#empireTab').tab('show');
break;
case 'Scum and Villainy':
gtag('config', 'UA-123324723-1', {
page_path: '/scum',
page_title: 'Scum and Villainy'
});
$('#scumTab').tab('show');
break;
case 'Resistance':
gtag('config', 'UA-123324723-1', {
page_path: '/resistance',
page_title: 'Resistance'
});
$('#resistanceTab').tab('show');
break;
case 'First Order':
gtag('config', 'UA-123324723-1', {
page_path: '/firstorder',
page_title: 'First Order'
});
$('#firstorderTab').tab('show');
break;
case 'Galactic Republic':
gtag('config', 'UA-123324723-1', {
page_path: '/republic',
page_title: 'Galactic Republic'
});
$('#republicTab').tab('show');
break;
case 'Separatist Alliance':
gtag('config', 'UA-123324723-1', {
page_path: '/separatist',
page_title: 'Separatist Alliance'
});
$('#separatistTab').tab('show');
break;
case 'All':
gtag('config', 'UA-123324723-1', {
page_path: '/all',
page_title: 'All'
});
$('#allTab').tab('show');
break;
default:
gtag('config', 'UA-123324723-1', {
page_path: '/default',
page_title: 'Main Page'
});
$('#rebelTab').tab('show');
}
window.backend = new SquadBuilderBackend({
server: 'https://yasb-backend.herokuapp.com',
builders: [window.rebel_sb, window.empire_sb, window.scum_sb, window.resistance_sb, window.firstorder_sb, window.republic_sb, window.separatist_sb, window.all_sb],
login_logout_button: '#login-logout',
auth_status: '#auth-status'
});
window.browser = new CardBrowser({
container: '#card-browser'
});
window.browser = new RulesBrowser({
container: '#rules-browser'
});
window.backend.getSettings(function(settings) {
return window.backend.getLanguagePreference(settings, function(language, priority) {
return $(window).trigger('xwing:languageChanged', [language, priority]);
});
});
window.setupTranslationUI(window.backend);
if ((window.location.href.indexOf('https:') !== 0) && ((navigator.userAgent.indexOf('MSIE 8') > -1) || (navigator.userAgent.indexOf('MSIE 9') > -1))) {
$('.msie8-hax').html('Trouble logging in? Try clicking <a href="#">here</a> first.');
return $('.msie8-hax a').click(function(e) {
e.preventDefault();
return window.location.href = window.location.href.replace(/^http:/, 'https:');
});
}
});
}).call(this);
</script><div class="font-hax"><span style="font-family: BankGothicHD">&nbsp;</span><span style="font-family: kimberley">&nbsp;</span><span style="font-family: XWing">&nbsp;</span><span style="font-family: XWingShip">&nbsp;</span></div></body></html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sisyphus2016/YASB.git
[email protected]:sisyphus2016/YASB.git
sisyphus2016
YASB
YASB
master

搜索帮助