1234567891011121314151617181920212223242526272829303132333435 |
- % from app.data.filter import get_query_param
- % content = setdefault("content", "") or ""
- % disabled = (setdefault("disabled", False) or "") and 'disabled="true"'
- <form id="paste" method="{{ method }}" action="{{ action }}">
- <style>
- select::-webkit-scrollbar {
- width: 11px;
- }
- textarea {
- color: #cccccc;
- background-color: #080808;
- scrollbar-width: thin;
- scrollbar-color: var(--thumbBG) var(--scrollbarBG);
- }
- textarea::-webkit-scrollbar-track {
- background: var(--scrollbarBG);
- }
- textarea::-webkit-scrollbar-thumb {
- background-color: var(--thumbBG) ;
- border-radius: 6px;
- border: 3px solid var(--scrollbarBG);
- }
- </style>
- <textarea
- style="width: 80%"
- id="paste-text-area"
- name="paste"
- rows="30"
-
- required="true"
- autofocus="true"
- >{{ content }}</textarea>
- </form>
- <form id="new" method="get" action="{{ action }}">
- </form>
|