Browse Source

import semantic-ui

master
RENOX 5 months ago
parent
commit
765e40f95e
2 changed files with 22 additions and 0 deletions
  1. +15
    -0
      pom.xml
  2. +7
    -0
      src/main/resources/static/index.html

+ 15
- 0
pom.xml View File

@@ -2,8 +2,10 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">


<modelVersion>4.0.0</modelVersion>


<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
@@ -11,18 +13,22 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>


<groupId>com.planetrenox</groupId>
<artifactId>textdungeon</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>textdungeon</name>
<description>text storage</description>


<properties>
<java.version>11</java.version>
<start-class>com.planetrenox.TextdungeonApplication</start-class>
</properties>


<dependencies>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@@ -52,8 +58,16 @@
<artifactId>jsoup</artifactId>
<version>1.12.1</version>
</dependency>

<dependency>
<groupId>org.webjars</groupId>
<artifactId>Semantic-UI</artifactId>
<version>2.4.1</version>
</dependency>

</dependencies>


<build>
<plugins>
<plugin>
@@ -63,4 +77,5 @@
</plugins>
</build>


</project>

+ 7
- 0
src/main/resources/static/index.html View File

@@ -6,6 +6,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<title>Text Dungeon</title>
<link rel="stylesheet" type="text/css" href="/webjars/Semantic-UI/2.4.1/semantic.min.css">
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script>src="/webjars/Semantic-UI/2.4.1/semantic.min.js"</script>

</head>

<body>


Loading…
Cancel
Save