add styles in email templates

This commit is contained in:
Anton Romanov 2018-11-09 14:53:24 +04:00
parent 67881262be
commit 1211b0db29
3 changed files with 27 additions and 2 deletions

View File

@ -18,6 +18,6 @@ fi
ssh $USERSERVER "cd /tmp && rm -rf $ARTIFACT_NAME*.jar && echo `date` 'killed' >> log_$ARTIFACT_NAME" ssh $USERSERVER "cd /tmp && rm -rf $ARTIFACT_NAME*.jar && echo `date` 'killed' >> log_$ARTIFACT_NAME"
scp build/libs/$ARTIFACT_NAME-0.1.0-SNAPSHOT.jar $USERSERVER:/tmp/$ARTIFACT_NAME-0.1.0-SNAPSHOT.jar scp build/libs/$ARTIFACT_NAME-0.1.0-SNAPSHOT.jar $USERSERVER:/tmp/$ARTIFACT_NAME-0.1.0-SNAPSHOT.jar
ssh $USERSERVER -f "cd /tmp/ && /opt/jdk1.8.0_192/bin/java -jar $ARTIFACT_NAME-0.1.0-SNAPSHOT.jar -Xms 512m -Xmx 1024m --server.port=8443 --server.http.port=8080 >> /home/user/logfile_$ARTIFACT_NAME" & ssh $USERSERVER -f "cd /tmp/ && /opt/jdk1.8.0_192/bin/java -jar $ARTIFACT_NAME-0.1.0-SNAPSHOT.jar -Xms 512m -Xmx 1024m --server.port=8443 --server.http.port=8080 --ng-tracker.base-url=http://193.110.3.124:8080 >> /home/user/logfile_$ARTIFACT_NAME" &
sleep 10 sleep 10
echo "is deployed" echo "is deployed"

View File

@ -32,7 +32,7 @@ liquibase.drop-first=false
liquibase.enabled=true liquibase.enabled=true
liquibase.change-log=classpath:db/changelog-master.xml liquibase.change-log=classpath:db/changelog-master.xml
# Application Settings # Application Settings
ng-tracker.base-url=https://127.0.0.1:8443 ng-tracker.base-url=http://127.0.0.1:8080
ng-tracker.undead-user-login=admin ng-tracker.undead-user-login=admin
ng-tracker.dev-mode=true ng-tracker.dev-mode=true
ng-tracker.use-https=false ng-tracker.use-https=false

View File

@ -4,8 +4,33 @@
<title>Уведомление о создании статьи</title> <title>Уведомление о создании статьи</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" th:href="@{|${baseUrl}/favicon.ico|}"/> <link rel="shortcut icon" th:href="@{|${baseUrl}/favicon.ico|}"/>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" th:href="|${baseUrl}/webjars/bootstrap/4.1.0/css/bootstrap.min.css|"/>
<link rel="stylesheet" th:href="|${baseUrl}/webjars/font-awesome/4.7.0/css/font-awesome.min.css|"/>
<!-- Custom fonts for this template -->
<link rel="stylesheet" type="text/css" th:href="|${baseUrl}/css/google/montserrat.css|"/>
<link rel="stylesheet" type="text/css" th:href="|${baseUrl}/css/google/kaushan.css|"/>
<link rel="stylesheet" type="text/css" th:href="|${baseUrl}/css/google/droid.css|"/>
<link rel="stylesheet" type="text/css" th:href="|${baseUrl}/css/google/roboto.css|"/>
<!-- Custom styles for this template -->
<link rel="stylesheet" th:href="|${baseUrl}/css/agency.css|"/>
</head> </head>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top navbar-shrink" id="mainNav">
<div class="container">
<a class="navbar-brand js-scroll-trigger" th:href="|${baseUrl}|">NG-Tracker</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse"
data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false"
aria-label="Toggle navigation">
Menu
<i class="fa fa-bars"></i>
</button>
</div>
</nav>
<p> <p>
Уважаемый(ая) <span th:text="${user.firstName + ' ' + user.lastName}">Ivan Ivanov</span> Уважаемый(ая) <span th:text="${user.firstName + ' ' + user.lastName}">Ivan Ivanov</span>
</p> </p>