-
Notifications
You must be signed in to change notification settings - Fork 7
Refactor-draft-to-remove-bootstrap #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
DinneK
wants to merge
1
commit into
main
Choose a base branch
from
Fix-bootstrap
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,54 @@ | ||
body { | ||
margin: 20px; | ||
font-family: "Source Sans Pro", "Helvetica Neue", Arial, Helvetica, sans-serif; | ||
line-height: 1.42857143; | ||
color: #333; | ||
} | ||
|
||
textarea { | ||
margin-bottom: 10px; | ||
#form-header { | ||
margin-bottom: 20px; | ||
} | ||
|
||
#output { | ||
margin-top: 20px; | ||
} | ||
|
||
.usa-textarea, | ||
#json-result { | ||
display: block; | ||
width: 100%; | ||
height: auto; | ||
padding: 6px 12px; | ||
font-size: 14px; | ||
line-height: 1.42857143; | ||
color: #555; | ||
background-color: #fff; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075); | ||
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; | ||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace; | ||
} | ||
|
||
.usa-button { | ||
display: inline-block; | ||
margin-bottom: 0; | ||
font-weight: 400; | ||
text-align: center; | ||
white-space: nowrap; | ||
vertical-align: middle; | ||
touch-action: manipulation; | ||
cursor: pointer; | ||
border: 1px solid transparent; | ||
padding: 6px 12px; | ||
font-size: 14px; | ||
line-height: 1.42857143; | ||
border-radius: 4px; | ||
user-select: none; | ||
} | ||
|
||
label { | ||
display: inline-block; | ||
max-width: 100%; | ||
margin-bottom: 5px; | ||
font-weight: 600; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<html> | ||
<head> | ||
<!-- USWDS not working --> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> --> | ||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> --> | ||
<!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> --> | ||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/2.11.2/css/uswds.min.css"> --> | ||
<!-- <link rel="stylesheet" href="https://cdn.form.io/formiojs/formio.form.min.css"> --> | ||
<!-- <link rel="stylesheet" href="https://cdn.form.io/uswds/uswds.min.css"> --> | ||
<!-- <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/formio.full.min.css"> --> | ||
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/uswds/2.11.2/js/uswds.min.js"></script> --> | ||
<!-- <script src="https://cdn.form.io/formiojs/formio.form.min.js"></script> --> | ||
<!-- <script src="https://cdn.form.io/uswds/uswds.min.js"></script> --> | ||
<!-- <script src="https://cdn.form.io/formiojs/formio.full.js"></script> --> | ||
<!-- <script src="https://cdn.form.io/js/formio.embed.js"></script> --> | ||
|
||
<!-- Uses bootstrap for now --> | ||
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'> | ||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/formio.full.min.css"> --> | ||
<!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> --> | ||
<!-- <link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'> --> | ||
<!-- <script src="https://cdn.form.io/uswds/uswds.min.js" defer></script> --> | ||
<!-- <script src="https://cdn.form.io/formiojs/formio.form.min.js" defer></script> --> | ||
<!-- <script src="https://cdn.form.io/formiojs/formio.full.js" defer></script> --> | ||
<!-- <script src="https://cdn.form.io/js/formio.embed.js" defer></script> --> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.0/css/uswds.min.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.0/fonts/fonts.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/formio.full.min.css"> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
|
||
<!-- Working Form.io CDN --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.0/js/uswds.min.js" defer></script> | ||
<script src="https://unpkg.com/[email protected]/dist/formio.full.min.js"></script> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/formio.full.min.css" rel="stylesheet"> | ||
|
||
<!-- Render the form --> | ||
<script src="js/generateFormComponents.js"></script> | ||
|
@@ -52,11 +52,11 @@ | |
<body> | ||
<div id="form-header"></div> | ||
<div id="formio"></div> | ||
<div id="output"> | ||
<div id="output" class="margin-top-3"> | ||
<label for="json-result">Your JSON Metadata </label> | ||
<textarea class="form-control" rows="10" id="json-result" readonly></textarea> | ||
<button type="button" class="btn btn-outline" href="#" onclick="copyToClipboard(event)">Copy</button> | ||
<button type="button" class="btn btn-outline" href="#" onclick="downloadFile(event)">Download</button> | ||
<textarea class="form-control usa-textarea" rows="10" id="json-result" readonly></textarea> | ||
<button type="button" class="btn btn-outline usa-button" href="#" onclick="copyToClipboard(event)">Copy</button> | ||
<button type="button" class="btn btn-outline usa-button" href="#" onclick="downloadFile(event)">Download</button> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Inclusion of functionality from an untrusted source Medium