Skip to content

Commit

Permalink
Better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Dec 22, 2021
1 parent b6a43d8 commit e1d23fe
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 46 deletions.
51 changes: 23 additions & 28 deletions app/application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ <h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are r
<!-- content -->
<div class="bg-gray-700 w-3/5 mx-auto mt-20 mb-60 rounded-2xl relative text-center content p-1">
<h1 class="h1 mb-5">Authme</h1>
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3" id="choose">
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 pb-5" id="choose">
<h3 class="pt-3">Please choose your import file!</h3>
<h4>If you don't have an import file please create one!</h4>
<h4>If you don't have an import file containing your 2FA codes please create one!</h4>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni" id="input" onclick="loadFile()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
Expand All @@ -138,63 +138,58 @@ <h4>If you don't have an import file please create one!</h4>
Create import file
</button>
</div>
<br />
</div>
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3" id="starting">
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 pb-5" id="starting">
<h3 class="pt-3">Getting started</h3>
<h4>Useful options</h4>
<h4>Importing files</h4>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni" onclick="configureSettings()">
<button class="buttoni" onclick="readDocs()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" />
</svg>
Configure settings
Read online docs
</button>
<button class="buttoni" onclick="supportDevelopment()">
<button class="buttoni" onclick="sampleImport()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
Support development
Sample import file
</button>
</div>
<h4>Importing files</h4>
<h4>Useful options</h4>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni" onclick="readDocs()">
<button class="buttoni" onclick="configureSettings()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
Read online docs
Configure settings
</button>
<button class="buttoni" onclick="sampleImport()">
<button class="buttoni" onclick="supportDevelopment()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" />
</svg>
Sample import file
Support development
</button>
</div>
<br />
</div>
<br />
<div class="save_container flex justify-center" id="save">
<div class="mx-auto rounded-2xl bg-gray-800 mb-8 w-2/3">
<h3 class="pt-3">Save code(s)</h3>
<h4>Save your code(s) to your computer for future use.</h4>
<div class="mx-auto rounded-2xl bg-gray-800 mb-8 w-2/3 pb-5">
<h3 class="pt-3">Save codes</h3>
<h4>Save your 2FA codes to your computer for future use.</h4>
<div class="flex flex-row items-center justify-center">
<div class="gap-3">
<button class="buttoni" onclick="saveCodes()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
Save code(s)
Save codes
</button>
</div>
</div>
<br />
</div>
</div>
<br />
<div class="search_container relative inline-block">
<div class="search_container relative inline-block pt-8">
<input name="search" spellcheck="false" id="search" class="input w-80 hidden text-2xl mb-1" onkeyup="search()" onkeydown="search()" />
<!-- search icon -->
<svg id="searchIcon" xmlns="http://www.w3.org/2000/svg" class="hidden searchIcon h-6 w-6 relative top-[-50px] right-[150px] pointer-events-none" fill="none" viewBox="0 0 24 24" stroke="black">
Expand Down
10 changes: 5 additions & 5 deletions app/edit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ <h3>You can rollback to the latest save. If you load your codes below it will ov
</div>
<!-- load codes -->
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 mb-20 mt-20 beforeLoad">
<h2 id="rollbackBut" class="pt-5">Load saved code(s)</h2>
<h3>You can load the codes you saved. After that you can edit or delete them and you can add more codes.</h3>
<h2 id="rollbackBut" class="pt-5">Load saved codes</h2>
<h3>You can load the 2FA codes you saved. After that you can edit or delete them and you can add more codes.</h3>
<button class="buttoni mb-5" onclick="loadCodes()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z" />
</svg>
Load code(s)
Load codes
</button>
</div>
<!-- save codes and add codes -->
Expand All @@ -67,14 +67,14 @@ <h3>Now you can modify existing codes or add more codes.</h3>
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
Save modification(s)
Save modifications
</button>

<button class="buttoni" onclick="addCodes()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
Add code(s)
Add codes
</button>
</div>
<div class="mx-auto pb-5">
Expand Down
2 changes: 1 addition & 1 deletion app/export/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h3>If you saved your codes you can export the secrets and the saved QR codes.</
<div class="after_export hidden">
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 mt-20 mb-20">
<h2 class="pt-5">Save exported codes</h2>
<h3>Save your exported codes to use it elsewhere.</h3>
<h3>Save your exported 2FA codes to use it elsewhere.</h3>
<div class="flex flex-row justify-center gap-3 flex-wrap">
<div>
<button class="buttoni" id="but1" onclick="newSaveFile()">
Expand Down
11 changes: 0 additions & 11 deletions app/import/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,6 @@ <h4>You can create your import file from QR codes and Google Authenticator QR co

<!-- content -->
<div class="bg-gray-700 w-3/5 m-auto mt-20 mb-60 rounded-2xl relative text-center p-1">
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 mb-20 mt-20" id="choose">
<h2 class="pt-5">Instructions</h2>
<h3>You can create your import file here. For more information please read the documentation.</h3>
<button class="buttoni mb-8" onclick="onlineDocs()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" />
</svg>
Documentation
</button>
</div>

<div class="choose">
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 mb-20" id="choose">
<h2 class="pt-5">Import</h2>
Expand Down
Loading

0 comments on commit e1d23fe

Please sign in to comment.