From 3eb02b05098f79e1b2e98b348a813eca1e606fcd Mon Sep 17 00:00:00 2001 From: Francisco <54645175+franciscoarocas@users.noreply.github.com> Date: Sat, 11 Jul 2020 15:18:33 +0100 Subject: [PATCH] Merged --- .gitignore | 1 + admin/admin.tpl | 120 ++ admin/imgs/config.png | Bin 1318 -> 0 bytes admin/imgs/entries.png | Bin 1134 -> 0 bytes admin/imgs/maintain.png | Bin 2187 -> 0 bytes admin/imgs/newentry.png | Bin 1191 -> 0 bytes admin/imgs/plugins.png | Bin 547 -> 0 bytes admin/imgs/widgets.png | Bin 981 -> 0 bytes admin/main.php | 60 +- admin/main.tpl | 34 - admin/panels/config/admin.config.php | 3 +- admin/panels/config/admin.config.tpl | 256 ++-- admin/panels/entry/admin.entry.cats.php | 1 - admin/panels/entry/admin.entry.cats.tpl | 54 +- admin/panels/entry/admin.entry.commedit.tpl | 88 +- .../panels/entry/admin.entry.commentlist.tpl | 89 +- admin/panels/entry/admin.entry.delete.tpl | 42 +- admin/panels/entry/admin.entry.list.tpl | 194 +-- admin/panels/entry/admin.entry.stats.tpl | 2 +- admin/panels/entry/admin.entry.write.php | 10 +- admin/panels/entry/admin.entry.write.tpl | 194 ++- admin/panels/main/admin.main.tpl | 99 +- admin/panels/maintain/admin.maintain.tpl | 78 +- .../maintain/admin.maintain.updates.tpl | 36 +- admin/panels/plugin/admin.plugin.tpl | 89 +- admin/panels/static/admin.static.delete.tpl | 41 +- admin/panels/static/admin.static.list.tpl | 98 +- admin/panels/static/admin.static.write.php | 4 + admin/panels/static/admin.static.write.tpl | 149 ++- admin/panels/themes/admin.themes.style.tpl | 69 +- admin/panels/themes/admin.themes.tpl | 75 +- .../panels/uploader/admin.uploader.browse.php | 1 - .../panels/uploader/admin.uploader.browse.tpl | 2 +- admin/panels/uploader/admin.uploader.tpl | 145 ++- .../panels/widgets/admin.widgets.default.tpl | 241 ++-- admin/panels/widgets/admin.widgets.raw.tpl | 2 +- admin/res/admin.css | 807 +++++++++--- admin/res/admin.js | 46 + admin/res/fp-logo.png | Bin 0 -> 14110 bytes admin/res/icons/drive_disk.png | Bin 0 -> 695 bytes admin/res/sceditor/emoticons/alien.png | Bin 0 -> 756 bytes admin/res/sceditor/emoticons/angel.png | Bin 0 -> 1182 bytes admin/res/sceditor/emoticons/angry.png | Bin 0 -> 781 bytes admin/res/sceditor/emoticons/blink.png | Bin 0 -> 972 bytes admin/res/sceditor/emoticons/blush.png | Bin 0 -> 865 bytes admin/res/sceditor/emoticons/cheerful.png | Bin 0 -> 753 bytes admin/res/sceditor/emoticons/cool.png | Bin 0 -> 965 bytes admin/res/sceditor/emoticons/credits.txt | 9 + admin/res/sceditor/emoticons/cwy.png | Bin 0 -> 877 bytes admin/res/sceditor/emoticons/devil.png | Bin 0 -> 1012 bytes admin/res/sceditor/emoticons/dizzy.png | Bin 0 -> 991 bytes admin/res/sceditor/emoticons/ermm.png | Bin 0 -> 983 bytes admin/res/sceditor/emoticons/face.png | Bin 0 -> 793 bytes admin/res/sceditor/emoticons/getlost.png | Bin 0 -> 792 bytes admin/res/sceditor/emoticons/grin.png | Bin 0 -> 867 bytes admin/res/sceditor/emoticons/happy.png | Bin 0 -> 792 bytes admin/res/sceditor/emoticons/heart.png | Bin 0 -> 572 bytes admin/res/sceditor/emoticons/kissing.png | Bin 0 -> 793 bytes admin/res/sceditor/emoticons/laughing.png | Bin 0 -> 912 bytes admin/res/sceditor/emoticons/ninja.png | Bin 0 -> 694 bytes admin/res/sceditor/emoticons/pinch.png | Bin 0 -> 804 bytes admin/res/sceditor/emoticons/pouty.png | Bin 0 -> 799 bytes admin/res/sceditor/emoticons/sad.png | Bin 0 -> 789 bytes admin/res/sceditor/emoticons/shocked.png | Bin 0 -> 780 bytes admin/res/sceditor/emoticons/sick.png | Bin 0 -> 783 bytes admin/res/sceditor/emoticons/sideways.png | Bin 0 -> 788 bytes admin/res/sceditor/emoticons/silly.png | Bin 0 -> 930 bytes admin/res/sceditor/emoticons/sleeping.png | Bin 0 -> 1039 bytes admin/res/sceditor/emoticons/smile.png | Bin 0 -> 983 bytes admin/res/sceditor/emoticons/tongue.png | Bin 0 -> 981 bytes admin/res/sceditor/emoticons/unsure.png | Bin 0 -> 763 bytes admin/res/sceditor/emoticons/w00t.png | Bin 0 -> 718 bytes admin/res/sceditor/emoticons/wassat.png | Bin 0 -> 810 bytes admin/res/sceditor/emoticons/whistling.png | Bin 0 -> 1072 bytes admin/res/sceditor/emoticons/wink.png | Bin 0 -> 791 bytes admin/res/sceditor/emoticons/wub.png | Bin 0 -> 1010 bytes admin/res/sceditor/formats/bbcode.js | 3 + admin/res/sceditor/formats/xhtml.js | 3 + admin/res/sceditor/icons/material.js | 3 + admin/res/sceditor/icons/monocons.js | 3 + .../sceditor/jquery.sceditor.bbcode.min.js | 3 + admin/res/sceditor/jquery.sceditor.min.js | 3 + .../res/sceditor/jquery.sceditor.xhtml.min.js | 3 + admin/res/sceditor/plugins/autosave.js | 3 + admin/res/sceditor/plugins/autoyoutube.js | 3 + admin/res/sceditor/plugins/dragdrop.js | 3 + admin/res/sceditor/plugins/format.js | 3 + admin/res/sceditor/plugins/plaintext.js | 3 + admin/res/sceditor/plugins/strictbbcode.js | 2 + admin/res/sceditor/plugins/undo.js | 3 + admin/res/sceditor/plugins/v1compat.js | 3 + admin/res/sceditor/sceditor.min.js | 3 + .../sceditor/themes/content/default.min.css | 1 + admin/res/sceditor/themes/default.min.css | 1 + admin/res/sceditor/themes/defaultdark.min.css | 1 + admin/res/sceditor/themes/famfamfam.png | Bin 0 -> 4583 bytes admin/res/sceditor/themes/modern.min.css | 1 + .../sceditor/themes/office-toolbar.min.css | 1 + admin/res/sceditor/themes/office.min.css | 1 + admin/res/sceditor/themes/square.min.css | 1 + fp-includes/bootstrap/VERSION | 1 + .../bootstrap/css/bootstrap-grid.min.css | 7 + .../bootstrap/css/bootstrap-reboot.min.css | 8 + fp-includes/bootstrap/css/bootstrap.min.css | 7 + .../bootstrap/js/bootstrap.bundle.min.js | 7 + fp-includes/bootstrap/js/bootstrap.min.js | 7 + fp-includes/jquery/VERSION | 1 + fp-includes/jquery/jquery.min.js | 2 + fp-includes/jquery/ui/VERSION | 1 + fp-includes/jquery/ui/jquery-ui.min.js | 13 + fp-includes/themify-icons/fonts/themify.eot | Bin 0 -> 78748 bytes fp-includes/themify-icons/fonts/themify.svg | 362 ++++++ fp-includes/themify-icons/fonts/themify.ttf | Bin 0 -> 78584 bytes fp-includes/themify-icons/fonts/themify.woff | Bin 0 -> 56108 bytes fp-includes/themify-icons/themify-icons.css | 1081 +++++++++++++++++ fp-interface/lang/en-us/lang.admin.config.php | 3 +- fp-interface/lang/en-us/lang.admin.entry.php | 14 +- fp-interface/lang/en-us/lang.admin.main.php | 19 +- .../lang/en-us/lang.admin.maintain.php | 12 +- fp-interface/lang/en-us/lang.admin.php | 8 +- .../lang/en-us/lang.admin.uploader.php | 3 +- .../lang/en-us/lang.admin.widgets.php | 2 + fp-interface/sharedtpls/admin_errorlist.tpl | 49 + fp-interface/sharedtpls/login.tpl | 26 +- fp-interface/sharedtpls/login_page.tpl | 32 + fp-interface/sharedtpls/login_success.tpl | 13 +- login.php | 12 +- 127 files changed, 3810 insertions(+), 1073 deletions(-) create mode 100644 admin/admin.tpl delete mode 100755 admin/imgs/config.png delete mode 100755 admin/imgs/entries.png delete mode 100755 admin/imgs/maintain.png delete mode 100755 admin/imgs/newentry.png delete mode 100755 admin/imgs/plugins.png delete mode 100755 admin/imgs/widgets.png create mode 100644 admin/res/admin.js create mode 100644 admin/res/fp-logo.png create mode 100644 admin/res/icons/drive_disk.png create mode 100644 admin/res/sceditor/emoticons/alien.png create mode 100644 admin/res/sceditor/emoticons/angel.png create mode 100644 admin/res/sceditor/emoticons/angry.png create mode 100644 admin/res/sceditor/emoticons/blink.png create mode 100644 admin/res/sceditor/emoticons/blush.png create mode 100644 admin/res/sceditor/emoticons/cheerful.png create mode 100644 admin/res/sceditor/emoticons/cool.png create mode 100644 admin/res/sceditor/emoticons/credits.txt create mode 100644 admin/res/sceditor/emoticons/cwy.png create mode 100644 admin/res/sceditor/emoticons/devil.png create mode 100644 admin/res/sceditor/emoticons/dizzy.png create mode 100644 admin/res/sceditor/emoticons/ermm.png create mode 100644 admin/res/sceditor/emoticons/face.png create mode 100644 admin/res/sceditor/emoticons/getlost.png create mode 100644 admin/res/sceditor/emoticons/grin.png create mode 100644 admin/res/sceditor/emoticons/happy.png create mode 100644 admin/res/sceditor/emoticons/heart.png create mode 100644 admin/res/sceditor/emoticons/kissing.png create mode 100644 admin/res/sceditor/emoticons/laughing.png create mode 100644 admin/res/sceditor/emoticons/ninja.png create mode 100644 admin/res/sceditor/emoticons/pinch.png create mode 100644 admin/res/sceditor/emoticons/pouty.png create mode 100644 admin/res/sceditor/emoticons/sad.png create mode 100644 admin/res/sceditor/emoticons/shocked.png create mode 100644 admin/res/sceditor/emoticons/sick.png create mode 100644 admin/res/sceditor/emoticons/sideways.png create mode 100644 admin/res/sceditor/emoticons/silly.png create mode 100644 admin/res/sceditor/emoticons/sleeping.png create mode 100644 admin/res/sceditor/emoticons/smile.png create mode 100644 admin/res/sceditor/emoticons/tongue.png create mode 100644 admin/res/sceditor/emoticons/unsure.png create mode 100644 admin/res/sceditor/emoticons/w00t.png create mode 100644 admin/res/sceditor/emoticons/wassat.png create mode 100644 admin/res/sceditor/emoticons/whistling.png create mode 100644 admin/res/sceditor/emoticons/wink.png create mode 100644 admin/res/sceditor/emoticons/wub.png create mode 100644 admin/res/sceditor/formats/bbcode.js create mode 100644 admin/res/sceditor/formats/xhtml.js create mode 100644 admin/res/sceditor/icons/material.js create mode 100644 admin/res/sceditor/icons/monocons.js create mode 100644 admin/res/sceditor/jquery.sceditor.bbcode.min.js create mode 100644 admin/res/sceditor/jquery.sceditor.min.js create mode 100644 admin/res/sceditor/jquery.sceditor.xhtml.min.js create mode 100644 admin/res/sceditor/plugins/autosave.js create mode 100644 admin/res/sceditor/plugins/autoyoutube.js create mode 100644 admin/res/sceditor/plugins/dragdrop.js create mode 100644 admin/res/sceditor/plugins/format.js create mode 100644 admin/res/sceditor/plugins/plaintext.js create mode 100644 admin/res/sceditor/plugins/strictbbcode.js create mode 100644 admin/res/sceditor/plugins/undo.js create mode 100644 admin/res/sceditor/plugins/v1compat.js create mode 100644 admin/res/sceditor/sceditor.min.js create mode 100644 admin/res/sceditor/themes/content/default.min.css create mode 100644 admin/res/sceditor/themes/default.min.css create mode 100644 admin/res/sceditor/themes/defaultdark.min.css create mode 100644 admin/res/sceditor/themes/famfamfam.png create mode 100644 admin/res/sceditor/themes/modern.min.css create mode 100644 admin/res/sceditor/themes/office-toolbar.min.css create mode 100644 admin/res/sceditor/themes/office.min.css create mode 100644 admin/res/sceditor/themes/square.min.css create mode 100644 fp-includes/bootstrap/VERSION create mode 100644 fp-includes/bootstrap/css/bootstrap-grid.min.css create mode 100644 fp-includes/bootstrap/css/bootstrap-reboot.min.css create mode 100644 fp-includes/bootstrap/css/bootstrap.min.css create mode 100644 fp-includes/bootstrap/js/bootstrap.bundle.min.js create mode 100644 fp-includes/bootstrap/js/bootstrap.min.js create mode 100644 fp-includes/jquery/VERSION create mode 100644 fp-includes/jquery/jquery.min.js create mode 100644 fp-includes/jquery/ui/VERSION create mode 100644 fp-includes/jquery/ui/jquery-ui.min.js create mode 100644 fp-includes/themify-icons/fonts/themify.eot create mode 100644 fp-includes/themify-icons/fonts/themify.svg create mode 100644 fp-includes/themify-icons/fonts/themify.ttf create mode 100644 fp-includes/themify-icons/fonts/themify.woff create mode 100644 fp-includes/themify-icons/themify-icons.css create mode 100644 fp-interface/sharedtpls/admin_errorlist.tpl create mode 100644 fp-interface/sharedtpls/login_page.tpl diff --git a/.gitignore b/.gitignore index 420ac72..227cf28 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /.buildpath /.project /.settings +/.vscode /fp-content/attachs /fp-content/images /fp-content_ diff --git a/admin/admin.tpl b/admin/admin.tpl new file mode 100644 index 0000000..4083225 --- /dev/null +++ b/admin/admin.tpl @@ -0,0 +1,120 @@ + + +
+ {"r"|date:$smarty.now}
-
{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat}
--
{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort}
--
{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.timeformat}
-{$panelstrings.charsettip}
-
-
-
+ +
+ + {/html_form} +{$plang.descr}
+ {html_form} + {include file='shared:admin_errorlist.tpl'} -{html_form} - - {include file='shared:errorlist.tpl'} - - - +{$panelstrings.descr}
- - - {comment_block} - {html_form} - -{$panelstrings.date} | -{$panelstrings.content} | -{$panelstrings.author} | -{$panelstrings.email} | -{$panelstrings.ip} | -{$panelstrings.actions} | -|
---|---|---|---|---|---|---|
*} - | {$date|date_format:"%D, %T"} | --{$content|strip_tags|truncate:70} - | -{if $url}{$name}{else}{$name}{/if} | -{$email} | -{$ip_address} | -- -{$plang.act_edit} - - -{$plang.act_del} - - | -
{$panelstrings.date} | +{$panelstrings.content} | +{$panelstrings.author} | +{$panelstrings.email} | +{$panelstrings.ip} | +{$panelstrings.actions} | +|
---|---|---|---|---|---|---|
*} + | {$date|date_format:"%D, %T"} | ++ {$content|strip_tags|truncate:70} + | +{if $url}{$name}{else}{$name}{/if} | +{$email} | +{$ip_address} | ++ + {$plang.act_edit} + + + {$plang.act_del} + + | +
{$panelstrings.descr}
- - {entry_block} - {html_form} - -{$panelstrings.confirm}
- - - +
-
-
-
- -
- {toolbar} -
-
- {*here will go a plugin hook*}
-
+
+
+ {if $sceditor_display!='disable'}
+
+
+
+ {if $sce_display=='bbcode'}
+
+ {else}
+
+ {/if}
+
+
+ {/literal}
+ {/if}
+ {*here will go a plugin hook*}
+
{$panelstrings.descr}
- -{if $available_styles} - -{$thm.description|default:$panelstrings.nodescr}
- -{$thm.description|default:$panelstrings.nodescr}
+ +{$panelstrings.descr}
- - -{$thm.description|default:$panelstrings.nodescr}
- -{$panelstrings.descr}
-{include file='shared:errorlist.tpl'} +{include file='shared:admin_errorlist.tpl'} diff --git a/admin/panels/uploader/admin.uploader.tpl b/admin/panels/uploader/admin.uploader.tpl index 645b4bf..7336dce 100755 --- a/admin/panels/uploader/admin.uploader.tpl +++ b/admin/panels/uploader/admin.uploader.tpl @@ -1,46 +1,111 @@ -{if $smarty.request.mod != 'inline'} -{$panelstrings.descr}
-{/if} +{include file='shared:admin_errorlist.tpl'} -{include file='shared:errorlist.tpl'} +{$panelstrings.descr}
+{include file='shared:admin_errorlist.tpl'} -{include file='shared:errorlist.tpl'} + + + +{$panelstrings.descr}
+{$panelstrings.themewdgsdescr}
- -{$panelstrings.oldwdgsdescr}
- -{$panelstrings.descr}
-{include file='shared:errorlist.tpl'} +{include file='shared:admin_errorlist.tpl'} {html_form} diff --git a/admin/res/admin.css b/admin/res/admin.css index de58216..5afd43f 100755 --- a/admin/res/admin.css +++ b/admin/res/admin.css @@ -1,197 +1,716 @@ +html { + height: 100%; +} + +body { + height: 100%; + font-family: 'Nunito', sans-serif; + background-color: #f2f2f2; +} + +.left-sidebar { + background-color: #fff !important; +} + +.left-sidebar a { + color: #212529 !important; +} + +.master-row { + height: 100%; + margin-left: 14rem !important; + padding-right: 15px; +} + +.top-row { + width: 100%; + color: #fff; + align-items: center; + height: 56px; +} + +.top-row h3 { + margin: 0px; + font-size: 1.5rem; +} + +.top-right-bar { + text-align: right; +} + +.top-right-bar .nav-link { + padding: 0px; + padding-left: 1.5rem; + font-size: 1.25rem; +} + +.top-right-bar a { + color: #fff !important; +} + +.top-right-bar .nav-item, .top-right-bar .navbar-nav, .top-right-bar .nav-link { + display: inline; +} + +.top-right-bar .nav-item { + float: right; +} + +.feather { + width: 16px; + height: 16px; + vertical-align: text-bottom; +} + /* + * Sidebar + */ - - compatibility for old themes, soon - this hackish and ugly css will be - DROPPED - -*/ - -#admin-tabmenu { - text-align: left; - - padding-right: 0px; - padding-left: 0px; - z-index: 1; - padding-bottom: 0px; - margin: 12px 0px 0px; - padding-top: 0px; - - border-bottom: black 2px solid; - - - font-size: 80%; - _font-size: 90%; - font-weight: normal; - +.sidebar { + position: fixed; + top: 0; + bottom: 0; + left: 0; + z-index: 300; /* Behind the navbar */ + padding: 0; /* Height of navbar */ + box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); + width: 14rem !important; } - -#admin-tabmenu li { - display: inline; - overflow: hidden; - list-style-type: none; - padding-left: -10px +.sidebar-sticky { + position: relative; + top: 0; + height: calc(100vh - 48px); + padding-top: .5rem; + overflow-x: hidden; + overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ + font-size: 0.9rem; } - -#admin-tabmenu a { - border-right: black 2px solid; - padding-right: 5px; - border-top: black 2px solid; - padding-left: 5px; - background: #f9f9f9; - padding-bottom: 0px; - margin: 0px; - border-left: black 2px solid; - padding-top: 2px; - border-bottom: black 2px solid; - text-decoration: none +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sidebar-sticky { + position: -webkit-sticky; + position: sticky; + } } -#cpmain ul, #main li{ - list-style-type:none; +.sidebar .nav-link { + font-weight: 500; + color: #333; + padding: 0.8rem; } -#cpmain ul li:before { - content: none; +.sidebar .nav-link .feather { + margin-right: 4px; + color: #999; } - -#admin-tabmenu a#admin-tab-current { - background: #f9f9f9; - color: black; - border-bottom: #f9f9f9 3px solid; +.sidebar .nav-link.active { + border-left: 5px solid #aa4142; + background-color: #f9f9f9; } -.admin-mainmenu-item { - clear:both; - display:block; - padding:1em; +.sidebar .nav-link:hover .feather, +.sidebar .nav-link.active .feather { + color: inherit; } - - - -#admin-content { - border-right: black 2px solid; - padding-right: 20px; - border-top: black 2px; - padding-left: 20px; - z-index: 2; - padding-bottom: 20px; - border-left: black 2px solid; - padding-top: 20px; - border-bottom: black 2px solid; - _font-size: 1em; +.sidebar-heading { + font-size: .75rem; + text-transform: uppercase; } -#admin-content table { - border-collapse: collapse; - width: 100%; - _width: 470px; - _font-size:100%; - +/* + * Content + */ + +[role="main"] { + padding-top: 133px; /* Space for fixed navbar */ } -#admin-content td { - border-bottom: solid 1px black; - width: 8px; - font-size: 0.8em; - _font-size:1em; - padding: 4px; +@media (min-width: 768px) { + [role="main"] { + padding-top: 0px; /* Space for fixed navbar */ + margin-top: -7.5rem !important; + } } -#admin-content td.main_cell { - text-align: left; - font-weight: bold; - width: 20%; - +/* + * Navbar + */ + +.navbar-brand { + padding-top: .75rem; + padding-bottom: .75rem; + font-size: 1rem; + background-color: rgba(0, 0, 0, .25); + box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25); } -#admin-content th { - border-bottom: solid 2px black; - - padding: 4px; - font-size: 0.75em; - _font-size: 100%; - font-style: italic; - +.navbar .form-control { + padding: .75rem 1rem; + border-width: 0; + border-radius: 0; } -#subject { - font-size: 18px; - font-weight: bold; - width: 99%; +.admin-logo { + height: 56px; + text-align: center; } -.underOpt { - font-size: 80%; - font-style: oblique; - margin: .5em 0 0 0 +.admin-logo img { + height: 75%; + width: auto; + margin-top:5px } -.maxsize { - width: 99%; +.admin-logo-border { + height: 1px; + background-color: #eee; + margin: 0 1.5rem; } -input.maxsize { width: 99% } - -.msg { - font-weight: bold; +.submenu { + margin-left: 0rem; + border-left: 5px solid #aa4142; + background-color:#f9f9f9; } -.error { - color: red; - padding-left: 10px; +.submenu li { + margin-left: 0rem; } -.disabled { - background-color: red; +.submenu .nav-link { + padding-left: 3rem; } -.enabled { - background-color: green; +.sub-active { + background-color: #d9d9d9; } -.locked { - background-color: grey; +.form-control-dark { + color: #fff; + background-color: rgba(255, 255, 255, .1); + border-color: rgba(255, 255, 255, .1); } -.draft { - background-color: lightgrey; +.form-control-dark:focus { + border-color: transparent; + box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); } - -/* ===== NOTIFICATION ===== */ -#main ul.msgs, ul.msgs { - margin-top: 1em; - margin-left: 0em; - padding: 1em 2em +.top-nav { + padding: 0px; } -.errors { - color: #901d1d; - border-top: 1px solid; - border-bottom: 1px solid; - border-color: #ffbbbb; - background: #ffdddd +.top-background { + width: 100%; + padding-bottom: 9rem !important; + padding-top: 57px; } -.errors a { - color: #901d1d; - text-decoration: underline; - font-weight: normal +.top-color { + background-color: #aa4142; } -.notifications { - color : #1d901d; - border-top: 1px solid #bbffbb; - border-bottom: 1px solid #bbffbb; - background: #ddffdd +.bg-gradient-primary { + background: -moz-linear-gradient(45deg,rgba(184,60,50,1) 0%,rgba(254,80,68,1) 99%,rgba(255,81,69,1) 100%); + background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,rgba(184,60,50,1)),color-stop(99%,rgba(254,80,68,1)),color-stop(100%,rgba(255,81,69,1))); + background: -webkit-linear-gradient(45deg,rgba(184,60,50,1) 0%,rgba(254,80,68,1) 99%,rgba(255,81,69,1) 100%); + background: -o-linear-gradient(45deg,rgba(184,60,50,1) 0%,rgba(254,80,68,1) 99%,rgba(255,81,69,1) 100%); + background: -ms-linear-gradient(45deg,rgba(184,60,50,1) 0%,rgba(254,80,68,1) 99%,rgba(255,81,69,1) 100%); + background: linear-gradient(45deg,rgba(184,60,50,1) 0%,rgba(254,80,68,1) 99%,rgba(255,81,69,1) 100%); + background-color: rgba(0, 0, 0, 0); + background-size: auto; + background-color:rgba(0,0,0,0); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF5145',endColorstr='#b83c32',GradientType=1); + background-size: cover; } -.field-error { - border: red 1px solid; - background: #fdd +.text-primary { + color: #aa4142 !important; } + +a { + color: #aa4142 !important; +} + +a:hover { + text-decoration: none !important; +} + +.quick_menu ul, .maintain ul { + list-style: none; +} + +.sidebar-sticky span { + color: #aa4142; +} + +#footer { + text-align: center; + margin-left: 14rem; + margin-right: 15px; + font-size: 0.8rem; + opacity: 0.6; +} + +.sceditor-container { + width: 100% !important; +} + +.sceditor-container textarea { + max-width: 100% !important; +} + +.card-header .text-primary { + color: #212529 !important; +} + +.shadow { + box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; +} + +.form-control::placeholder { + color: #bdbdbd; +} + +.form-control { + margin-bottom: 1rem; + background-color: #fbfbfb; +} + +.new_entry_buttons { + text-align: center; +} + +.btn { + box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; + padding-left: 1rem; + padding-right: 1rem; +} + +.btn-primary { + background-color: #aa4142; + border: 1px solid #933233; + color: #fff !important; +} + +.btn-secondary { + color: #fff !important; +} + +.btn-primary:hover, .btn-primary:focus, .btn-primary:active { + background-color: #802627 !important; + border: 1px solid #933233 !important; +} + +.buttonbar { + margin-bottom: 0.5rem; +} + +ul { + list-style: square; +} + +.sidebar .nav-link:hover { + padding-left: 2rem; + transition: 1s; + background-color: #f9f9f9; +} + +.sidebar .nav-link.active:hover { + padding-left: 0.8rem !important; +} + +.sidebar .nav-link.sub-active:hover { + padding-left: 3rem !important; + background-color: #d9d9d9; +} + +.navbar.navbar-dark.flex-md-nowrap.top-nav.top-color { + position: fixed; + z-index: 200; + width: 100%; + border-bottom: 1px solid #8a2a2b; +} + +.select_filter { + width: auto; + float: left; + margin-right: 0.5rem; +} + +input, textarea, select { + max-width: 300px; +} + +.upload-buttom { + padding-left: 15px; +} + +.cat-textarea { + max-width: 100%; +} + +.input-max-width { + max-width: 100% !important; +} + +#widget-trashcan { + text-align: center; + padding: 1rem; + background-color: #aa4142; + border: 1px solid #933233; + border-radius: 4px; + color:#fff; + font-weight: bold; + margin: 0 3rem; + margin-bottom: 0px; + margin-bottom: 1rem; +} + +#available-widgets ul { + list-style: none; + padding: 0px; + text-align: center; +} + +#available-widgets ul li, .admin-widgetset li { + background-color: rgba(0, 0, 0, 0.05); + margin: 0.5rem 5rem; + padding: 0.5rem; + border-radius: 4px; + border: 1px solid #dbdbdb; +} + +#available-widgets p { + margin-bottom: 0px; +} + +#errorlist ul { + list-style: none; +} + +.msgs.warnings { + padding: 0px; +} + +.table { + border-left: 1px solid #dee2e6; + border-right: 1px solid #dee2e6; + border-bottom: 1px solid #dee2e6; +} + +.table thead { + background-color: #aa4142; + color: #fff; +} + +.red_background { + background-color: #212529; +} + +.red_background .text-primary { + color: #fff !important; +} + +.card-header a { + color: #212529 !important; +} + +#admin-widgetset-list ul { + list-style: none; + padding: 0px; + text-align: center; +} + +.admin-widgetset p { + margin-bottom: 0px; +} + +.widgetset_theme { + text-align: center; +} + +.admin-widgetset { + background-color: rgba(106, 106, 106, 0.05); + width: 100%; + padding: 0.5rem 0; + margin-bottom: 2rem; + border: 1px solid #e8e8e8; + border-radius: 4px; +} + +.current-theme-img { + float: left; +} + +.current-theme-description { + float: left; + margin-left: 2rem; + margin-top: 1rem; +} + +.current-theme-description h3 { + font-weight: bold; +} + +#available-themes { + text-align: center; +} + +#available-themes ul { + list-style: none; + padding: 0px; +} + +#available-themes p { + margin-top: 0.5rem; +} + +#available-themes h5 { + display: none; +} + +.mobile-menu { + display: none; +} + +@media only screen and (max-width: 1100px) { + .top-row h3 { + font-size: 1.2rem !important; + } + + .top-right-bar .nav-link { + font-size: 1.1rem !important; + } + + .top-row .col-lg-6 { + width: 60%; + } + + .top-right-bar { + text-align: right; + width: 40% !important; + } + + .top-row .top_menu_item { + display: none; + } +} + +@media only screen and (max-width:768px) { + .master-row { + margin-left: 0px !important; + } + + [role="main"] { + padding-top: 0px; + margin-top: -7.5rem; + } + + #footer { + margin-left: 0px; + } + + .top-row .col-lg-6 h3 { + display: none; + } + + .mobile-menu { + display: block; + } + + .top-row .col-lg-6 { + width: 20%; + } + + .top-right-bar { + width: 80% !important; + } + + #sidebar { + position: absolute; + z-index: 1000; + width: 100% !important; + height: 100%; + display: none; + } + + .submenu .nav-link { + padding-left: 0rem; + } + + .sidebar .nav-link { + text-align: center; + } + + .sidebar-sticky { + height: auto; + } + + .submenu { + border: 1px solid #ccc; + border-bottom: 1px solid #ececec; + } + + .sidebar .nav-link.active { + border-top: 1px solid #ececec; + border-bottom: 1px solid #ececec; + } + + .sidebar .nav-link:hover { + padding-left: 0.8rem !important; + background-color: #fff; + } + + #available-widgets ul li, .admin-widgetset li { + margin: 0.5rem 0.5rem; + } + + #close-button { + display: block !important; + } +} + +#close-button { + display: none; +} + +#close-button span { + color: #fff; +} + +.display_off { + display: none !important; +} + +.display_on { + display: block !important; +} + +.btn { + margin-bottom: 0.5rem; +} + +img { + max-width: 100%; + height: auto; +} + +.paginator-left { + float: left; + padding-top: 0.2rem; +} + +.paginator-right { + float: right; +} + +.widget-placeholder { + background-color:#212529 !important; + border: 1px solid#000 !important; + color: #fff !important; +} + +.login-background { + background-color: #aa4142; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 100 100'%3E%3Crect x='0' y='0' width='51' height='51' fill='%23a13e3f'/%3E%3C/svg%3E"); +} + +.login-background input { + max-width: 100%; +} + +.login-background img { + width: 50%; +} + +.login-background .input-group { + margin: 1rem 0; +} + +.login-background #errorlist { + margin-top: 3rem !important; +} + +.msgs.errors { + padding-left: 0px; +} + +#content_textarea { + max-width: 100%; + height: 250px; +} + +.lc_table ul { + padding-left: 0px; + list-style: none; + margin-bottom: 0px; +} + +.lc_table li { + overflow:hidden; + width: 100%; + border-bottom: 1px solid #dee2e6; + border-right: 1px solid #dee2e6; +} + +.lc_table li:nth-of-type(2n+1) { + background-color: rgba(0,0,0,.05); +} + +.top-lc-table { + border-top: 1px solid #dee2e6; + background-color: #aa4142; + font-weight: lighter; + font-style: italic; + overflow:hidden; + width: 100%; +} + +.comment-quote { + margin: 0rem; +} + +.no_comments { + text-align: center; +} + +.top-lc-table p { + color: #fff; +} + +.lc_table p { + width: 50%; + float: left; + text-align: center; + border-left: 1px solid #dee2e6; + margin-bottom: 0px; + border-top: 0px; + padding: .75rem; +} + +.sceditor-container iframe, .sceditor-container textarea { + margin: 0px !important; + background: #fbfbfb !important; +} + +.sceditor-button.flatpress-media { + background-image: url('icons/drive_disk.png'); + background-color: #aa4142; + background-position: center; + background-repeat: no-repeat; +} + +.sceditor-button.flatpress-media:hover { + background-image: url('icons/drive_disk.png'); + background-position: center; + background-repeat: no-repeat; +} + +#flatpress-files-modal .modal-header { + background-color: #aa4142; + color: #fff; +} \ No newline at end of file diff --git a/admin/res/admin.js b/admin/res/admin.js new file mode 100644 index 0000000..b60e167 --- /dev/null +++ b/admin/res/admin.js @@ -0,0 +1,46 @@ + +// This function generates the menu icons +function generate_menu_icons() { + var admin_tabs = ["main","entry","static","uploader","widgets","plugin","themes","config","maintain"]; + var admin_icons = ["panel","pencil-alt2","file","upload","move","hummer","palette","settings","check-box"]; + for(var i=0; i8SfZ9;1Z?b-M-dlqlh^Q?t-$2@fXoSF7MDkimXRgzn9$$oYY0I-4*2ZTAm}G$!71
z6#}(P+Q5@Es0mIMs8PXNqJZm?80G^R=vbA64R1$s!k_uV+dq0L9Oh#}xU*%{9o7mO
zukmnaNnkxHK=-CpH2oWo4;~5Sgtv`e*sFJZ83*ez0bG|Q6y#dsE0c4uXE{81GPo{^
z>0i&5RJ1Khz=k)eb*nhX=&h$@+o=1@uL&^k&w%};5YF>r5-`}a2=)^KnD?fmdqWDz
zj(!>img%CcH`(E^`0XgPtxG}Q&NTEhLI0j~dhXtsf{qo5sQ)Vt3tkT&bvR6Me7*Zf
z7&d+oh3uc>(6%H2tqbFE<(n9+e=`E_JQO;~@iqAY`#mFzVH+fizD;q!&MQ{|T1$wX
T^SL{P00000NkvXXu0mjf0kd`(
literal 0
HcmV?d00001
diff --git a/admin/res/sceditor/emoticons/shocked.png b/admin/res/sceditor/emoticons/shocked.png
new file mode 100644
index 0000000000000000000000000000000000000000..f3dfb11f8d22ddb7d678befd190322f0df7d330b
GIT binary patch
literal 780
zcmV+n1M~ceP)XUseBoP2=}<&EGdPf8W&leM|fIEuG)Dwf|gI{c~OY&kc<~x3vBM
zxp#H`-c
{$plang.head} {$entrysubject}
++
+ +-
+
+
- -
+
+
-
- -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+- --
-
-
-
-
- -
-
-
-
-
- -
-
-
+
+ -
+
+
-
- -
-
-
+
+ -
+
+
-
- -
-
-
-
+ +