Skip to content

Commit

Permalink
making the edit and upload pages responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
404mike committed Sep 3, 2024
1 parent b6992b0 commit 7e48ae8
Show file tree
Hide file tree
Showing 10 changed files with 333 additions and 60 deletions.
2 changes: 1 addition & 1 deletion dist/main.css

Large diffs are not rendered by default.

94 changes: 83 additions & 11 deletions dist/pages/accordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,24 @@
</span>
</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-english-title" placeholder="Short title">
<div id="englishTitleHelp" class="form-text contribute-help-issue"></div>
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 alternative-language" type="button"
id="contribute-title-form-english">Cymraeg</button>
</div>
Expand All @@ -213,10 +226,23 @@
<div class="mb-3 d-none" id="contribute-title-form-welsh">
<label for="contribute-welsh-title" class="form-label fs-5">Cymraeg</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-welsh-title" placeholder="Short title">
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 translate-button" id="translate-title-welsh"
type="button">Translate</button>
</div>
Expand All @@ -239,13 +265,26 @@
</span>
</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<textarea class="form-control" id="contribute-english-description"
placeholder="A good description will include details like: who, what, where and when"
rows="7"></textarea>
<div id="englishDescriptionHelp" class="form-text contribute-help-issue"></div>
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 alternative-language" type="button"
id="contribute-description-form-english">Cymraeg</button>
</div>
Expand All @@ -255,12 +294,25 @@
<div class="mb-3 d-none" id="contribute-description-form-welsh">
<label for="translate-description-welsh" class="form-label fs-5">Cymraeg</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<textarea class="form-control" id="contribute-welsh-description"
placeholder="A good description will include details like: who, what, where and when"
rows="7"></textarea>
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 translate-button" id="translate-description-welsh"
type="button">Translate</button>
</div>
Expand Down Expand Up @@ -326,11 +378,24 @@
Link
</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-english-link"
placeholder="Link if your item is also on another website">
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 alternative-language" type="button"
id="contribute-link-form-english">Cymraeg</button>
</div>
Expand All @@ -340,7 +405,14 @@
<div class="mb-3 d-none" id="contribute-link-form-welsh">
<label for="contribute-welsh-link" class="form-label fs-5">Cymraeg</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-welsh-link"
placeholder="Link if your item is also on another website">
</div>
Expand Down
103 changes: 91 additions & 12 deletions dist/pages/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,14 @@
</nav>
<div class="container text-start" id="contribute-form" role="main">
<div class="row justify-content-center">
<div class="col-8">
<div class="
col-xxl-8
col-xl-8
col-lg-8
col-md-10
col-sm-12
col-12
">

<div>
<img src="https://www.peoplescollection.wales/sites/default/files/styles/edit_node_thumb_larger/public/images/2014/February/GTJ11835_2.jpg?itok=v-XMza94"
Expand Down Expand Up @@ -213,11 +220,24 @@
</span>
</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-english-title" placeholder="Short title">
<div id="englishTitleHelp" class="form-text contribute-help-issue"></div>
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 alternative-language" type="button"
id="contribute-title-form-english">Cymraeg</button>
</div>
Expand All @@ -227,10 +247,23 @@
<div class="mb-3 d-none" id="contribute-title-form-welsh">
<label for="contribute-welsh-title" class="form-label fs-5">Cymraeg</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-welsh-title" placeholder="Short title">
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 translate-button" id="translate-title-welsh"
type="button">Translate</button>
</div>
Expand All @@ -253,13 +286,26 @@
</span>
</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<textarea class="form-control" id="contribute-english-description"
placeholder="A good description will include details like: who, what, where and when"
rows="7"></textarea>
<div id="englishDescriptionHelp" class="form-text contribute-help-issue"></div>
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 alternative-language" type="button"
id="contribute-description-form-english">Cymraeg</button>
</div>
Expand All @@ -269,12 +315,25 @@
<div class="mb-3 d-none" id="contribute-description-form-welsh">
<label for="translate-description-welsh" class="form-label fs-5">Cymraeg</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<textarea class="form-control" id="contribute-welsh-description"
placeholder="A good description will include details like: who, what, where and when"
rows="7"></textarea>
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 translate-button" id="translate-description-welsh"
type="button">Translate</button>
</div>
Expand Down Expand Up @@ -340,11 +399,24 @@
Link
</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-english-link"
placeholder="Link if your item is also on another website">
</div>
<div class="col-2">
<div class="
col-xxl-2
col-xl-2
col-lg-3
col-md-3
col-sm-3
">
<button class="btn btn-secondary w-100 alternative-language" type="button"
id="contribute-link-form-english">Cymraeg</button>
</div>
Expand All @@ -354,7 +426,14 @@
<div class="mb-3 d-none" id="contribute-link-form-welsh">
<label for="contribute-welsh-link" class="form-label fs-5">Cymraeg</label>
<div class="row">
<div class="col-10">
<div class="
col-xxl-10
col-xl-10
col-lg-12
col-md-12
col-sm-12
col-12
">
<input type="text" class="form-control" id="contribute-welsh-link"
placeholder="Link if your item is also on another website">
</div>
Expand Down
Loading

0 comments on commit 7e48ae8

Please sign in to comment.