Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Requirement Formalization Tool
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thodoris Nestoridis
Requirement Formalization Tool
Commits
ad19a7d0
Commit
ad19a7d0
authored
Mar 29, 2021
by
Thodoris Nestoridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some ui changes
parent
bf1959c7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
42 deletions
+48
-42
boilerplate-details.component.html
...ts/boilerplate-details/boilerplate-details.component.html
+19
-18
main-details.component.html
...c/app/components/main-details/main-details.component.html
+8
-7
main-details.component.scss
...c/app/components/main-details/main-details.component.scss
+5
-2
prefix-details.component.html
...p/components/prefix-details/prefix-details.component.html
+8
-7
suffix-details.component.html
...p/components/suffix-details/suffix-details.component.html
+4
-7
parse_ontologies.py
...reqman/apps/reqtool/rest_api/services/parse_ontologies.py
+4
-1
No files found.
reqtool/ReqmanAngular11/src/app/components/boilerplate-details/boilerplate-details.component.html
View file @
ad19a7d0
...
@@ -10,10 +10,9 @@
...
@@ -10,10 +10,9 @@
</nav>
</nav>
<div>
<div>
<div
*
ngIf=
"currentboilerplate.id"
class=
"edit-form"
>
<div
*
ngIf=
"currentboilerplate.id"
class=
"edit-form"
>
<h4>
Boilerplate
</h4>
<form>
<form>
<div
class=
"form-group"
>
<div
class=
"form-group"
style=
"width: 63%;"
>
<label
for=
"title"
>
T
itle
</label>
<label
for=
"title"
>
Boilerplate t
itle
</label>
<input
<input
type=
"text"
type=
"text"
class=
"form-control"
class=
"form-control"
...
@@ -30,7 +29,7 @@
...
@@ -30,7 +29,7 @@
>
Prefix
>
Prefix
</mat-checkbox>
</mat-checkbox>
</form>
</form>
<div
*
ngIf=
"this.currentboilerplate.has_prefix"
>
<div
*
ngIf=
"this.currentboilerplate.has_prefix"
style=
"margin-left: 50px;"
>
<app-prefix-details></app-prefix-details>
<app-prefix-details></app-prefix-details>
</div>
</div>
</div>
</div>
...
@@ -43,7 +42,7 @@
...
@@ -43,7 +42,7 @@
>
Main
>
Main
</mat-checkbox>
</mat-checkbox>
</form>
</form>
<div
*
ngIf=
"this.currentboilerplate.has_main"
>
<div
*
ngIf=
"this.currentboilerplate.has_main"
style=
"margin-left: 50px;"
>
<app-main-details></app-main-details>
<app-main-details></app-main-details>
</div>
</div>
</div>
</div>
...
@@ -56,23 +55,25 @@
...
@@ -56,23 +55,25 @@
>
Suffix
>
Suffix
</mat-checkbox>
</mat-checkbox>
</form>
</form>
<div
*
ngIf=
"this.currentboilerplate.has_suffix"
>
<div
*
ngIf=
"this.currentboilerplate.has_suffix"
style=
"margin-left: 50px;"
>
<app-suffix-details></app-suffix-details>
<app-suffix-details></app-suffix-details>
</div>
</div>
</div>
</div>
</form>
</form>
<div
class=
"list row"
>
<button
class=
"badge badge-danger mr-2"
(
click
)="
deleteBoilerplate
()"
>
<div
fxFlex
fxLayout
fxHide
.
xs
fxLayoutAlign=
"start"
>
Delete Boilerplate
<input
class=
"btn btn-success"
</button>
type=
"button"
value=
" Update Boilerplate"
<button
(
click
)="
updateBoilerplate
()"
/>
type=
"submit"
</div>
class=
"badge badge-success mb-2"
<div
fxFlex
fxLayout
fxHide
.
xs
fxLayoutAlign=
"start"
>
(
click
)="
updateBoilerplate
()"
<input
class=
"btn btn-warning"
>
type=
"button"
Update Boilerplate
value=
"Delete Boilerplate"
</button>
(
click
)="
deleteBoilerplate
()"
/>
</div>
</div>
<p>
{{ message }}
</p>
<p>
{{ message }}
</p>
</div>
</div>
<!---->
<!---->
...
...
reqtool/ReqmanAngular11/src/app/components/main-details/main-details.component.html
View file @
ad19a7d0
...
@@ -56,6 +56,8 @@
...
@@ -56,6 +56,8 @@
</mat-form-field>
</mat-form-field>
</form>
</form>
</div>
</div>
</div>
<div
class=
"form-row"
>
<div
class=
"col"
>
<div
class=
"col"
>
<form
class=
"form-group form-inline"
>
<form
class=
"form-group form-inline"
>
<mat-form-field
class=
"example-full-width"
>
<mat-form-field
class=
"example-full-width"
>
...
@@ -141,6 +143,8 @@
...
@@ -141,6 +143,8 @@
</mat-form-field>
</mat-form-field>
</form>
</form>
</div>
</div>
</div>
<div
class=
"form-row"
>
<div
class=
"col"
>
<div
class=
"col"
>
<form
class=
"form-group form-inline"
>
<form
class=
"form-group form-inline"
>
<mat-form-field
class=
"example-full-width"
>
<mat-form-field
class=
"example-full-width"
>
...
@@ -180,12 +184,9 @@
...
@@ -180,12 +184,9 @@
</form>
</form>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<button
<input
class=
"btn btn-success"
type=
"submit"
type=
"button"
class=
"badge badge-success mb-2"
value=
"Update Main"
(
click
)="
updateMain
()"
(
click
)="
updateMain
()"
/>
>
Update Main
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
reqtool/ReqmanAngular11/src/app/components/main-details/main-details.component.scss
View file @
ad19a7d0
example-full-width
{
.
example-full-width
{
width
:
100%
;
width
:
100%
;
}
}
\ No newline at end of file
.mat-autocomplete
{
width
:
100%
;
}
\ No newline at end of file
reqtool/ReqmanAngular11/src/app/components/prefix-details/prefix-details.component.html
View file @
ad19a7d0
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
</mat-form-field>
</mat-form-field>
</form>
</form>
</div>
</div>
</div>
<div
class=
"form-row"
>
<div
class=
"col"
>
<div
class=
"col"
>
<form
class=
"example-form form-inline"
>
<form
class=
"example-form form-inline"
>
<mat-form-field>
<mat-form-field>
...
@@ -56,6 +58,8 @@
...
@@ -56,6 +58,8 @@
</mat-form-field>
</mat-form-field>
</form>
</form>
</div>
</div>
</div>
<div
class=
"form-row"
>
<div
class=
"col"
>
<div
class=
"col"
>
<form
class=
"example-form form-inline"
>
<form
class=
"example-form form-inline"
>
<mat-form-field>
<mat-form-field>
...
@@ -97,13 +101,10 @@
...
@@ -97,13 +101,10 @@
</form>
</form>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<button
<input
class=
"btn btn-success"
type=
"submit"
type=
"button"
class=
"badge badge-success mb-2"
value=
"Update Prefix"
(
click
)="
updatePrefix
()"
(
click
)="
updatePrefix
()"
/>
>
Update Prefix
</button>
</div>
</div>
</div>
</div>
...
...
reqtool/ReqmanAngular11/src/app/components/suffix-details/suffix-details.component.html
View file @
ad19a7d0
...
@@ -65,12 +65,9 @@
...
@@ -65,12 +65,9 @@
</form>
</form>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<button
<input
class=
"btn btn-success"
type=
"submit"
type=
"button"
class=
"badge badge-success mb-2"
value=
"Update Suffix"
(
click
)="
updateSuffix
()"
(
click
)="
updateSuffix
()"
/>
>
Update Suffix
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
reqtool/reqman/api/reqman/apps/reqtool/rest_api/services/parse_ontologies.py
View file @
ad19a7d0
...
@@ -65,7 +65,10 @@ def get_instances(keyword):
...
@@ -65,7 +65,10 @@ def get_instances(keyword):
spl
=
s
.
split
(
"#"
)
spl
=
s
.
split
(
"#"
)
uri
=
spl
[
len
(
spl
)
-
2
]
.
split
(
"/"
)
uri
=
spl
[
len
(
spl
)
-
2
]
.
split
(
"/"
)
out_list
.
append
(
spl
[
len
(
spl
)
-
1
])
out_list
.
append
(
spl
[
len
(
spl
)
-
1
])
return
tuple
((
str
(
keywordspl
[
len
(
keywordspl
)
-
1
]
+
" : "
+
n
),
str
(
keywordspl
[
len
(
keywordspl
)
-
1
]
+
" : "
+
n
)
)
for
n
in
(
out_list
))
#new code
out_list
.
append
(
extra
)
#return tuple((str(keywordspl[len(keywordspl)-1]+" : "+n), str(keywordspl[len(keywordspl)-1]+" : "+n) ) for n in (out_list))
return
tuple
((
str
(
out_list
[
n
+
1
]
+
" : "
+
out_list
[
n
]),
str
(
out_list
[
n
+
1
]
+
" : "
+
out_list
[
n
])
)
for
n
in
range
(
0
,
len
(
out_list
),
2
))
# A list with the values and the file that is the instance
# A list with the values and the file that is the instance
out_list
=
[]
out_list
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment