|
@ -28,8 +28,9 @@ |
|
|
|
|
|
|
|
|
<body> |
|
|
<body> |
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
|
|
|
<div class="top-bar"> |
|
|
|
|
|
<div class="container"> |
|
|
<h2>VHDL Beautifier, Formatter</h2> |
|
|
<h2>VHDL Beautifier, Formatter</h2> |
|
|
<p style="color:#888"> |
|
|
|
|
|
<ul> |
|
|
<ul> |
|
|
<li> |
|
|
<li> |
|
|
<div class="tooltip emoji top-button" onclick="showInfo();">ℹ |
|
|
<div class="tooltip emoji top-button" onclick="showInfo();">ℹ |
|
@ -75,7 +76,8 @@ |
|
|
<a class="top-button" href="https://github.com/g2384/VHDLFormatter">Source code</a> |
|
|
<a class="top-button" href="https://github.com/g2384/VHDLFormatter">Source code</a> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</p> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
<textarea id="in" rows="10" wrap="off"></textarea> |
|
|
<textarea id="in" rows="10" wrap="off"></textarea> |
|
|
<br> |
|
|
<br> |
|
|
<div class="setting-field"> |
|
|
<div class="setting-field"> |
|
@ -298,6 +300,9 @@ |
|
|
const localStorageSettingKey = "settings"; |
|
|
const localStorageSettingKey = "settings"; |
|
|
const localStorageNoFormatKey = "noFormat"; |
|
|
const localStorageNoFormatKey = "noFormat"; |
|
|
|
|
|
|
|
|
|
|
|
var areaIn = document.getElementById("in"); |
|
|
|
|
|
areaIn.placeholder = "library IEEE;\nuse IEEE.std_logic_1164.all;\nuse IEEE.std_logic_unsigned.all;\n..."; |
|
|
|
|
|
|
|
|
function showHideSettings() { |
|
|
function showHideSettings() { |
|
|
var settingsDiv = document.getElementById("settings_div"); |
|
|
var settingsDiv = document.getElementById("settings_div"); |
|
|
var control = document.getElementById("settings_control"); |
|
|
var control = document.getElementById("settings_control"); |
|
|