Skip to content

Commit

Permalink
standalone apps build and can have individual index files explaining …
Browse files Browse the repository at this point in the history
…what they each do - can style differently if required
  • Loading branch information
eviltester committed Jul 10, 2020
1 parent 871cf72 commit 596955b
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 0 deletions.
5 changes: 5 additions & 0 deletions standAloneTodoListManagerRestApi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<artifactId>thingifier</artifactId>
<version>${thingifier.version}</version>
</dependency>
<dependency>
<groupId>uk.co.compendiumdev.thingifier</groupId>
<artifactId>examplemodels</artifactId>
<version>${thingifier.version}</version>
</dependency>
</dependencies>

<build>
Expand Down
5 changes: 5 additions & 0 deletions standAloneTodoListRestApi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
<artifactId>thingifier</artifactId>
<version>${thingifier.version}</version>
</dependency>
<dependency>
<groupId>uk.co.compendiumdev.thingifier</groupId>
<artifactId>examplemodels</artifactId>
<version>${thingifier.version}</version>
</dependency>
</dependencies>

<build>
Expand Down
123 changes: 123 additions & 0 deletions thingifierapp/src/main/resources/public/css/default.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
.content{
max-width: 1200px;
margin: auto;
font-size: 1.2rem;
font-family: sans-serif;
padding:2%;
}

table {border-collapse: collapse; width: 100%}
thead {background: #dddddd}
thead > tr > td, thead > tr > th {
font-weight: bold;
text-align: center;
padding: 0.7em;
}
tbody > tr > td{
padding: 0.5em;
}
table, th, td {border: 1px solid black}
th{font-size: 1.2rem}
td{padding-left: 1em; padding-right: 1em; font-size: 1.1rem}

.examplevalue{
padding-left: 10%;
background: #e9ffff;
}

.menu{
clear: both;
}

h1, h2, h3, h4{
clear:both;
}

h1{
background: #b3b3b3;
text-align: center;
}
h2{
background: #b3b3b3;
padding-left: 2em;
padding-top: 0.2em;
padding-bottom: 0.2em;
}

.entity-instances-menu{
padding-top: 1em;
}
.rootmenu{
clear: both;
}

.footer{
clear:both;
text-align: center;
}

.rootmenu ul, ul.footerlinks {
list-style-type: none;
margin: 0;
padding: 0;
}

ul.footerlinks {
margin-left: 25%;
}

.rootmenu li, .footerlinks li {
display: inline;
float: left;
}

.rootmenu a {
display: block;
padding: 1em;
background-color: #dddddd;
}

.footerlinks a {
display: block;
padding-left: 1em;
padding-right: 1em;
background-color: #dddddd;
font-size: 0.9em;
}

/* code styling */

pre{
padding: 1em;
width:80%;
margin:auto;
}

pre.xml{
background: black;
color: white;
}

pre.json{
background: #c9ffc9;
color: black;
}

/* text sections */

.headertextblock{
background: #dddddd;
width: 80%;
margin: auto;
padding: 1em;
}

.endpoint{
font-family: monospace;
font-size: 1.2em;
}

.normal{
font-family: sans-serif;
font-size: 1.0rem;
}
28 changes: 28 additions & 0 deletions thingifierapp/src/main/resources/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<html>
<head>
<title>Thingifier </title>
<link rel='stylesheet' href='/css/default.css'>
</head>
<body>
<div class='content'>

<div class='rootmenu menu'>
<ul>
<li><a href='/docs'>API documentation</a></li>
<li><a href='/gui/entities'>Entities Explorer</a></li>
</ul>
</div>

<h1>Thingifier App</h1>

<p>This is the deployable version of thingifier</p>

<div class="footer"><p>Thingifier version 1.5, Copyright Alan Richardson, Compendium Developments Ltd 2020 </p>
<ul class="footerlinks"><li><a href="https://github.com/eviltester/thingifier">Thingifier</a></li>
<li><a href="http://eviltester.com">EvilTester.com</a></li>
<li><a href="https://compendiumdev.co.uk">Compendium Developments</a></li>
</ul>
</div>
</div>
</body>
</html>

0 comments on commit 596955b

Please sign in to comment.