auth:
middleware:
merge `Validate` and `ValidateLoose` to `SessionValidator`
add `MixedValidator` allow validate use cookie or api token
session:
rename `ValidateAccess` to `ValidateSession`
rename `ValidateRefresh` to `RefreshSession`
action:
fix forgot replace pixiv cdn link host
api:
artworks:
create `DELETEArtworksID` function
files:
create `DELETEFilesID` function
router:
add endpoint for api changes
web:
add delete artwork/file function and button in `preview` component and `artwork_id` page
9 lines
291 B
Cheetah
9 lines
291 B
Cheetah
{{ define "submit_url" }}
|
|
{{ "submit_url" | .RenderStyle }}
|
|
{{ "submit_url" | .RenderScript }}
|
|
<p id="submit-box" style="display:none">
|
|
<input id="submit-input" type="url" size="10" placeholder="link..." required />
|
|
<input id="submit-button" type="button" value="send" />
|
|
</p>
|
|
{{ end }}
|