Changeset bca83f3 in Klonkt
- Timestamp:
- 06/26/2026 04:15:59 PM (2 months ago)
- Branches:
- main
- Children:
- 7eee449
- Parents:
- 781d613
- Location:
- src/views/pages
- Files:
-
- 2 edited
-
newspaper.ejs (modified) (1 diff)
-
post.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/newspaper.ejs
r781d613 rbca83f3 151 151 close(); 152 152 var f = document.createElement('form'); f.className='fedi-remote-form'; f.dataset.uri = b.getAttribute('data-fedi-uri')||''; 153 f.innerHTML = '<input type="text" name="fediserver" autocomplete="on" list="pcms-fedi-srv" spellcheck="false"><button type="submit" class="btn btn-primary fedi-remote-go" aria-label="ok">→</button><button type="button" class="fedi-remote-cancel" aria-label="x">×</button><datalist id="pcms-fedi-srv"><option value="mastodon.social"></option><option value="mastodon.online"></option><option value="mas.to"></option><option value="fosstodon.org"></option><option value="hachyderm.io"></option></datalist>';153 f.innerHTML = '<input type="text" autocomplete="off" spellcheck="false"><button type="submit" class="btn btn-primary fedi-remote-go" aria-label="ok">→</button><button type="button" class="fedi-remote-cancel" aria-label="x">×</button>'; 154 154 var _inp = f.querySelector('input'); _inp.placeholder = b.getAttribute('data-fedi-ph') || 'mastodon.social'; 155 155 try{ var _sv = localStorage.getItem('pcmsFediServer'); if(_sv) _inp.value = _sv; }catch(e){} -
src/views/pages/post.ejs
r781d613 rbca83f3 127 127 f.className = 'fedi-remote-form'; 128 128 f.dataset.uri = b.getAttribute('data-fedi-uri') || ''; 129 f.innerHTML = '<input type="text" name="fediserver" autocomplete="on" list="pcms-fedi-srv" spellcheck="false">'129 f.innerHTML = '<input type="text" autocomplete="off" spellcheck="false">' 130 130 + '<button type="submit" class="btn btn-primary fedi-remote-go" aria-label="ok">→</button>' 131 + '<button type="button" class="fedi-remote-cancel" aria-label="x">×</button>' 132 + '<datalist id="pcms-fedi-srv"><option value="mastodon.social"></option><option value="mastodon.online"></option><option value="mas.to"></option><option value="fosstodon.org"></option><option value="hachyderm.io"></option></datalist>'; 131 + '<button type="button" class="fedi-remote-cancel" aria-label="x">×</button>'; 133 132 var _inp = f.querySelector('input'); 134 133 _inp.placeholder = b.getAttribute('data-fedi-ph') || 'mastodon.social';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)