You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by gk...@apache.org on 2025/10/31 13:54:10 UTC

(turbine-archetypes) 03/03: update firstname position

This is an automated email from the ASF dual-hosted git repository.

gk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/turbine-archetypes.git

commit da940a6ee441b099fbb90f6f0fd0806ead1b7579
Author: Georg Kallidis <gk...@apache.org>
AuthorDate: Fri Oct 31 14:50:43 2025 +0100

    update firstname position
---
 .../src/main/data/sample-mysql-data/_turbine-security-data.sql          | 2 +-
 .../src/main/webapp/templates/app/layouts/Default.vm                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/archetype-resources/src/main/data/sample-mysql-data/_turbine-security-data.sql b/src/main/resources/archetype-resources/src/main/data/sample-mysql-data/_turbine-security-data.sql
index 48ebeeb..03b5374 100644
--- a/src/main/resources/archetype-resources/src/main/data/sample-mysql-data/_turbine-security-data.sql
+++ b/src/main/resources/archetype-resources/src/main/data/sample-mysql-data/_turbine-security-data.sql
@@ -8,7 +8,7 @@
 SET FOREIGN_KEY_CHECKS=0;
 
 INSERT INTO TURBINE_USER (USER_ID,LOGIN_NAME,PASSWORD_VALUE,FIRST_NAME,LAST_NAME)
-    VALUES (1,'admin','password','','Admin');
+    VALUES (1,'admin','password','TOBECHANGED','Admin');
 
 INSERT INTO TURBINE_USER (USER_ID,LOGIN_NAME,PASSWORD_VALUE,FIRST_NAME,LAST_NAME)
     VALUES (2,'user','password','','User');
diff --git a/src/main/resources/archetype-resources/src/main/webapp/templates/app/layouts/Default.vm b/src/main/resources/archetype-resources/src/main/webapp/templates/app/layouts/Default.vm
index 93b9c2e..df929bb 100644
--- a/src/main/resources/archetype-resources/src/main/webapp/templates/app/layouts/Default.vm
+++ b/src/main/resources/archetype-resources/src/main/webapp/templates/app/layouts/Default.vm
@@ -35,7 +35,7 @@ $page.addScript($ui.getScript("page.js"))
           <h1 class="w3-right"><img class="w3-right" src="https://www.apache.org/img/feather_glyph_notm.png" style="width: 50px;">The Apache Turbine project</h1>
           #if ( $data.getUser().hasLoggedIn() ) 
             #set ( $u = $data.getUser() )
-            <div class="w3-right">
+            <div class="w3-center">
           <h5>Hello $!u.FirstName</h5>
             </div>
       #end