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
7f58fd01
Commit
7f58fd01
authored
Feb 11, 2021
by
Thodoris Nestoridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add bootstrap in angular (tryed log in html)
parent
3f6705e2
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
229 additions
and
255 deletions
+229
-255
package-lock.json
reqtool/ReqmanAngular11/package-lock.json
+165
-89
package.json
reqtool/ReqmanAngular11/package.json
+3
-0
app.component.html
reqtool/ReqmanAngular11/src/app/app.component.html
+4
-160
app.component.ts
reqtool/ReqmanAngular11/src/app/app.component.ts
+1
-1
app.module.ts
reqtool/ReqmanAngular11/src/app/app.module.ts
+5
-2
boilerplate-details.component.html
...ts/boilerplate-details/boilerplate-details.component.html
+1
-1
login.component.html
...anAngular11/src/app/components/login/login.component.html
+41
-2
polyfills.ts
reqtool/ReqmanAngular11/src/polyfills.ts
+4
-0
styles.scss
reqtool/ReqmanAngular11/src/styles.scss
+5
-0
No files found.
reqtool/ReqmanAngular11/package-lock.json
View file @
7f58fd01
This diff is collapsed.
Click to expand it.
reqtool/ReqmanAngular11/package.json
View file @
7f58fd01
...
...
@@ -16,9 +16,12 @@
"@angular/compiler"
:
"~11.1.2"
,
"@angular/core"
:
"~11.1.2"
,
"@angular/forms"
:
"~11.1.2"
,
"@angular/localize"
:
"~11.1.2"
,
"@angular/platform-browser"
:
"~11.1.2"
,
"@angular/platform-browser-dynamic"
:
"~11.1.2"
,
"@angular/router"
:
"~11.1.2"
,
"@ng-bootstrap/ng-bootstrap"
:
"^9.0.2"
,
"bootstrap"
:
"^4.6.0"
,
"jwt-decode"
:
"^3.1.2"
,
"moment"
:
"^2.29.1"
,
"rxjs"
:
"~6.6.0"
,
...
...
reqtool/ReqmanAngular11/src/app/app.component.html
View file @
7f58fd01
This diff is collapsed.
Click to expand it.
reqtool/ReqmanAngular11/src/app/app.component.ts
View file @
7f58fd01
...
...
@@ -7,4 +7,4 @@ import { Component } from '@angular/core';
})
export
class
AppComponent
{
title
=
'ReqmanAngular11'
;
}
}
;
\ No newline at end of file
reqtool/ReqmanAngular11/src/app/app.module.ts
View file @
7f58fd01
import
{
NgModule
}
from
'@angular/core'
;
import
{
BrowserModule
}
from
'@angular/platform-browser'
;
import
{
NgbModule
}
from
'@ng-bootstrap/ng-bootstrap'
;
import
{
AppRoutingModule
}
from
'./app-routing.module'
;
import
{
AppComponent
}
from
'./app.component'
;
...
...
@@ -29,13 +31,14 @@ import { PrefixListComponent } from './components/prefix-list/prefix-list.compon
BoilerplateListComponent
,
AddPrefixComponent
,
PrefixDetailsComponent
,
PrefixListComponent
PrefixListComponent
,
],
imports
:
[
BrowserModule
,
AppRoutingModule
,
FormsModule
,
HttpClientModule
HttpClientModule
,
NgbModule
],
providers
:
[
AuthService
,
...
...
reqtool/ReqmanAngular11/src/app/components/boilerplate-details/boilerplate-details.component.html
View file @
7f58fd01
...
...
@@ -28,7 +28,7 @@
type=
"checkbox"
class=
"form-control"
id=
"has_suffix"
[(
ngModel
)]="
currentboilerplate
.
has_
main
"
[(
ngModel
)]="
currentboilerplate
.
has_
suffix
"
name=
"has_suffix"
/>
</div>
...
...
reqtool/ReqmanAngular11/src/app/components/login/login.component.html
View file @
7f58fd01
<div
style=
"text-align:center"
>
<
!-- <
div style="text-align:center">
<h1>
Login
</h1>
...
...
@@ -8,4 +8,43 @@
<input #password type='password' placeholder='password'>
<button (click)="login(username.value, password.value)">login</button>
<p>{{ error?.message }}</p>
<p
*
ngIf=
"error"
>
{{ error?.error | json }}
</p>
\ No newline at end of file
<p *ngIf="error">{{ error?.error | json }}</p> -->
<!-- Default form login -->
<form
class=
"text-center border border-light p-5"
>
<p
class=
"h4 mb-4"
>
Sign in
</p>
<!-- Email -->
<input
#
email
type=
"email"
id=
"defaultLoginFormEmail"
class=
"form-control mb-4"
placeholder=
"E-mail"
>
<!-- Password -->
<input
#
password
type=
"password"
id=
"defaultLoginFormPassword"
class=
"form-control mb-4"
placeholder=
"Password"
>
<div
class=
"d-flex justify-content-around"
>
<div>
<!-- Remember me -->
<input
class=
"form-check-input"
type=
"checkbox"
value=
""
id=
"flexCheckDefault"
/>
</div>
<div>
<!-- Forgot password -->
<a
href=
""
>
Forgot password?
</a>
</div>
</div>
<!-- Sign in button -->
<button
mdbBtn
color=
"info"
block=
"true"
class=
"my-4"
type=
"submit"
(
click
)="
login
(
email
.
value
,
password
.
value
)"
>
Log in
</button>
<!-- Register -->
<p>
Not a member?
<a
href=
""
>
Register
</a>
</p>
</form>
<!-- Default form login -->
\ No newline at end of file
reqtool/ReqmanAngular11/src/polyfills.ts
View file @
7f58fd01
/***************************************************************************************************
* Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
*/
import
'@angular/localize/init'
;
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
...
...
reqtool/ReqmanAngular11/src/styles.scss
View file @
7f58fd01
/* You can add global styles to this file, and also import other style files */
@import
"~bootstrap/dist/css/bootstrap.css"
;
/* Importing Bootstrap SCSS file. */
@import
'~bootstrap/scss/bootstrap'
;
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