mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-01-29 07:58:40 +00:00
structure changes
This commit is contained in:
parent
63793f8bdd
commit
3f6a6b406c
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -7,3 +7,6 @@
|
|||
[submodule "app/web/Resources"]
|
||||
path = app/web/Resources
|
||||
url = https://github.com/Karaka-Management/Resources.git
|
||||
[submodule "app/web/cssOMS"]
|
||||
path = app/web/cssOMS
|
||||
url = https://github.com/Karaka-Management/cssOMS.git
|
||||
|
|
|
|||
|
|
@ -7,5 +7,8 @@ include_directories( /usr/include )
|
|||
link_directories( /usr/lib )
|
||||
target_link_libraries( OnlineResourceWatcherServerApp sqlite3 )
|
||||
|
||||
# Libcurl
|
||||
target_link_libraries( OnlineResourceWatcherServerApp libcurl )
|
||||
|
||||
# cmake -DCMAKE_BUILD_TYPE=Debug -DOMS_DEBUG=true
|
||||
# cmake -DCMAKE_BUILD_TYPE=Release -DOMS_DEMO=true
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 24cf23f026e675c2a087d081d496794d42653466
|
||||
Subproject commit 9c0859daffb80abc7bc62c28697c47d22b5ba5ed
|
||||
107
app/web/.htaccess
Normal file
107
app/web/.htaccess
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
# BEGIN Gzip Compression
|
||||
<ifmodule mod_rewrite.c>
|
||||
AddEncoding gzip .gz
|
||||
<filesmatch "\.js\.gz$">
|
||||
AddType "text/javascript" .gz
|
||||
</filesmatch>
|
||||
<filesmatch "\.css\.gz$">
|
||||
AddType "text/css" .gz
|
||||
</filesmatch>
|
||||
</ifmodule>
|
||||
|
||||
AddType font/ttf .ttf
|
||||
AddType font/otf .otf
|
||||
AddType application/font-woff .woff
|
||||
AddType application/vnd.ms-fontobject .eot
|
||||
|
||||
<ifmodule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
|
||||
</ifmodule>
|
||||
# END Gzip Compression
|
||||
|
||||
# Force mime for javascript files
|
||||
<Files "*.js">
|
||||
ForceType text/javascript
|
||||
</Files>
|
||||
|
||||
# BEGIN Caching
|
||||
<ifModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresDefault A300
|
||||
|
||||
ExpiresByType image/x-icon A2592000
|
||||
|
||||
<FilesMatch ".(php)$">
|
||||
ExpiresDefault A0
|
||||
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
|
||||
Header set Pragma "no-cache"
|
||||
</FilesMatch>
|
||||
</ifModule>
|
||||
# END Caching
|
||||
|
||||
# BEGIN Spelling
|
||||
<IfModule mod_speling.c>
|
||||
CheckSpelling On
|
||||
CheckCaseOnly On
|
||||
</IfModule>
|
||||
# END Spelling
|
||||
|
||||
# BEGIN URL rewrite
|
||||
<ifmodule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteCond %{HTTP:Accept-encoding} gzip
|
||||
RewriteCond %{REQUEST_FILENAME} \.(js|css)$
|
||||
RewriteCond %{REQUEST_FILENAME}.gz -f
|
||||
RewriteRule ^(.*)$ $1.gz [QSA,L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ /?{QUERY_STRING} [QSA]
|
||||
RewriteCond %{HTTPS} !on
|
||||
RewriteCond %{HTTP_HOST} !^(127\.0\.0)|(192\.)|(172\.)
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||
</ifmodule>
|
||||
# END URL rewrite
|
||||
|
||||
# BEGIN Access control
|
||||
<Files *.php>
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
</Files>
|
||||
<Files index.php>
|
||||
Allow from all
|
||||
</Files>
|
||||
# END Access control
|
||||
|
||||
# Disable directory view
|
||||
Options All -Indexes
|
||||
|
||||
# Disable unsupported scripts
|
||||
Options -ExecCGI
|
||||
AddHandler cgi-script .pl .py .jsp .asp .shtml .sh .cgi
|
||||
|
||||
#<ifmodule mod_headers.c>
|
||||
# # XSS protection
|
||||
# header always set x-xss-protection "1; mode=block"
|
||||
#
|
||||
# # Nosnif
|
||||
# header always set x-content-type-options "nosniff"
|
||||
#
|
||||
# # Iframes only from self
|
||||
# header always set x-frame-options "SAMEORIGIN"
|
||||
#</ifmodule>
|
||||
|
||||
<ifmodule mod_headers.c>
|
||||
<FilesMatch "ServiceWorker.js$">
|
||||
Header set Service-Worker-Allowed "/"
|
||||
</FilesMatch>
|
||||
</ifmodule>
|
||||
|
||||
# Php config
|
||||
# This should be removed from here and adjusted in the php.ini file
|
||||
php_value upload_max_filesize 40M
|
||||
php_value post_max_size 40M
|
||||
php_value memory_limit 128M
|
||||
php_value max_input_time 30
|
||||
php_value max_execution_time 30
|
||||
0
app/web/Install/self/index.tpl.php
Normal file
0
app/web/Install/self/index.tpl.php
Normal file
1
app/web/cssOMS
Submodule
1
app/web/cssOMS
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a4c1e7e8b2def04fb761027de2d8473cbe38850b
|
||||
4
app/web/tpl/landing/footer.tpl.php
Normal file
4
app/web/tpl/landing/footer.tpl.php
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<footer>
|
||||
<div class="floater">
|
||||
</div>
|
||||
</footer>
|
||||
15
app/web/tpl/landing/header.tpl.php
Normal file
15
app/web/tpl/landing/header.tpl.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<nav id="navTop">
|
||||
<div class="floater">
|
||||
<ul id="navMain">
|
||||
<li><?= $this->lang['Home']; ?></li>
|
||||
<li><?= $this->lang['Pricing']; ?></li>
|
||||
<li><?= $this->lang['Components']; ?></li>
|
||||
</ul>
|
||||
|
||||
<ul id="navSecondary">
|
||||
<li id="navEleLanguage">...</li>
|
||||
<li id="navEleLogin"><?= $this->lang['LogIn']; ?></li>
|
||||
<li id="navEleSignUp"><?= $this->lang['SignUp']; ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
Loading…
Reference in New Issue
Block a user