95c750b07a
FossilOrigin-Name: 4748904de8bfc4e9324542fe71c1c0cfc42c4b73a4b2c29f170cedf5e8ae3a85
63 lines
4.2 KiB
Cheetah
63 lines
4.2 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">{{%s:content}}</textarea>
|
|
<div class="statusfooter">
|
|
<div class="statusfooter-left">
|
|
<label>
|
|
<input type="file" name="file" class="hidden" multiple>
|
|
<div class="file-upload-btn btn-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path></svg>
|
|
</div>
|
|
</label>
|
|
<select name="contenttype" class="content-type">
|
|
<option value="plaintext">Plain Text</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" {{ %s : local_checked }}>
|
|
<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" {{ %s : direct_checked }}>
|
|
<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" {{ %s : private_checked }} {{ %s : private_disabled }}>
|
|
<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" {{ %s : unlisted_checked }} {{ %s : unlisted_disabled }}>
|
|
<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" {{ %s : public_checked }} {{ %s : public_disabled }}>
|
|
<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>
|
|
</div>
|
|
<div class="statusfooter-right">
|
|
<input type="submit" value="Post" class="btn post-btn">
|
|
</div>
|
|
</div>
|
|
<div class="file-uploads-container hidden"></div>
|
|
</div>
|
|
</form>
|