Created json formatter and validator. #82
@@ -3,9 +3,13 @@ FROM nginx:stable-alpine
 | 
			
		||||
COPY ./tools/ /usr/share/nginx/html/tools/
 | 
			
		||||
COPY ./assets/ /usr/share/nginx/html/assets/
 | 
			
		||||
COPY ./index.html /usr/share/nginx/html
 | 
			
		||||
#COPY ./logo.png /usr/share/nginx/html
 | 
			
		||||
#COPY ./styles.css /usr/share/nginx/html
 | 
			
		||||
#COPY ./common.css /usr/share/nginx/html
 | 
			
		||||
#COPY ./favicon.ico /usr/share/nginx/html
 | 
			
		||||
 | 
			
		||||
RUN mkdir -p /scripts
 | 
			
		||||
COPY insert_version.sh /scripts/
 | 
			
		||||
WORKDIR /scripts
 | 
			
		||||
 | 
			
		||||
RUN chmod +x insert_version.sh
 | 
			
		||||
RUN ./insert_version.sh
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
EXPOSE 80
 | 
			
		||||
 
 | 
			
		||||
@@ -27,15 +27,15 @@
 | 
			
		||||
                <li id="toolListRow"><a href="./tools/xsd.html" target="iframe">XSD</a></li>
 | 
			
		||||
                <li id="toolListRow"><a href="./tools/formatter.html" target="iframe">Formatter</a></li>
 | 
			
		||||
            </ul>
 | 
			
		||||
            <div id="copyright">Copyright © 2023<br><a href="http://release11.com/">Release11 Sp. z. o. o.</a></div>
 | 
			
		||||
            <div id="copyright">
 | 
			
		||||
                Build: [:VERSION:]<br>
 | 
			
		||||
                Copyright © 2023<br>
 | 
			
		||||
                <a href="http://release11.com/">Release11 Sp. z. o. o.</a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <iframe id="frame" name="iframe" src="http://tools.zipper.release11.com:8097/" frameborder="0"></iframe>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <script>
 | 
			
		||||
        
 | 
			
		||||
    </script>
 | 
			
		||||
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								Frontend/insert_version.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								Frontend/insert_version.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
input="$(date +'%Y-%m-%d %H:%M')"
 | 
			
		||||
 | 
			
		||||
sed -i "s/\[\:VERSION\:\]/$input/g" /usr/share/nginx/html/index.html
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
        <div id="tool" class="tool rwd-expandable">
 | 
			
		||||
            <div class="tool-context">
 | 
			
		||||
                <div class="headline">
 | 
			
		||||
                    <h1>Online XPath tester <span class="versionInfo"><span class="version-span">v0.4</span></span></h1>
 | 
			
		||||
                    <h1>Online XPath tester</h1>
 | 
			
		||||
                </div>
 | 
			
		||||
 | 
			
		||||
                <div class="display-space-between">
 | 
			
		||||
 
 | 
			
		||||
@@ -14,8 +14,7 @@
 | 
			
		||||
        <div id="tool" class="tool rwd-expandable">
 | 
			
		||||
            <div class="tool-context">
 | 
			
		||||
                <div class="headline">
 | 
			
		||||
                    <h1>Online XSD tester <span class="versionInfo"><span class="version-span">v0.4 BETA</span></span>
 | 
			
		||||
                    </h1>
 | 
			
		||||
                    <h1>Online XSD tester</h1>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="display-space-between">
 | 
			
		||||
                    <div style="text-align: center;">
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
        <div id="tool" class="tool rwd-expandable">
 | 
			
		||||
            <div class="tool-context">
 | 
			
		||||
                <div class="headline">
 | 
			
		||||
                    <h1>Online XSLT tester <span class="versionInfo"><span class="version-span">v0.4</span></span></h1>
 | 
			
		||||
                    <h1>Online XSLT tester</h1>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="display-space-between">
 | 
			
		||||
                    <div style="text-align: center;">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user