Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
685cbfd8
Commit
685cbfd8
authored
7 years ago
by
Alex ORLUC
Browse files
Options
Downloads
Patches
Plain Diff
fix css for sign mail
parent
0570b201
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/maarch_entreprise/js/angular/app/Views/profile.html
+17
-7
17 additions, 7 deletions
apps/maarch_entreprise/js/angular/app/Views/profile.html
with
17 additions
and
7 deletions
apps/maarch_entreprise/js/angular/app/Views/profile.html
+
17
−
7
View file @
685cbfd8
...
...
@@ -86,6 +86,10 @@ h2{
white-space
:
normal
;
vertical-align
:
top
;
}
.caption
p
{
white-space
:
nowrap
;
overflow
:
auto
;
}
</style>
<h1
style=
"margin-top: 10px"
>
Mon profil
</h1>
<div
id=
"resultInfo"
class=
"fade"
style=
"display:none;"
>
...
...
@@ -280,7 +284,7 @@ h2{
<div
class=
"tab-content"
>
<div
role=
"tabpanel"
class=
"tab-pane active"
id=
"mailSign"
>
<div
class=
"row"
style=
"margin-top:5px;"
>
<div
class=
"col-md-
6
"
>
<div
class=
"col-md-
5
"
>
<select
id=
"emailSignaturesSelect"
class=
"form-control"
(change)=
"changeEmailSignature()"
>
<option>
Nouvelle signature
</option>
<option
*ngFor=
"let emailSignature of user.emailSignatures"
>
{{emailSignature.title}}
</option>
...
...
@@ -289,10 +293,14 @@ h2{
<div
class=
"col-md-5"
>
<input
type=
"text"
[(ngModel)]=
"mailSignatureModel.title"
name=
"title"
placeholder=
"Nom de la signature"
class=
"form-control"
>
</div>
<div
class=
"col-md-1"
>
<button
class=
"form-control btn btn-sm btn-success"
*ngIf=
"mailSignatureModel.selected == 0"
(click)=
"submitEmailSignature()"
[disabled]=
"!mailSignatureModel.title"
><i
class=
"fa fa-plus"
></i></button>
<button
class=
"form-control btn btn-sm btn-primary"
*ngIf=
"mailSignatureModel.selected > 0"
(click)=
"updateEmailSignature()"
[disabled]=
"!mailSignatureModel.title"
><i
class=
"fa fa-pencil"
></i></button>
<button
class=
"form-control btn btn-sm btn-danger"
*ngIf=
"mailSignatureModel.selected > 0"
(click)=
"deleteEmailSignature()"
><i
class=
"fa fa-trash"
></i></button>
<div
class=
"col-md-1"
*ngIf=
"mailSignatureModel.selected == 0"
>
<button
class=
"form-control btn btn-sm btn-success"
(click)=
"submitEmailSignature()"
[disabled]=
"!mailSignatureModel.title"
><i
class=
"fa fa-plus"
></i></button>
</div>
<div
class=
"col-md-1"
*ngIf=
"mailSignatureModel.selected > 0"
>
<button
class=
"form-control btn btn-sm btn-primary"
(click)=
"updateEmailSignature()"
[disabled]=
"!mailSignatureModel.title"
><i
class=
"fa fa-pencil"
></i></button>
</div>
<div
class=
"col-md-1"
*ngIf=
"mailSignatureModel.selected > 0"
>
<button
class=
"form-control btn btn-sm btn-danger"
(click)=
"deleteEmailSignature()"
><i
class=
"fa fa-trash"
></i></button>
</div>
</div>
<div
class=
"row"
style=
"margin-top:5px;"
>
...
...
@@ -319,14 +327,16 @@ h2{
<i
class=
"fa fa-plus"
></i>
</button>
</div>
<div
c
lass=
"col-md-12"
>
<div
[ngC
lass
]
=
"
[signatureModel.size != '' ? 'col-md-10' : '
col-md-12
']
"
>
<div
class=
"upload-drop-zone"
>
Cliquez sur
<i
class=
"fa fa-upload fa-2x"
style=
"cursor:pointer;"
(click)=
"clickOnUploader('uploadSignFile')"
></i>
pour
<span
*ngIf=
"!signatureModel.size"
>
ajouter une signature
</span>
<span
*ngIf=
"signatureModel.size"
>
modifier la signature téléchargée
</span>
<img
*ngIf=
"signatureModel.size"
id=
"signaturePreview"
src=
"{{signatureModel.base64ForJs}}"
alt=
"Preview"
style=
"height: 60px; width: auto"
>
</div>
</div>
<div
class=
"col-md-2"
*ngIf=
"signatureModel.size"
>
<img
id=
"signaturePreview"
src=
"{{signatureModel.base64ForJs}}"
alt=
"Preview"
style=
"width: 100%;"
>
</div>
</form>
</div>
<div
class=
"row"
id=
"signList"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment