diff options
| author | 2025-11-01 10:15:59 +0100 | |
|---|---|---|
| committer | 2025-11-01 10:15:59 +0100 | |
| commit | b0a663f6ee9d28c71643d9a18c955a60b90cb7c1 (patch) | |
| tree | 60ba1ef87fd73e75c09c1cd62be951e78ea40802 /app/views | |
| parent | f97d774c59711245e0efa47018afdcabe0620505 (diff) | |
Fix/improve <textarea> (#8171)
## Feed configuration slider:
### Before:
<img width="747" height="346" alt="grafik" src="https://github.com/user-attachments/assets/37056ef8-1163-48d1-a3dd-99e745418b2d" />
### After:
<img width="743" height="473" alt="grafik" src="https://github.com/user-attachments/assets/388a0ef6-633e-43ee-8ea5-5cbe7b40e6e4" />
## CustomCSS, CustomJS extensions
### Before:
<img width="762" height="504" alt="grafik" src="https://github.com/user-attachments/assets/279801fb-06a7-477a-81e7-c681087595a5" />
### After:
<img width="767" height="922" alt="grafik" src="https://github.com/user-attachments/assets/ca4cf304-03c7-4028-89d0-1c3094086176" />
And cleaning some CSS
* UserCSS+JS: w100 h50
* clean textarea width height
* feed config slider
* Update base.rtl.css
* fix class="valid-json"
* padding + vertical-align
* fix ansum mapco
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 2 | ||||
| -rw-r--r-- | app/views/subscription/add.phtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index 301cb1ced..6a7ce83c2 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -846,7 +846,7 @@ $httpHeaders = array_filter($httpHeaders, fn(string $header) => !preg_match('/^(Remote-User|X-WebAuth-User)\\s*:/i', $header)); ?> - <textarea class="valid-json" id="http_headers" name="http_headers" rows="3" cols="64" spellcheck="false"><?php + <textarea class="w100" id="http_headers" name="http_headers" rows="3" spellcheck="false"><?php foreach ($httpHeaders as $header) { echo htmlspecialchars($header, ENT_NOQUOTES, 'UTF-8'), PHP_EOL; } diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index a822b4440..5df063791 100644 --- a/app/views/subscription/add.phtml +++ b/app/views/subscription/add.phtml @@ -365,7 +365,7 @@ <div class="form-group"> <label class="group-name" for="http_headers"><?= _t('sub.feed.http_headers') ?></label> <div class="group-controls"> - <textarea class="valid-json" id="http_headers" name="http_headers" rows="3" cols="64" spellcheck="false"></textarea> + <textarea id="http_headers" name="http_headers" rows="3" cols="64" spellcheck="false"></textarea> <p class="help"><?= _i('help') ?> <?= _t('sub.feed.http_headers_help') ?></p> </div> </div> |
