Skip to content
Extraits de code Groupes Projets
Vérifiée Valider d6a2b8fb rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Set up the setting modal content

parent dd797c3f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!10Settings in instance
...@@ -24,12 +24,112 @@ ...@@ -24,12 +24,112 @@
</button> </button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<p>Some text in the Modal Body</p> <form>
<p>Some other text...</p> <h3>Lektord settings</h3>
<p>Configure which lektord to use or if 'attach' mode is enabled.</p>
<div class="form-group row">
<label for="inputHost" class="col-sm-2 col-form-label">Host</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputHost" placeholder="Host..." />
</div> </div>
</div> </div>
<div class="form-group row">
<label for="inputPort" class="col-sm-2 col-form-label">Port</label>
<div class="col-sm-10">
<input type="int" class="form-control" id="inputPort" placeholder="6600" />
</div> </div>
</div> </div>
<div class="form-group row">
<div class="col-sm-2">Attach mode</div>
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="inputAttachMode" />
<label class="form-check-label" for="inputAttachMode">
Enable attach mode
</label>
</div>
</div>
</div>
<hr />
<h3>Database settings</h3>
<p>Which database to use, and other options.</p>
<div class="form-group row">
<label for="inputDbPath" class="col-sm-2 col-form-label">Host</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputDbPath" placeholder="kara.db..." />
</div>
</div>
<hr />
<h3>Log settings</h3>
<p>Log options, this is a developper section.</p>
<fieldset class="form-group">
<div class="row">
<legend class="col-form-label col-sm-2 pt-0">Log level</legend>
<div class="col-sm-10">
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="gridRadios"
id="logERROR"
value="ERROR"
checked
/>
<label class="form-check-label" for="logERROR">Error</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="gridRadios"
id="logWARNINGS"
value="WARNINGS"
/>
<label class="form-check-label" for="logWARNINGS">Warnings</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="gridRadios"
id="logINFO"
value="INFO"
/>
<label class="form-check-label" for="logINFO">Info</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="gridRadios"
id="logDEBUG"
value="DEBUG"
/>
<label class="form-check-label" for="logDEBUG">Debug</label>
</div>
</div>
</div>
</fieldset>
<div class="form-group row">
<div class="col-sm-2">Lektord logs</div>
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="inputLogLektord" />
<label class="form-check-label" for="inputLogLektord">
Enable lektord logs when possible
</label>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer"> For changes to be applied you need to restart Amadeus. </div>
</div>
</div>
</div>
<div id="mainFrame" class="container-fluid"> <div id="mainFrame" class="container-fluid">
<div <div
id="buttonPanelListLeft" id="buttonPanelListLeft"
......
...@@ -48,7 +48,12 @@ input[type="color"]:focus, ...@@ -48,7 +48,12 @@ input[type="color"]:focus,
#filterInput { #filterInput {
background-color: #2b3e50 !important; background-color: #2b3e50 !important;
color: white; color: white !important;
}
.form-control {
background-color: #2b3e50 !important;
color: white !important;
} }
#mainFrame { #mainFrame {
...@@ -160,7 +165,20 @@ input[type="color"]:focus, ...@@ -160,7 +165,20 @@ input[type="color"]:focus,
} }
/* Modal */ /* Modal */
.modal-close:hover,
.modal-close:active,
.modal-close:focus {
border-color: transparent !important;
outline: none !important;
box-shadow: none !important;
background: none !important;
color: #df691a !important;
}
.modal-close { .modal-close {
border: 0px; border-color: transparent !important;
outline: none !important;
box-shadow: none !important;
background: none !important; background: none !important;
color: white;
} }
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter