Skip to content

Commit

Permalink
reverting unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vsolskyyy committed Sep 24, 2024
1 parent ab331c7 commit 97797d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion public/language/el/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"composer.formatting.link": "Link",
"composer.formatting.picture": "Image Link",
"composer.upload-picture": "Upload Image",
"composer.upload-video": "Upload Video",
"composer.upload-file": "Upload File",
"composer.zen-mode": "Zen Mode",
"composer.select-category": "Select a category",
Expand Down
2 changes: 1 addition & 1 deletion src/views/admin/extend/widgets.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="tab-pane {{{ if @first }}}active{{{ end }}}" data-template="{./template}">
{{{ each templates.areas }}}
<div class="area" data-template="{templates.template}" data-location="{./location}">
<h5>{./name} <span class="fs-1">{templates.template} / {./location}</span></h5>
<h5>{./name} <span class="fs-6 text-secondary">{templates.template} / {./location}</span></h5>
<div class="card card-body text-bg-light widget-area {{{ if (./location == "drafts")}}} overflow-auto{{{ end }}}" {{{ if (./location == "drafts")}}}style="max-height: calc(100vh - 200px);"{{{ end }}}>

</div>
Expand Down
6 changes: 3 additions & 3 deletions src/views/modals/upload-file.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="modal" tabindex="-1" role="dialog" aria-labelledby="upload-zen" aria-hidden="true">
<div class="modal" tabindex="-1" role="dialog" aria-labelledby="upload-file" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="test">{title}</h1>
<h5 class="modal-title">{title}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
</div>
<div class="modal-body">
Expand All @@ -11,7 +11,7 @@
{{{ if description }}}
<label class="form-label" for="fileInput">{description}</label>
{{{ end }}}
<input type="file" id="fileInput" name="files[]" {{{ if accept }}}accept="{accept}, video/*{{{ end }}}">
<input type="file" id="fileInput" name="files[]" {{{ if accept }}}accept="{accept}"{{{ end }}}>
{{{ if showHelp }}}
<p class="form-text">
{{{ if accept }}}
Expand Down
6 changes: 3 additions & 3 deletions src/views/modals/upload-picture-from-url.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div id="upload-picture-from-url-modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="upload-picture-url" aria-hidden="false">
<div id="upload-picture-from-url-modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="upload-picture-url" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="upload-picture-url">[[user:upload-picture]]</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="false"></button>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
</div>
<div class="modal-body">
<input id="uploadFromUrl" class="form-control" type="text"/>
</div>
<div class="modal-footer">
<button class="btn btn-outline-secondary" data-bs-dismiss="modal" aria-hidden="false">[[global:close]]</button>
<button class="btn btn-outline-secondary" data-bs-dismiss="modal" aria-hidden="true">[[global:close]]</button>
<button class="btn btn-primary upload-btn">[[user:upload-picture]]</button>
</div>
</div>
Expand Down

0 comments on commit 97797d4

Please sign in to comment.