Skip to content

Commit

Permalink
Merge pull request #9 from imigueldiaz/restructure-addon
Browse files Browse the repository at this point in the history
Update icons paths to be relative to the current directory
  • Loading branch information
imigueldiaz authored Apr 4, 2024
2 parents fe26323 + 0f1bd60 commit 5776ea8
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion options/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<input type="number" id="temperature" name="temperature" value="1" step="0.01" min="0" max="2" aria-required="true"><br><br>
<button type="submit" class="ok" id="save">
<span class="button-text"></span>
<img src="../icons/save.svg" width="40" height="40" id="saveImg"/>
<img src="save.svg" width="40" height="40" id="saveImg"/>
</button>
</fieldset>
</form>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
16 changes: 8 additions & 8 deletions popup/extension.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<body>
<div id="tabs" role="tablist">
<button id="popupTab" class="tabLink active" role="tab" aria-selected="true" aria-controls="popupContent">
<img src="../icons/resume.svg" alt="Resume icon"/>
<img src="resume.svg" alt="Resume icon"/>
<span class="button-text"></span>
</button>
<button id="optionsTab" class="tabLink" role="tab" aria-selected="false" aria-controls="optionsContent">
<img src="../icons/settings.svg" alt="Settings icon"/>
<img src="settings.svg" alt="Settings icon"/>
<span class="button-text"></span>
</button>
<button id="aboutTab" class="tabLink" role="tab" aria-selected="false" aria-controls="aboutContent">
<img src="../icons/info.svg" alt="About icon"/>
<img src="info.svg" alt="About icon"/>
<span class="button-text"></span>
</button>

Expand All @@ -31,19 +31,19 @@
</div>
<div id="button-container">
<button id="copyMarkdown">
<img src="../icons/copy-md.svg" alt="Copy markdown icon"/>
<img src="copy-md.svg" alt="Copy markdown icon"/>
<span class="button-text"></span>
</button>
<button id="copyHtml">
<img src="../icons/copy-html.svg" alt="Copy HTML icon"/>
<img src="copy-html.svg" alt="Copy HTML icon"/>
<span class="button-text"></span>
</button>
<button id="copyText">
<img src="../icons/copy.svg" alt="Copy text icon"/>
<img src="copy.svg" alt="Copy text icon"/>
<span class="button-text"></span>
</button>
<button id="resume" class="ok" aria-controls="responseContainer" aria-expanded="false">
<img src="../icons/resume.svg" alt="Resume icon"/>
<img src="resume.svg" alt="Resume icon"/>
<span class="button-text"></span>
</button>
</div>
Expand All @@ -60,7 +60,7 @@
<input type="number" id="temperature" name="temperature" value="1" step="0.01" min="0" max="2" aria-required="true"><br><br>
<button type="submit" class="ok" id="save">
<span class="button-text"></span>
<img src="../icons/save.svg" alt="Save icon" width="20" height="20" id="saveImg"/>
<img src="save.svg" alt="Save icon" width="20" height="20" id="saveImg"/>
</button>
</fieldset>
<div id="saveSuccess" class="info-badge" role="status"></div>
Expand Down
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions popup/save.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit 5776ea8

Please sign in to comment.