Skip to content

Commit

Permalink
Linter: Use prettier instead of StandardJS
Browse files Browse the repository at this point in the history
  • Loading branch information
mjal committed May 13, 2024
1 parent cd4f28f commit 3f10013
Show file tree
Hide file tree
Showing 17 changed files with 577 additions and 3,823 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,7 +17,7 @@ permissions:

# Allow one concurrent deployment
concurrency:
group: 'pages'
group: "pages"
cancel-in-progress: true

jobs:
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
# Upload dist folder
path: './dist'
path: "./dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
50 changes: 25 additions & 25 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
<!DOCTYPE html>
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Election verifier</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="container">
<!--
<!--
<input type="text" id="uuid" placeholder="Election uuid" value="uSvjxvtjMbuFvg">
<button id="verify">Verify</button>
-->
<h2>Import your .bel file</h2>
<input type="file" id="file" placeholder="Import your .bel file">
<div id="content">
<h3 id="top"></h3>
<h3>Database</h3>
<div id="database"></div>
<h3>Setup</h3>
<div id="setup"></div>
<h3>Ballots</h3>
<div id="ballots"></div>
<h3>EncryptedTally</h3>
<div id="encryptedTally"></div>
<h3>PartialDecryptions</h3>
<div id="partialDecryptions"></div>
<h3></h3>
</div>
<h2>Import your .bel file</h2>
<input type="file" id="file" placeholder="Import your .bel file" />
<div id="content">
<h3 id="top"></h3>
<h3>Database</h3>
<div id="database"></div>
<h3>Setup</h3>
<div id="setup"></div>
<h3>Ballots</h3>
<div id="ballots"></div>
<h3>EncryptedTally</h3>
<div id="encryptedTally"></div>
<h3>PartialDecryptions</h3>
<div id="partialDecryptions"></div>
<h3></h3>
</div>
</div>
<script type="module" src="src/web.js"></script>
</body>
</body>
</html>
Loading

0 comments on commit 3f10013

Please sign in to comment.