-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
327 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,239 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="generator" content="Asciidoctor 2.0.20"> | ||
<link rel="icon" type="image/png" href="images/icons/OliveTinLogo.png"> | ||
<title>OliveTin documentation</title> | ||
<style> | ||
body { | ||
font-family: sans-serif; | ||
line-height: 1.5; | ||
padding: 0; | ||
margin: 0; | ||
display: grid; | ||
grid-template-areas: "nav content" "nav footer"; | ||
grid-template-columns: 20em auto; | ||
grid-template-rows: auto min-content; | ||
height: 100vh; | ||
align-items: stretch; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
|
||
a:focus { | ||
background-color: #bdb76b; | ||
} | ||
|
||
#header { | ||
background-color: #efefef; | ||
grid-area: nav; | ||
} | ||
|
||
#footer { | ||
grid-area: footer; | ||
justify-self: center; | ||
align-self: end; | ||
padding: 1em; | ||
} | ||
|
||
#toc { | ||
padding: 1em; | ||
} | ||
|
||
#toc a { | ||
color: black; | ||
} | ||
|
||
#toc li { | ||
padding-bottom: .6em; | ||
} | ||
|
||
#toc ul { | ||
list-style: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
#toc ul ul { | ||
padding-left: 1.4em; | ||
} | ||
|
||
#toctitle { | ||
font-weight: bold; | ||
color: black; | ||
} | ||
|
||
h1 { | ||
font-size: 1.4em; | ||
font-weight: lighter; | ||
background-color: black; | ||
padding: .6em; | ||
margin: 0; | ||
color: white; | ||
} | ||
|
||
#toc a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
#content { | ||
background-color: white; | ||
grid-area: content; | ||
max-width: 1000px; | ||
padding: 1em; | ||
justify-self: center; | ||
} | ||
|
||
#content img { | ||
max-width: 100%; | ||
vertical-align: middle; | ||
} | ||
|
||
pre { | ||
background-color: #f7f7f8; | ||
padding: 1em; | ||
word-wrap: break-word; | ||
white-space: no-wrap; | ||
overflow: auto; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
|
||
td, th { | ||
border: 1px solid gray; | ||
padding: .4em; | ||
} | ||
|
||
th { | ||
background-color: #f9f9f9; | ||
text-align: left; | ||
} | ||
|
||
.imageblock.right { | ||
float: right; | ||
} | ||
|
||
hr { | ||
clear: both; | ||
border: 0; | ||
border-bottom: 1px solid #efefef; | ||
margin: 1em; | ||
} | ||
|
||
div.admonitionblock.note { | ||
background-color: beige; | ||
} | ||
|
||
div.admonitionblock td { | ||
border: 0; | ||
} | ||
|
||
div.admonitionblock td:first-child { | ||
font-weight: bold; | ||
} | ||
|
||
.listingblock .title { | ||
background-color: #efefef; | ||
margin-bottom: -1em; | ||
padding: 1em; | ||
} | ||
|
||
@media (max-width: 700px) { | ||
body { | ||
display: block; | ||
} | ||
} | ||
|
||
</style> | ||
<style>.toc-current{font-weight: bold;} .toc-root{font-family: "Open Sans","DejaVu Sans",sans-serif; | ||
font-size: 0.9em;} #content{display: flex; flex-direction: column; flex: 1 1 auto;} | ||
.nav-footer{text-align: center; margin-top: auto;} | ||
.nav-footer > p > a {white-space: nowrap;}</style> | ||
</head> | ||
<body id="_confirmation_argument" class="book toc2 toc-left"> | ||
<div id="header"> | ||
<h1>OliveTin</h1> | ||
<div id="toc" class="toc2"> | ||
<div id="toctitle">Table of Contents</div> | ||
<p><span class="toc-root"><a href="index.html">OliveTin documentation</a></span></p><ul class="sectlevel1"> | ||
<li><a href="installation.html">1. Installation</a> | ||
</li> | ||
<li><a href="config.html">2. Configuration</a> | ||
</li> | ||
<li><a href="reverse-proxies.html">3. Reverse Proxies</a> | ||
</li> | ||
<li><a href="actions.html">4. Actions</a> | ||
</li> | ||
<li><a href="action-customisation.html">5. Action customisation</a> | ||
</li> | ||
<li><a href="examples.html">6. Action examples</a> | ||
</li> | ||
<li><a href="args.html">7. Arguments</a> | ||
<ul class="sectlevel2"> | ||
<li><a href="_introduction_to_arguments.html">7.1. Introduction to Arguments</a> | ||
</li> | ||
<li><a href="_important_safety_warning.html">7.2. Important Safety Warning</a> | ||
</li> | ||
<li><a href="_textbox_arguments.html">7.3. Textbox arguments</a> | ||
</li> | ||
<li><a href="_dropdown_choice_arguments.html">7.4. Dropdown choice arguments</a> | ||
</li> | ||
<li><a href="_confirmation_argument.html"><span class="toc-current">7.5. Confirmation argument</span></a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li><a href="auth.html">8. Authentication & Authorization</a> | ||
</li> | ||
<li><a href="_reference.html">9. Reference</a> | ||
</li> | ||
<li><a href="troubleshooting.html">10. Support & Troubleshooting</a> | ||
</li> | ||
<li><a href="api.html">11. API</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div id="content"> | ||
<div class="sect2"> | ||
<h3 id="_confirmation_argument"><a class="anchor" href="#_confirmation_argument"></a><a class="link" href="#_confirmation_argument">7.5. Confirmation argument</a></h3> | ||
<div class="paragraph"> | ||
<p>The <code>confirmation</code> type argument is a special argument type, which simply disables the "Start" button until a checkbox is ticked. This can be useful if you have an action with no other arguments, but you want to prevent accidental button-clicks starting the action.</p> | ||
</div> | ||
<div class="listingblock"> | ||
<div class="content"> | ||
<pre>actions: | ||
- title: Delete old backups | ||
icon: ashtonished | ||
shell: rm -rf /opt/oldBackups/ | ||
arguments: | ||
- type: confirmation | ||
title: Are you sure?!</pre> | ||
</div> | ||
</div> | ||
<div class="imageblock"> | ||
<div class="content"> | ||
<img src="images/action-confirmation.png" alt="action confirmation"> | ||
</div> | ||
</div> | ||
<div class="paragraph"> | ||
<p>Notice in the webui the "start" button is disabled.</p> | ||
</div> | ||
</div> | ||
<div class="paragraph nav-footer"> | ||
<p>← Previous: <a href="_dropdown_choice_arguments.html">Dropdown choice arguments</a> | ↑ Up: <a href="args.html">Arguments</a> | ⌂ Home: <a href="index.html">OliveTin documentation</a> | Next: <a href="auth.html">Authentication & Authorization</a> →</p> | ||
</div> | ||
</div> | ||
<div id="footer"> | ||
<div id="footer-text"> | ||
Last updated 2023-12-28 23:55:13 UTC | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.