{% extends 'templates/app.twig' %}

{% block title %}ShareX Configuration{% endblock %}

{% block content %}
	<div class="row">
		<div class="col-md-12">
			<h2>ShareX Configuration</h2>
			<p>
				To use {{ settings.site.title | default('sleeti') }} with ShareX:
			</p>
			<ol>
				<li>Copy the code below</li>
				<li>Open ShareX's main window</li>
				<li>Open the Destinations dropdown</li>
				<li>Click "Destination settings..."</li>
				<li>Click "Custom uploaders"</li>
				<li>Click "Import > From clipboard"</li>
			</ol>
			<pre><code>{
  "Name": "{{ settings.site.title | default('sleeti') }}",
  "RequestType": "POST",
  "RequestURL": "{{ site.url }}",
  "FileFormName": "file",
  "Arguments": {
    "identifier": "{{ auth.user.username }}",
    "password": "PUT YOUR PASSWORD HERE"
  },
  "ResponseType": "Text",
  "RegexList": [
    "(.+)"
  ],
  "URL": "$1$"
}</code></pre>
		</div>
	</div>
{% endblock %}

{% extends 'templates/app.twig' %}

{% block title %}ShareX Configuration{% endblock %}

{% block content %}
	<div class="row">
		<div class="col-md-12">
			<h2>ShareX Configuration</h2>
			<p>
				To use {{ settings.site.title | default('sleeti') }} with ShareX:
			</p>
			<ol>
				<li>Copy the code below</li>
				<li>Open ShareX's main window</li>
				<li>Open the Destinations dropdown</li>
				<li>Click "Destination settings..."</li>
				<li>Click "Custom uploaders"</li>
				<li>Click "Import > From clipboard"</li>
				<li>Edit the <code>password</code> value in the Arguments area</li>
				<li>Click <b>BOTH</b> Update buttons, first on the Arguments area, then below the Custom Uploader name</li>
				<li>Ensure your new custom uploader is set as the image, text, and/or file uploaders in the bottom left</li>
				<li>Go back to the Destinations dropdown, and set your image, text, and/or file uploaders to Custom</li>
			</ol>
			
			<pre><code>{
  "Name": "{{ settings.site.title | default('sleeti') }}",
  "RequestType": "POST",
  "RequestURL": "{{ site.url }}",
  "FileFormName": "file",
  "Arguments": {
    "identifier": "{{ auth.user.username }}",
    "password": "PUT YOUR PASSWORD HERE"
  },
  "ResponseType": "Text",
  "RegexList": [
    "(.+)"
  ],
  "URL": "$1$"
}</code></pre>
		</div>
	</div>
{% endblock %}

Add more detailed ShareX instructions
Add more detailed ShareX instructions
