abh - HTMLify profile

abh
501 Files
102284 Views
Latest files of /abh/HTMLify/templates/skeletons
<!-- login.html -->
<form action="/action/login" method="POST">
<input type="text" name="username" placeholder="username" /><br>
<input type="password" name="password" //><br>
<input type="submit" value="login" />
</form>
<form action="/action/login" method="POST">
<input type="text" name="username" placeholder="username" /><br>
<input type="password" name="password" //><br>
<input type="submit" value="login" />
</form>
<!-- file-uplaod.html -->
<form action="/action/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="file" required />
<input type="text" name="name" placeholder="File name " required />
<input type="submit" value="Upload" />
</form>
<form action="/action/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="file" required />
<input type="text" name="name" placeholder="File name " required />
<input type="submit" value="Upload" />
</form>
<!-- registration.html -->
<form action="/action/registration" method="POST">
<input type="text" name="username" placeholder="username" /><br>
<input type="emial" name="email" placeholder="you@example.com" /><br>
<input type="password" name="password" placeholder="Password" /><br>
<input type="password" name="repassword" placeholder="Re - Password" /><br>
<input type="submit" />
</form>
<form action="/action/registration" method="POST">
<input type="text" name="username" placeholder="username" /><br>
<input type="emial" name="email" placeholder="you@example.com" /><br>
<input type="password" name="password" placeholder="Password" /><br>
<input type="password" name="repassword" placeholder="Re - Password" /><br>
<input type="submit" />
</form>
<h1>HTMLify your dreams</h1>
<center><p>Make your HTML files live</p>
<form class="search-form" action="/search" method="GET" style="margin:20p;">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Search" />
</form>
</center>
<a href="/login">Log in</a>
<center><p>Make your HTML files live</p>
<form class="search-form" action="/search" method="GET" style="margin:20p;">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Search" />
</form>
</center>
<a href="/login">Log in</a>
<!-- edit.html -->
<form action="/action/edit" method="POST">
<input type="text" name="path" value="{{ path }}" /> Mode:
{% if filetype == "html" or filetype == "htm" %}
<input type="radio" name="mode" value="p" {% if current_mode == "p" %}checked{% endif %}/> Parse
{% endif %}
<input type="radio" name="mode" value="r" {% if current_mode == "r" %}checked{% endif %}/> Raw
<input type="radio" name="mode" value="s" {% if current_mode == "s" %}checked{% endif %}/> Show
<form action="/action/edit" method="POST">
<input type="text" name="path" value="{{ path }}" /> Mode:
{% if filetype == "html" or filetype == "htm" %}
<input type="radio" name="mode" value="p" {% if current_mode == "p" %}checked{% endif %}/> Parse
{% endif %}
<input type="radio" name="mode" value="r" {% if current_mode == "r" %}checked{% endif %}/> Raw
<input type="radio" name="mode" value="s" {% if current_mode == "s" %}checked{% endif %}/> Show
<!-- search-result.html -->
<form class="search-form" action="/search" method="GET" style="margin:20p;">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Search" />
</form>
{% for result in results %}
<div class="search-result" style="border:1px solid black;margin:5px;padding:5px;">
<span>{{ result.name }}</span> | <span>Owner: {{ result.owner }} | <a href="{{ result.path }}">Open</a>{% if session.get("user") and result.owner == session["user"]["username"] %} | <a href="/edit?filepa
<form class="search-form" action="/search" method="GET" style="margin:20p;">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Search" />
</form>
{% for result in results %}
<div class="search-result" style="border:1px solid black;margin:5px;padding:5px;">
<span>{{ result.name }}</span> | <span>Owner: {{ result.owner }} | <a href="{{ result.path }}">Open</a>{% if session.get("user") and result.owner == session["user"]["username"] %} | <a href="/edit?filepa
<!-- media-edit.html -->
<form action="/action/edit-media" method="POST">
<input type="hidden" name="oldname" value="{{ path[session["user"]["username"]|length+1:] }}" />
<input type="text" name="filename" value="{{ path[session["user"]["username"]|length+1:] }}" />Mode:
<input type="radio" name="mode" value="r" {% if current_mode == "r" %}checked{% endif %}/> Raw
<input type="radio" name="mode" value="s" {% if current_mode == "s" %}checked{% endif %}/> Show
| Visibility:
<input type="radio" name="visibil
<form action="/action/edit-media" method="POST">
<input type="hidden" name="oldname" value="{{ path[session["user"]["username"]|length+1:] }}" />
<input type="text" name="filename" value="{{ path[session["user"]["username"]|length+1:] }}" />Mode:
<input type="radio" name="mode" value="r" {% if current_mode == "r" %}checked{% endif %}/> Raw
<input type="radio" name="mode" value="s" {% if current_mode == "s" %}checked{% endif %}/> Show
| Visibility:
<input type="radio" name="visibil
<!-- user-files.html -->
{% for file in files %}
{{ loop.index }}<a href=" {{ file.path }}">{{ file.name }}</a> {{ file.size }}<br>
{% endfor %}
{% for file in files %}
{{ loop.index }}<a href=" {{ file.path }}">{{ file.name }}</a> {{ file.size }}<br>
{% endfor %}
<!--dashboard.html-->
<a href="/edit?filepathnew.html"><h4 style="display:inline-block;">Make new file</h4></a>
<a href="/file-upload"><h4>Upload File</h4></a>
<form class="search-form" action="/search" method="GET" style="margin:20p;display:inline-block;">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Search" />
</form>
<table>
<a href="/edit?filepathnew.html"><h4 style="display:inline-block;">Make new file</h4></a>
<a href="/file-upload"><h4>Upload File</h4></a>
<form class="search-form" action="/search" method="GET" style="margin:20p;display:inline-block;">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="Search" />
</form>
<table>
<!--conferm-delete.html-->
<h1>Do you really want to delete the file {{ file.name }} at {{ file.path }}?</h1>
{% if file.type in imagefiletypes %}
<img src="{{ file.path }}">
{% else %}
<textarea style="height:80%;width:90%;margin:auto;"readonly>{{ file.content }}</textarea><br>
<form action="/action/delete" method="POST">
<input type="hidden" name="id" value="{{ file.id }}">
<h1>Do you really want to delete the file {{ file.name }} at {{ file.path }}?</h1>
{% if file.type in imagefiletypes %}
<img src="{{ file.path }}">
{% else %}
<textarea style="height:80%;width:90%;margin:auto;"readonly>{{ file.content }}</textarea><br>
<form action="/action/delete" method="POST">
<input type="hidden" name="id" value="{{ file.id }}">