added api key to settings UI
This commit is contained in:
parent
3df2720009
commit
65def75433
4 changed files with 28 additions and 5 deletions
|
@ -44,6 +44,7 @@ class Auth
|
|||
"email" => $found["email"],
|
||||
"role" => $found["role"],
|
||||
"avatar" => $found["avi"],
|
||||
"key" => $found["key"],
|
||||
];
|
||||
|
||||
$token = Token::create(
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=adfdf">
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=asdfdf">
|
||||
{% endblock %}
|
||||
|
||||
{% block mainContent %}
|
||||
|
@ -58,9 +58,10 @@
|
|||
</div>
|
||||
<div class="columns">
|
||||
<div class="column is-full">
|
||||
<textarea id="settings-desc" type='text' name='settings_desc' class='settings-dec' placeholder='description stuff', autofocus>{{desc}}</textarea>
|
||||
<textarea id="settings-desc" type='text' name='settings_desc' class='settings-dec' placeholder='description stuff', autofocus>{{desc}}</textarea><br />
|
||||
<label>YOUR API KEY</label><br />
|
||||
<span id="key">{{member['key']}}</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -2527,10 +2527,21 @@ svg.icons {
|
|||
#settings-index #settings-index-wrapper textarea {
|
||||
background: #1D3040;
|
||||
width: 93%;
|
||||
height: 128px;
|
||||
height: 80px;
|
||||
color: #f5ab35;
|
||||
padding: 10px;
|
||||
display: inline-block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#settings-index #settings-index-wrapper span#key {
|
||||
color: #EFEBE3;
|
||||
background: #1D3040;
|
||||
font-size: 0.9em;
|
||||
border-radius: 3px;
|
||||
padding: 5px;
|
||||
display: block;
|
||||
width: 95%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#settings-index #settings-index-wrapper #option-settings #theme-settings a {
|
||||
width: 95%;
|
||||
|
|
|
@ -129,10 +129,20 @@
|
|||
textarea
|
||||
background: $primary
|
||||
width: 93%
|
||||
height: 128px
|
||||
height: 80px
|
||||
color: $tertiary
|
||||
padding: 10px
|
||||
display: inline-block
|
||||
margin-bottom: 10px
|
||||
span#key
|
||||
color: $white
|
||||
background: $primary
|
||||
font-size: 0.9em
|
||||
border-radius: 3px
|
||||
padding: 5px
|
||||
display: block
|
||||
width: 95%
|
||||
overflow: hidden
|
||||
|
||||
#option-settings
|
||||
#theme-settings
|
||||
|
|
Loading…
Reference in a new issue