Skip to content

Commit 647b9c5

Browse files
committed
refector: changes for line-endings
1 parent 150549a commit 647b9c5

File tree

13 files changed

+805
-805
lines changed

13 files changed

+805
-805
lines changed

.github/workflows/config-validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# github action to run commit-msg hook on pull request commits and push commits to master branch
2-
name: config-validator
2+
name: Validate sample config
33
on: pull_request
44
jobs:
55
config-validator:

Access/background_task_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def run_access_revoke(request_id):
196196
)
197197
revoke_success = False
198198
message = str(traceback.format_exc())
199-
199+
200200

201201
if revoke_success:
202202
access_mapping.revoke()

docs/https-nginx-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Following are the steps to Setup Nginx in enigma
44

5-
1. **Pre-requisistes**
5+
1. **Pre-requisistes**
66
- Should have a host(domain) with ssl certificats that can be attached to nginx.
77
- Make sure the host points the public IP of the machine in which enigma is running on. (i.e., create an dns A record with host pointing to public IP of machine)
88
2. Create a folder in the root folder of enigma named `certs` which contains ssl certificate and key.

docs/“How-to” guides/Integrating Modules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ The added URLs will be integrated by the cloning script `scripts/clone_access_mo
3737

3838
#### Configuring secondary approver for access modules
3939

40-
- Any access requested by the user has to go though the approver which will then be granted accordingly. Engima allows to configure approvers for access modules to be at most 2 approvers for a request.
41-
- By default access modules are configured to have single approver for request to proceed. The user with the permission `ACCESS_APPROVE` is allowed to approve or decline the request in that case.
40+
- Any access requested by the user has to go though the approver which will then be granted accordingly. Engima allows to configure approvers for access modules to be at most 2 approvers for a request.
41+
- By default access modules are configured to have single approver for request to proceed. The user with the permission `ACCESS_APPROVE` is allowed to approve or decline the request in that case.
4242
- You can configure an access module to have a secondary approver if necessary. This can be done by overriding a function in module class which inherits from BaseEmailAccess class in `access.py` of the access module.
43-
- Overide `fetch_approver_permissions` function which return
43+
- Overide `fetch_approver_permissions` function which return
4444
```
4545
{"1": PERMISSION_CONSTANTS["DEFAULT_APPROVER_PERMISSION"]}
4646
```

static/css/jquery-ui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/w3.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ hr{border:0;border-top:1px solid #eee;margin:20px 0}
3838
.w3-table th:first-child,.w3-table td:first-child,.w3-table-all th:first-child,.w3-table-all td:first-child{padding-left:16px}
3939
.w3-btn,.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
4040
.w3-btn:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
41-
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
41+
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
4242
.w3-disabled,.w3-btn:disabled,.w3-button:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
4343
.w3-btn.w3-disabled:hover,.w3-btn:disabled:hover{box-shadow:none}
4444
.w3-badge,.w3-tag{background-color:#000;color:#fff;display:inline-block;padding-left:8px;padding-right:8px;text-align:center}.w3-badge{border-radius:50%}
@@ -86,7 +86,7 @@ hr{border:0;border-top:1px solid #eee;margin:20px 0}
8686
.w3-hide{display:none!important}.w3-show-block,.w3-show{display:block!important}.w3-show-inline-block{display:inline-block!important}
8787
@media (max-width:1205px){.w3-auto{max-width:95%}}
8888
@media (max-width:600px){.w3-modal-content{margin:0 10px;width:auto!important}.w3-modal{padding-top:30px}
89-
.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative}
89+
.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative}
9090
.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}.w3-bar-item.w3-mobile,.w3-dropdown-hover.w3-mobile,.w3-dropdown-click.w3-mobile{text-align:center}
9191
.w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}}
9292
@media (max-width:768px){.w3-modal-content{width:500px}.w3-modal{padding-top:50px}}
@@ -232,4 +232,4 @@ hr{border:0;border-top:1px solid #eee;margin:20px 0}
232232
.w3-border-light-grey,.w3-hover-border-light-grey:hover,.w3-border-light-gray,.w3-hover-border-light-gray:hover{border-color:#f1f1f1!important}
233233
.w3-border-dark-grey,.w3-hover-border-dark-grey:hover,.w3-border-dark-gray,.w3-hover-border-dark-gray:hover{border-color:#616161!important}
234234
.w3-border-pale-red,.w3-hover-border-pale-red:hover{border-color:#ffe7e7!important}.w3-border-pale-green,.w3-hover-border-pale-green:hover{border-color:#e7ffe7!important}
235-
.w3-border-pale-yellow,.w3-hover-border-pale-yellow:hover{border-color:#ffffcc!important}.w3-border-pale-blue,.w3-hover-border-pale-blue:hover{border-color:#e7ffff!important}
235+
.w3-border-pale-yellow,.w3-hover-border-pale-yellow:hover{border-color:#ffffcc!important}.w3-border-pale-blue,.w3-hover-border-pale-blue:hover{border-color:#e7ffff!important}

static/files/css/semantic.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/files/css/style.green.css

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
/*
2-
==============================================================
3-
==============================================================
4-
5-
Dark Admin Bootstrap Template by Bootstrapious.com
6-
7-
==============================================================
8-
==============================================================
1+
/*
2+
==============================================================
3+
==============================================================
4+
5+
Dark Admin Bootstrap Template by Bootstrapious.com
6+
7+
==============================================================
8+
==============================================================
99
*/
10-
/*
11-
* ==========================================================
12-
* GENERAL STYLING
13-
* ==========================================================
10+
/*
11+
* ==========================================================
12+
* GENERAL STYLING
13+
* ==========================================================
1414
*/
1515
body {
1616
position: relative;
@@ -388,10 +388,10 @@ i[class*='icon-'] {
388388
font-size: 0.95rem;
389389
}
390390

391-
/*
392-
* ==========================================================
393-
* NAVBAR
394-
* ==========================================================
391+
/*
392+
* ==========================================================
393+
* NAVBAR
394+
* ==========================================================
395395
*/
396396
nav.navbar {
397397
background: #2d3035;
@@ -708,10 +708,10 @@ nav.navbar .dropdown .dropdown-menu.active {
708708
}
709709
}
710710

711-
/*
712-
* ==========================================================
713-
* SIDEBAR
714-
* ==========================================================
711+
/*
712+
* ==========================================================
713+
* SIDEBAR
714+
* ==========================================================
715715
*/
716716
nav#sidebar {
717717
width: 280px;
@@ -985,10 +985,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
985985
}
986986
}
987987

988-
/*
989-
* ==========================================================
990-
* STATISTICS SECTION
991-
* ==========================================================
988+
/*
989+
* ==========================================================
990+
* STATISTICS SECTION
991+
* ==========================================================
992992
*/
993993
/* Statistic Block */
994994
.statistic-block {
@@ -1046,10 +1046,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
10461046
height: 2px;
10471047
}
10481048

1049-
/*
1050-
* ==========================================================
1051-
* CARDS SECTION
1052-
* ==========================================================
1049+
/*
1050+
* ==========================================================
1051+
* CARDS SECTION
1052+
* ==========================================================
10531053
*/
10541054
/* Scans Block */
10551055
.stats-2-block .stats-2 {
@@ -1199,10 +1199,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
11991199
}
12001200
}
12011201

1202-
/*
1203-
* ==========================================================
1204-
* USERS SECTION
1205-
* ==========================================================
1202+
/*
1203+
* ==========================================================
1204+
* USERS SECTION
1205+
* ==========================================================
12061206
*/
12071207
/* user block */
12081208
.user-block .avatar {
@@ -1340,10 +1340,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
13401340
}
13411341
}
13421342

1343-
/*
1344-
* ==========================================================
1345-
* SALES SECTION
1346-
* ==========================================================
1343+
/*
1344+
* ==========================================================
1345+
* SALES SECTION
1346+
* ==========================================================
13471347
*/
13481348
/* Sale Block */
13491349
.stats-with-chart-2 .title {
@@ -1413,10 +1413,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
14131413
}
14141414
}
14151415

1416-
/*
1417-
* ==========================================================
1418-
* FEEDS SECTION
1419-
* ==========================================================
1416+
/*
1417+
* ==========================================================
1418+
* FEEDS SECTION
1419+
* ==========================================================
14201420
*/
14211421
/* Checklist Media Query */
14221422
.checklist-block .title {
@@ -1556,10 +1556,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
15561556
font-size: 1.25rem;
15571557
}
15581558

1559-
/*
1560-
* ==========================================================
1561-
* LOGIN PAGE
1562-
* ==========================================================
1559+
/*
1560+
* ==========================================================
1561+
* LOGIN PAGE
1562+
* ==========================================================
15631563
*/
15641564
.login-page {
15651565
position: relative;
@@ -1674,10 +1674,10 @@ nav#sidebar.shrinked a[aria-expanded="true"]::after {
16741674
}
16751675
}
16761676

1677-
/*
1678-
* ==========================================================
1679-
* FORMS
1680-
* ==========================================================
1677+
/*
1678+
* ==========================================================
1679+
* FORMS
1680+
* ==========================================================
16811681
*/
16821682
.form-control {
16831683
height: calc(2.4rem + 2px);
@@ -1987,10 +1987,10 @@ input.input-material ~ label.is-invalid ~ label {
19871987
margin-bottom: 30px;
19881988
}
19891989

1990-
/*
1991-
* ==========================================================
1992-
* CHARTS
1993-
* ==========================================================
1990+
/*
1991+
* ==========================================================
1992+
* CHARTS
1993+
* ==========================================================
19941994
*/
19951995
.gauge-container {
19961996
position: relative;
@@ -2018,10 +2018,10 @@ input.input-material ~ label.is-invalid ~ label {
20182018
margin-left: 20px;
20192019
}
20202020

2021-
/*
2022-
* ==========================================================
2023-
* TABLES
2024-
* ==========================================================
2021+
/*
2022+
* ==========================================================
2023+
* TABLES
2024+
* ==========================================================
20252025
*/
20262026
.table {
20272027
margin-bottom: 0;
@@ -2061,12 +2061,12 @@ input.input-material ~ label.is-invalid ~ label {
20612061
}
20622062
}
20632063

2064-
/*
2065-
2066-
=====================
2067-
STYLE SWITCHER FOR DEMO
2068-
=====================
2069-
2064+
/*
2065+
2066+
=====================
2067+
STYLE SWITCHER FOR DEMO
2068+
=====================
2069+
20702070
*/
20712071
#style-switch-button {
20722072
position: fixed;
@@ -2087,11 +2087,11 @@ STYLE SWITCHER FOR DEMO
20872087
z-index: 2000;
20882088
}
20892089

2090-
/* =========================================
2091-
THEMING OF BOOTSTRAP COMPONENTS
2090+
/* =========================================
2091+
THEMING OF BOOTSTRAP COMPONENTS
20922092
========================================= */
2093-
/*
2094-
* 1. NAVBAR
2093+
/*
2094+
* 1. NAVBAR
20952095
*/
20962096
.navbar {
20972097
padding: 0.5rem 1rem;
@@ -2193,8 +2193,8 @@ STYLE SWITCHER FOR DEMO
21932193
color: rgba(255, 255, 255, 0.5);
21942194
}
21952195

2196-
/*
2197-
* 2. BUTTONS
2196+
/*
2197+
* 2. BUTTONS
21982198
*/
21992199
.btn {
22002200
font-weight: 400;
@@ -2813,8 +2813,8 @@ STYLE SWITCHER FOR DEMO
28132813
border-radius: 0.2rem;
28142814
}
28152815

2816-
/*
2817-
* 3. TYPE
2816+
/*
2817+
* 3. TYPE
28182818
*/
28192819
body {
28202820
font-family: "Muli", sans-serif;
@@ -2952,8 +2952,8 @@ a.text-primary:focus, a.text-primary:hover {
29522952
color: #326f34 !important;
29532953
}
29542954

2955-
/*
2956-
* 4. PAGINATION
2955+
/*
2956+
* 4. PAGINATION
29572957
*/
29582958
.page-item:first-child .page-link {
29592959
border-top-left-radius: 0.25rem;
@@ -3033,8 +3033,8 @@ a.text-primary:focus, a.text-primary:hover {
30333033
border-bottom-right-radius: 0.2rem;
30343034
}
30353035

3036-
/*
3037-
* 5. UTILITIES
3036+
/*
3037+
* 5. UTILITIES
30383038
*/
30393039
.bg-primary {
30403040
background-color: #429244 !important;
@@ -3284,8 +3284,8 @@ a.text-dark:focus, a.text-dark:hover {
32843284
background-color: #0a0c0d;
32853285
}
32863286

3287-
/*
3288-
* 6.CODE
3287+
/*
3288+
* 6.CODE
32893289
*/
32903290
code {
32913291
padding: 0.2rem 0.4rem;
@@ -3305,8 +3305,8 @@ pre code {
33053305
background: none;
33063306
}
33073307

3308-
/*
3309-
* 7. NAV
3308+
/*
3309+
* 7. NAV
33103310
*/
33113311
.nav-link {
33123312
padding: 0.5rem 1rem;
@@ -3355,8 +3355,8 @@ pre code {
33553355
background-color: #429244;
33563356
}
33573357

3358-
/*
3359-
* 8. CARD
3358+
/*
3359+
* 8. CARD
33603360
*/
33613361
.card {
33623362
background-color: #2d3035;

static/files/js/semantic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)