-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#145 Update skin of login page, migration page
- Loading branch information
Showing
6 changed files
with
69 additions
and
215 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 |
---|---|---|
@@ -1,164 +1 @@ | ||
<!-- | ||
<nav class="navbar navbar-inverse navbar-fixed-top main-navbar" ng-if="!hideStatusBar" ng-show="currentUser.id" role="navigation"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#th-navbar-collapse" data-toggle="collapse" type="button"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" ui-sref="app.cases()"> | ||
<img alt="The Hive" src="images/logo.white.png"></a> | ||
</div> | ||
<div class="collapse navbar-collapse" id="th-navbar-collapse"> | ||
<ul class="nav navbar-nav" ng-show="currentUser.id"> | ||
<li class="dropdown" uib-dropdown> | ||
<a class="dropdown-toggle" uib-dropdown-toggle href> | ||
<i class="text-default fa fa-plus"></i> | ||
<span class="hpad5">New Case</span> | ||
<span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu" uib-dropdown-menu> | ||
<li> | ||
<a href ng-click="createNewCase()">Empty Case</a> | ||
</li> | ||
<li class="divider" ng-if="templates && templates.length > 0"></li> | ||
<li ng-repeat="template in templates"> | ||
<a href ng-click="createNewCase(template)">From | ||
{{template.name | uppercase}} | ||
template</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li ui-sref-active="active"> | ||
<a ui-sref="app.main({viewId: 'mytasks'})">My tasks | ||
<span class="badge alert-danger">{{myCurrentTasks.count}}</span> | ||
</a> | ||
</li> | ||
<li ui-sref-active="active"> | ||
<a ui-sref="app.main({viewId: 'waitingtasks'})">Waiting tasks | ||
<span class="badge alert-danger">{{waitingTasks.count}}</span> | ||
</a> | ||
</li> | ||
<li ng-show="mispEnabled === true" ui-sref-active="active"> | ||
<a href ui-sref="app.misp-list"> | ||
MISP | ||
<span class="badge alert-danger">{{(mispEvents.New.count || 0) + (mispEvents.Update.count || 0)}}</span> | ||
</a> | ||
</li> | ||
<li class="hdivider hidden-xs"></li> | ||
<li ui-sref-active="active"> | ||
<a ui-sref="app.statistics"> | ||
<i class="fa fa-bar-chart"></i> Statistics | ||
</a> | ||
</li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li ng-if="async > 0" class="hidden-xs"> | ||
<a>{{async}} | ||
<i class="fa fa-circle-o-notch fa-spin"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<form ng-submit="search(querystring)" style="margin-top : 10px"> | ||
<div class="input-group" style="width: 220px"> | ||
<span class="input-group-addon"> | ||
<i class="glyphicon glyphicon-search"></i> | ||
</span> | ||
<input class="input-sm form-control" ng-model="querystring" placeholder="Case, user, URL, hash, IP, domain ..." style="width : 200px" tooltype="Enter your query string" type="text"></input> | ||
<div class="input-group-btn"> | ||
<div class="btn-group dropdown" uib-dropdown> | ||
<a class="btn btn-sm btn-default dropdown-toggle" uib-dropdown-toggle href> | ||
<span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu" uib-dropdown-menu> | ||
<li class="dropdown-header" role="presentation">Custom search</li> | ||
<li> | ||
<a ng-click="querystring = 'status:Resolved' ; search(querystring);">Closed cases</a> | ||
</li> | ||
<li> | ||
<a ng-click="querystring = 'caseId:'">By case number</a> | ||
</li> | ||
<li> | ||
<a ng-click="querystring = '_type:case_artifact '">Observables</a> | ||
</li> | ||
<li class="divider"></li> | ||
<li> | ||
<a ng-click="querystring = '_type:case AND (_missing_:endDate) AND (startDate:{* TO now-1M})' ; search(querystring);">Cold cases</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</li> | ||
<li class="dropdown" uib-dropdown ng-if="isAdmin(currentUser)"> | ||
<a class="dropdown-toggle" uib-dropdown-toggle href> | ||
<i class="fa fa-cog"></i> | ||
<span class="hpad5">Admin</span> | ||
<b class="caret"></b> | ||
</a> | ||
<ul class="dropdown-menu" uib-dropdown-menu> | ||
<li> | ||
<a ui-sref="app.administration.users"> | ||
<i class="fa fa-users"></i> | ||
<span class="hpad5">Users</span> | ||
</a> | ||
</li> | ||
<li class="divider"></li> | ||
<li> | ||
<a ui-sref="app.administration.case-templates"> | ||
<i class="fa fa-file-text"></i> | ||
<span class="hpad5">Case templates</span> | ||
</a> | ||
</li> | ||
<li> | ||
<a ui-sref="app.administration.report-templates"> | ||
<i class="fa fa-file-text"></i> | ||
<span class="hpad5">Report templates</span> | ||
</a> | ||
</li> | ||
<li> | ||
<a ui-sref="app.administration.metrics"> | ||
<i class="fa fa-tachometer"></i> | ||
<span class="hpad5">Case metrics</span> | ||
</a> | ||
</li> | ||
<li class="divider"></li> | ||
<li> | ||
<a ui-sref="app.administration.observables"> | ||
<i class="glyphicon glyphicon-pushpin"></i> | ||
<span class="hpad5">Observables</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="dropdown" uib-dropdown> | ||
<a class="profile dropdown-toggle" uib-dropdown-toggle href> | ||
<user user-id="currentUser.id"></user> | ||
</a> | ||
<ul class="dropdown-menu" uib-dropdown-menu> | ||
<li> | ||
<a ui-sref="app.settings">Personal settings</a> | ||
</li> | ||
<li class="divider"></li> | ||
<li> | ||
<a href="/docs" target="_blank">Help</a> | ||
</li> | ||
<li> | ||
<a href ng-click="aboutTheHive()">About The Hive</a> | ||
</li> | ||
<li class="divider"></li> | ||
<li> | ||
<a href ng-click="logout()">Logout</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
--> | ||
<app-container class="wrapper"></app-container> |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="flexwrap"> | ||
<div class="tags-list flexwrap"> | ||
<span ng-repeat="tag in data" class="label label-primary mb-xxxs mr-xxxs">{{tag}}</span> | ||
</div> |
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 |
---|---|---|
@@ -1,24 +1,25 @@ | ||
<div class="container-fluid"> | ||
<div class="login-box"> | ||
<div class="login-logo"> | ||
<img src="images/logo.png" height="70"/> | ||
</div> | ||
<div class="login-box-body"> | ||
<p class="login-box-msg">Sign in to start your session</p> | ||
|
||
<div class="login-form well well-sm" style="margin-bottom: 0px"> | ||
<h1 align="center"><img src="images/logo.png" height="50"/></h1> | ||
<br /> | ||
<alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.message}}</alert> | ||
<form ng-submit="login()"> | ||
<form name="loginForm" ng-submit="login()"> | ||
<div class="form-group has-feedback has-feedback-left"> | ||
<input type="text" class="form-control" placeholder="Login" ng-model="params.username" autocomplete="off"> | ||
<i style="top:0px;" class="form-control-feedback glyphicon glyphicon-user"></i> | ||
<input type="text" class="form-control" placeholder="Login" ng-model="params.username" autocomplete="off" required> | ||
<i class="form-control-feedback glyphicon glyphicon-user"></i> | ||
</div> | ||
<br /> | ||
<div class="form-group has-feedback has-feedback-left"> | ||
<input type="password" class="input form-control" placeholder="Password" ng-model="params.password" autocomplete="off"> | ||
<i style="top:0px;" class="form-control-feedback glyphicon glyphicon-lock "></i> | ||
<input type="password" class="input form-control" placeholder="Password" ng-model="params.password" autocomplete="off" required> | ||
<i class="form-control-feedback glyphicon glyphicon-lock "></i> | ||
</div> | ||
<br /> <br /> | ||
<div class="text-center"> | ||
<input type="submit" class="btn btn-primary btn-lg" value="Sign In" /> | ||
|
||
<div class="row"> | ||
<div class="col-xs-offset-8 col-xs-4"> | ||
<button type="submit" class="btn btn-primary btn-sm btn-block btn-flat" ng-disabled="loginForm.$invalid">Sign In</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> |
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