12345678910111213141516171819202122232425262728293031323334 |
- % content = setdefault("content", "") or ""
- % disabled = (setdefault("disabled", False) and 'readonly="true"') or ""
- <form id="goto" method="{{ method }}" action="{{ action }}">
- <style>
- input[type="url"]::-webkit-scrollbar {
- width: 11px;
- }
- input[type="url"] {
- color: #cccccc;
- background-color: #080808;
- scrollbar-width: thin;
- scrollbar-color: var(--thumbBG) var(--scrollbarBG);
- }
- input[type="url"]::-webkit-scrollbar-track {
- background: var(--scrollbarBG);
- }
- input[type="url"]::-webkit-scrollbar-thumb {
- background-color: var(--thumbBG) ;
- border-radius: 6px;
- border: 3px solid var(--scrollbarBG);
- }
- </style>
- <input type="url"
- style="width: 80%"
- id="input-url"
- name="url"
- {{!disabled}}
- required="true"
- autofocus="true"
- placeholder="Paste URL here..."
- value="{{ content }}"
- ></input>
- </form>
- % include('form-common')
|