forked from mirrors/treebird
da5e8039db
FossilOrigin-Name: 8f7945affc483246637b0cd636a609b1f697469350ceef114d1ac54ebe9180bf
60 lines
3.6 KiB
Cheetah
60 lines
3.6 KiB
Cheetah
<form action="{{%s:prefix}}/status/create" method="post" enctype="multipart/form-data">
|
|
{{%s:reply_input}}
|
|
<div class="statusbox">
|
|
<textarea name="content" placeholder="Just landed in N.Y." rows="5" tabindex="1">{{%s:content}}</textarea>
|
|
<div class="statusfooter">
|
|
<div class="statusfooter-left">
|
|
<select tabindex="3" name="contenttype" class="content-type">
|
|
<option value="plaintext">Plain</option>
|
|
<option value="markdown">Markdown</option>
|
|
<option value="html">HTML</option>
|
|
<option value="bbcode">BBCode</option>
|
|
</select>
|
|
<div class="post-group">
|
|
<!-- Local -->
|
|
<label>
|
|
<input type="radio" name="visibility" value="local" class="hidden">
|
|
<div class="visibility-icon vis-local">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 9v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9"/><path d="M9 22V12h6v10M2 10.6L12 2l10 8.6"/></svg>
|
|
</div>
|
|
</label>
|
|
<!-- Direct -->
|
|
<label>
|
|
<input type="radio" name="visibility" value="direct" class="hidden">
|
|
<div class="visibility-icon vis-direct">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
|
|
</div>
|
|
</label>
|
|
<!-- Private -->
|
|
<label>
|
|
<input type="radio" name="visibility" value="private" class="hidden">
|
|
<div class="visibility-icon vis-private">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>
|
|
</div>
|
|
</label>
|
|
<!-- Unlisted -->
|
|
<label>
|
|
<input type="radio" name="visibility" value="unlisted" class="hidden">
|
|
<div class="visibility-icon vis-unlisted">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 9.9-1"></path></svg>
|
|
</div>
|
|
</label>
|
|
<!-- Public -->
|
|
<label>
|
|
<input type="radio" name="visibility" value="public" class="hidden" checked>
|
|
<div class="visibility-icon vis-public">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>
|
|
</div>
|
|
</label>
|
|
</div>
|
|
<label>
|
|
<input type="file" name="file" class="hidden" tabindex="4" multiple>
|
|
<div class="file-upload-btn"></div>
|
|
</label>
|
|
</div>
|
|
<div class="statusfooter-right">
|
|
<input type="submit" value="Post" tabindex="2" class="btn post-btn">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|