<title>AlterISO3 ビルドオプション ジェネレータ</title>
<link rel="stylesheet" href="mobile.css" media="screen and (max-width:480px)">
<link rel="stylesheet" href="pc.css" media="screen and (min-width:480px)">
- <script type="text/javascript" src="main.js"></script>
</head>
<body>
<header>
<p class="option_title"><h3>アーキテクチャ</h3></p>
<p class="option_description">ビルドするアニメーションを指定します</p>
<p class="option_form">
- <select name="architecture" id="architecture">
+ <select name="architecture" id="architecture" onchange="kernelMain()">
<option value="i686">i686</option>
<option value="x86_64" selected>x86_64</option>
</select>
<p class="option_description">使用するカーネルを設定します</p>
<p class="option_form">
<select name="kernel" id="kernel">
- <option value="core">linux</option>
- <option value="lts">linux-lts</option>
- <option value="zen">linux-zen</option>
- <script>
-
- </script>
-
+ <option disabled selected>アーキテクチャを選択してください</option>
</select>
</p>
<p>このジェネレータでは引数はデフォルト値ではない場合のみ指定するようになっています。</p>
<textarea id="output" disabled></textarea><br>
<label for="only_no_default"><input name="only_no_default" type="checkbox" id="only_no_default">デフォルトの値も引数で指定する。</label>
- <input type="button" value="生成" onClick="startgen()">
+ <input type="button" value="生成" onclick="startgen()">
</form>
</main>
<footer>
</footer>
+
+ <script type="text/javascript" src="main.js"></script>
+ <script type="text/javascript" src="kernellist.js"></script>
</body>
</html>
\ No newline at end of file
}
}
+function getKernel () {
+ var _Kernel = document.getElementById("kernel").value;
+ if(_Kernel != "") {
+ if (_Kernel != "zen" || ONLY_NO_DEFAULT == false) {
+ ARGUMENTS = ARGUMENTS + " -k \"" + _Kernel + "\"";
+ }
+ }
+}
+
function getUsername (){
var _Username = document.getElementById("username").value;
// console.log(_Username);
getTarball();
getArchitecture();
getCompType();
+ getKernel();
getUsername();
getPassword();
getDebug();