Skip to content

Commit

Permalink
improved the UI and the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhangi013 committed Feb 23, 2022
1 parent c0ad8db commit a650c55
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion doc/en-US/user_guide_pypi.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ The following argument options are currently available:
-h, --help show this help message and exit
--conf CONF Path of config file. default:-
"~/.securetea/securetea.conf"
--debug Degug true or false
--debug Debug true or false
--twitter Setup twitter credentials
--twilio_sms Setup twilio SMS credentials
--whatsapp Setup whatsapp credentials
Expand Down
36 changes: 19 additions & 17 deletions gui/src/app/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@
<link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet" />

<nav class="navbar top-navbar navbar-expand-md navbar-light">
<div class="navbar-header">
<a class="navbar-brand" href="/dashboard">
<b><img src="../assets/images/logo.png" alt="homepage" class="dark-logo" /></b>
<span><img src="../assets/images/logo-text.png" alt="homepage" class="dark-logo" /></span>
</a>
</div>
<div class="navbar-collapse">
<ul class="navbar-nav mr-auto mt-md-0">
</ul>
<ul class="navbar-nav my-lg-0">
<li class="nav-item dropdown ">
<div class="username">{{ username | titlecase}}</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-muted" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img src="../../assets/images/users/5.jpg" alt="user" class="profile-pic" /></a>
</li>
</ul>
<div style="display: flex;">
<div class="navbar-header">
<a class="navbar-brand" href="/dashboard">
<b><img src="../assets/images/logo.png" alt="homepage" class="dark-logo" /></b>
<span><img src="../assets/images/logo-text.png" alt="homepage" class="dark-logo" /></span>
</a>
</div>
<div class="navbar-collapse" style="margin-left:auto!important; margin-right:0!important;">
<ul class="navbar-nav my-lg-0">
<li class="nav-item dropdown ">
<div class="username">{{ username | titlecase}}</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-muted" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false"><img src="../../assets/images/users/5.png" alt="user"
class="profile-pic" /></a>
</li>
</ul>
</div>
</div>
</nav>
Binary file added gui/src/assets/images/users/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion securetea/entry_points/iot_ep.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_args():
'--debug',
default=False,
action="store_true",
help='Degug true or false'
help='Debug true or false'
)

return parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion securetea/entry_points/server_ep.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_args():
'--debug',
default=False,
action="store_true",
help='Degug true or false'
help='Debug true or false'
)

return parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion securetea/entry_points/system_ep.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_args():
'--debug',
default=False,
action="store_true",
help='Degug true or false'
help='Debug true or false'
)

args = parser.parse_args()
Expand Down

0 comments on commit a650c55

Please sign in to comment.