Skip to content

Commit

Permalink
deploy: 7df46fe
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Dec 28, 2023
1 parent f2a0d7f commit 8177bcd
Show file tree
Hide file tree
Showing 75 changed files with 327 additions and 75 deletions.
2 changes: 1 addition & 1 deletion _concepts.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h3 id="_concepts"><a class="anchor" href="#_concepts"></a><a class="link" href=
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
239 changes: 239 additions & 0 deletions _confirmation_argument.html
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 &amp; Authorization</a>
</li>
<li><a href="_reference.html">9. Reference</a>
</li>
<li><a href="troubleshooting.html">10. Support &amp; 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 &amp; 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>
6 changes: 4 additions & 2 deletions _dropdown_choice_arguments.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ <h1>OliveTin</h1>
</li>
<li><a href="_dropdown_choice_arguments.html"><span class="toc-current">7.4. Dropdown choice arguments</span></a>
</li>
<li><a href="_confirmation_argument.html">7.5. Confirmation argument</a>
</li>
</ul>
</li>
<li><a href="auth.html">8. Authentication &amp; Authorization</a>
Expand Down Expand Up @@ -241,12 +243,12 @@ <h3 id="_dropdown_choice_arguments"><a class="anchor" href="#_dropdown_choice_ar
</div>
</div>
<div class="paragraph nav-footer">
<p>← Previous: <a href="_textbox_arguments.html">Textbox arguments</a> | ↑ Up: <a href="args.html">Arguments</a> | ⌂ Home: <a href="index.html">OliveTin documentation</a> | Next: <a href="auth.html">Authentication &amp; Authorization</a> →</p>
<p>← Previous: <a href="_textbox_arguments.html">Textbox arguments</a> | ↑ Up: <a href="args.html">Arguments</a> | ⌂ Home: <a href="index.html">OliveTin documentation</a> | Next: <a href="_confirmation_argument.html">Confirmation argument</a> →</p>
</div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _exit_code_127.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h3 id="_exit_code_127"><a class="anchor" href="#_exit_code_127"></a><a class="l
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ <h4 id="_saving_and_serving_icons_for_offline_use"><a class="anchor" href="#_sav
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
4 changes: 3 additions & 1 deletion _important_safety_warning.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ <h1>OliveTin</h1>
</li>
<li><a href="_dropdown_choice_arguments.html">7.4. Dropdown choice arguments</a>
</li>
<li><a href="_confirmation_argument.html">7.5. Confirmation argument</a>
</li>
</ul>
</li>
<li><a href="auth.html">8. Authentication &amp; Authorization</a>
Expand Down Expand Up @@ -227,7 +229,7 @@ <h3 id="_important_safety_warning"><a class="anchor" href="#_important_safety_wa
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
4 changes: 3 additions & 1 deletion _introduction_to_arguments.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ <h1>OliveTin</h1>
</li>
<li><a href="_dropdown_choice_arguments.html">7.4. Dropdown choice arguments</a>
</li>
<li><a href="_confirmation_argument.html">7.5. Confirmation argument</a>
</li>
</ul>
</li>
<li><a href="auth.html">8. Authentication &amp; Authorization</a>
Expand Down Expand Up @@ -230,7 +232,7 @@ <h3 id="_introduction_to_arguments"><a class="anchor" href="#_introduction_to_ar
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _olivetin_api_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h3 id="_olivetin_api_overview"><a class="anchor" href="#_olivetin_api_overview"
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ <h2 id="_reference"><a class="anchor" href="#_reference"></a><a class="link" hre
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _run_as_different_users.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ <h4 id="_eg_using_sudo"><a class="anchor" href="#_eg_using_sudo"></a><a class="l
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _security.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ <h3 id="_security"><a class="anchor" href="#_security"></a><a class="link" href=
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
4 changes: 3 additions & 1 deletion _textbox_arguments.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ <h1>OliveTin</h1>
</li>
<li><a href="_dropdown_choice_arguments.html">7.4. Dropdown choice arguments</a>
</li>
<li><a href="_confirmation_argument.html">7.5. Confirmation argument</a>
</li>
</ul>
</li>
<li><a href="auth.html">8. Authentication &amp; Authorization</a>
Expand Down Expand Up @@ -303,7 +305,7 @@ <h4 id="_argument_types"><a class="anchor" href="#_argument_types"></a><a class=
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _timeouts.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ <h4 id="_check_the_logs"><a class="anchor" href="#_check_the_logs"></a><a class=
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion _understanding_exit_codes.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ <h4 id="_common_error_codes"><a class="anchor" href="#_common_error_codes"></a><
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-21 18:16:17 UTC
Last updated 2023-12-28 23:55:13 UTC
</div>
</div>
</body>
Expand Down
Loading

0 comments on commit 8177bcd

Please sign in to comment.