From 72b9dc2a90cc9dd6ecb252be2f4bc492c7baa994 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Thu, 17 Mar 2022 16:55:42 +0400 Subject: [PATCH] #7 -- add organizers page --- data/db.mv.db | Bin 65536 -> 65536 bytes .../ulstu/configuration/MvcConfiguration.java | 1 + .../configuration/SecurityConfiguration.java | 2 +- src/main/resources/templates/default.html | 3 ++ src/main/resources/templates/organizers.html | 29 ++++++++++++++++++ 5 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/templates/organizers.html diff --git a/data/db.mv.db b/data/db.mv.db index 9e2a8ec6f2ab158a9afcf4bc604d9d1b4095b66e..22d3d8d7536fa95612db6002fc8d5bf104b9cf0f 100644 GIT binary patch delta 6529 zcmeI1Uu+ab9LIOBw-j62axJvO&jtlZgqkNHp;Uq7Y-GvN}U2 z4)64V5$h>1tV!QIO+%yjK{?y=*OWs7Q4`47Yx8?Sqy z%*xLWw$;VT+uU0wZePNF!tH;Htzx((+*0?4!MeP4;v8Fc8#n9<6V0)TJ^9Xwni`=& zd8dM9L?#j2WCO<-?Hl2qhOe(z@|7(0r3k-c7+pE%Hod7XQ)Z`O=U`v9ah<3jsjPAh zcSTIm-RIrLq*C97-pOu#v~%-=J?$H|bZmvsH7Wz{X}2M!EOuwz9S!=cyS$fl7xl12 zb!}ltox}_Es7~#PxyDpg&gciNy*V2kY8BHA6Mu1=z%()yDAZcvq-o);!NGWF70c0I zQFGg-jwat_gP_z%@EACF-1d{ro795Paf%~HE{+^2qbYzN&5a%ab`VK!yIfae8gxKu zZbDgJ0l&lf;$3iK>L8X*IRWw8(i$R$qYHBu6ieoEQpwI{fO0z^Od?)+~cBnKf3%lLq|9Z`` z1v#u}o2oE1^f`NE<>C}Y7#a*A$TUfI6fvW@Q}=g0Y1(9FvnZs*2#+%U3~MB&B!7Y( zFQf`47{Vwk(y?Ph80~gv+7@kp93{qN8w9|yYb3_O`jwHyFvG;KiW6h(M3@+bRPF11 z25j+&nwA9K6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Ngb*4s=-dE8g$q7G)YmCBAiNDRf=V_laR6kjNDRq{0NcxS?bu+{G(YLB9}=wKaGx4qE!M`chzb)$}hz-LQb(q3qC zhcvun<;f&D$@!gU$SQhrt7d+j8#h(q@_#HR^EGl(LUM^pB8`}&XPYRfWIc;Af`X(i z1Gn8ANLDXA^nUwJG_v8N9VxG+IgVNMP0g}MFXlLO*=k-g)oED5kbrZvsKp`a%J}j2 zTA-GS@)NiyweQOy5j)02>=RtXK1)UH-?@l=yP=5vDHXB94MgmQMk00(6|q;Sh<&D! zi2ble#QuSZ*em1p(;y^bw-OP%9*NjTiHJqZV)LNg>B3JU4f`jeVbPMrc@WaD-(nip z;TrZERKxzGPQ$)QfpMH_SoD)?KfEVF!=4(RkTq;`z{oKYX;`PRhTSA4N4512?k(-7 zm1UFFkCX~Hf+!|Bav(L^phXRKsX>c}T1`$FV-4CoN-8Ot3<(&7sulei3=ID(CHAL| ziFwq?lHNT6*hpSWpd5jo1j?U8mLx=CHh%c1GuQN>Y;1lt%9SE25=&%IMlC)l;}#v1 zQHu}CxJ3tL%wmHwZqY#*v)G`FTG614nQTzTEH)_P7FDj);>wj;d{9O$u3Y(mjVf1m nFL_W#Z}LGIv+$rSEPKb)Xig^hN(u^BQmtO#YPKCdcz)_Xz(wCh diff --git a/src/main/java/ru/ulstu/configuration/MvcConfiguration.java b/src/main/java/ru/ulstu/configuration/MvcConfiguration.java index 292b005..92b7272 100644 --- a/src/main/java/ru/ulstu/configuration/MvcConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/MvcConfiguration.java @@ -24,6 +24,7 @@ public class MvcConfiguration implements WebMvcConfigurer { registry.addViewController("/loginError"); registry.addViewController("/index"); registry.addViewController("/admin"); + registry.addViewController("/organizers"); registry.addViewController("/docs"); registry.addViewController("/editNews"); } diff --git a/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java b/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java index f316307..19a8a6f 100644 --- a/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/SecurityConfiguration.java @@ -45,7 +45,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter { log.debug("Security enabled"); http.authorizeRequests() .antMatchers("/").permitAll() - .antMatchers("/login", "/index", "/news/**", "/meetings/**", "/files/**", "/docs/**", "/webjars/**", "/h2-console/*", "/h2-console").permitAll() + .antMatchers("/login", "/index", "/news/**", "/meetings/**", "/files/**", "/docs/**", "/organizers", "/webjars/**", "/h2-console/*", "/h2-console").permitAll() .antMatchers("/swagger-ui.html").hasAuthority(UserRoleConstants.ADMIN) .anyRequest().authenticated() .and() diff --git a/src/main/resources/templates/default.html b/src/main/resources/templates/default.html index bcf3b65..dfe0b85 100644 --- a/src/main/resources/templates/default.html +++ b/src/main/resources/templates/default.html @@ -38,6 +38,9 @@ + diff --git a/src/main/resources/templates/organizers.html b/src/main/resources/templates/organizers.html new file mode 100644 index 0000000..4b518ec --- /dev/null +++ b/src/main/resources/templates/organizers.html @@ -0,0 +1,29 @@ + + + + +
+

Состав организаторов семинара

+
    +
  • + Ярушкина Н.Г., профессор, д.т.н., профессор +
  • +
  • + Мошкин В.С., доцент, к.т.н. +
  • +
  • + Романов А.А., зав. кафедрой, доцент, к.т.н., доцент +
  • +
  • + Гуськов Г.Ю., доцент, к.т.н. +
  • +
  • + Филиппов А.А., доцент, к.т.н. +
  • +
+
+