- Timestamp:
- Sep 18, 2023, 9:19:59 PM (21 months ago)
- Location:
- trunk
- Files:
-
- 16 added
- 11 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LICENSE
-
Property svn:special
set to
*
r35 r65 1 Copyright (c) 2021 Willy Goiffon <contact@z3bra.org> 2 3 Permission to use, copy, modify, and/or distribute this software for any 4 purpose with or without fee is hereby granted, provided that the above 5 copyright notice and this permission notice appear in all copies. 6 7 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 11 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 12 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 13 PERFORMANCE OF THIS SOFTWARE. 1 link COPYING -
Property svn:special
set to
-
trunk/example/templates/index.html
r51 r65 1 1 <!DOCTYPE HTML> 2 2 <html> 3 <head>4 5 <meta name="author" content="z3bra">6 <meta name="robots" content="noindex,nofollow" />7 8 <link rel="stylesheet" type="text/css" href="/partage.css" />9 <link rel="icon" type="image/ico" href="/favicon.ico" />10 <title>Partage</title>11 </head>12 <body>13 14 <img id="logo" src="/partage.png" />15 <h1>partage</h1>16 17 18 19 20 <input id="filebox" name="file" type="file" multiple/>21 <input id="output" name="output" type="hidden" value='html' />22 <input type="submit" value="Upload"/>23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 </body>3 <head> 4 <meta charset="utf-8"> 5 <meta name="author" content="z3bra, Izuru Yakumo"> 6 <meta name="robots" content="noindex,nofollow" > 7 <meta name="viewport" content="width=device-width"> 8 <link rel="stylesheet" type="text/css" href="/marisa_98.css" > 9 <link rel="icon" href="/marisa.png"> 10 <title>Marisa</title> 11 </head> 12 <body> 13 <header> 14 <img id="logo" src="/marisa.png" > 15 <h1>marisa</h1> 16 </header> 17 <form enctype="multipart/form-data" method="post"> 18 <div id="dropzone"></div> 19 <div id="fallbackform" class="dropzone"> 20 <input id="filebox" name="file" type="file" multiple> 21 <input id="output" name="output" type="hidden" value='html' > 22 <input type="submit" value="Upload"> 23 </div> 24 <section id="formsettings"> 25 <label for="expiry"> Destroy after </label> 26 <select id="expiry" name="expiry"> 27 <option value="900"> 15 minutes </option> 28 <option value="3600"> 1 hour </option> 29 <option value="28800"> 8 hours </option> 30 <option value="86400" selected> 1 day </option> 31 <option value="604800"> 1 week </option> 32 </select> 33 </section> 34 </form> 35 <p>File size limited to {{.Maxsize}}.</p> 36 <div id="uploads">{{if .Links}} 37 <ul> 38 {{range .Links}}<li><a href="{{.}}">{{.}}</a></li>{{end}} 39 </ul> 40 {{end}}</div> 41 </body> 42 42 </html> -
trunk/go.mod
r30 r65 1 module git.z3bra.org/partage1 module marisa.chaotic.ninja/marisa 2 2 3 3 go 1.17 4 4 5 5 require ( 6 github.com/dustin/go-humanize v1.0.0 // indirect 7 github.com/vharitonsky/iniflags v0.0.0-20180513140207-a33cd0b5f3de // indirect 8 gopkg.in/ini.v1 v1.63.2 // indirect 6 github.com/dustin/go-humanize v1.0.0 7 gopkg.in/ini.v1 v1.63.2 9 8 ) 9 10 require github.com/stretchr/testify v1.8.4 // indirect
Note:
See TracChangeset
for help on using the changeset viewer.