Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the most simple UIkit theme Default based on Denim #663

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 60 additions & 0 deletions public_html/layout/default/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

// +---------------------------------------------------------------------------+
// | Geeklog 2.1.1 |
// +---------------------------------------------------------------------------+
// | Default Geeklog Theme |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2012-2016 by the following authors: |
// | |
// | Authors: Tetsuko Komma - http://www.ivywe.co.jp/ |
// | |
// | Horizon theme is based on prior work by: |
// | Authors: Fumito Arakawa - http://phize.net/ |
// | Geeklog Japan - http://www.geeklog.jp/ |
// | Yoshinori Tahara - taharaxp AT gmail DOT com |
// +---------------------------------------------------------------------------+
// | |
// | This program is free software; you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License |
// | as published by the Free Software Foundation; either version 2 |
// | of the License, or (at your option) any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software Foundation, |
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+


/*==============================================================================
Pofile
==============================================================================*/

Geeklog theme using HTML5 + CSS 3.0 + UIkit and eliminate table tags.
This theme is adopted the Responsive Web Design.
This theme is mobile friendly.


/*==============================================================================
Basic Markup
==============================================================================*/

Basic markup is following:

<div id="container">
<header id="header">Header</header>
<nav id="navigation">Navigation</nav>
<div id="wrapper">
<div id="centerblocks">
<main id="main-content">Main Content</main>
</div>
<div id="leftblocks">Left Blocks</div>
<div id="rightblocks">Right Blocks</div>
</div>
<footer id="footer">Footer</footer>
</div>
156 changes: 156 additions & 0 deletions public_html/layout/default/admin/block/blockeditor.thtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{# begin {templatelocation} #}

{start_block_editor}
<form action="{site_admin_url}/block.php" method="post" id="admin-blockeditor" class="uk-form uk-form-horizontal">

<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-title">{lang_blocktitle}</label>
<div class="uk-form-controls">
<input type="text" value="{block_title}" name="title" id="admin-blockeditor-title" class="uk-form-width-medium" required{xhtml}>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-is_enabled">{lang_enabled}</label>
<div class="uk-form-controls">
<input type="checkbox" {is_enabled} name="is_enabled" id="admin-blockeditor-is_enabled"{xhtml}>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-help">{lang_blockhelpurl}</label>
<div class="uk-form-controls">
<input type="text" value="{block_help}" name="help" id="admin-blockeditor-help" class="uk-form-width-medium" describedby="admin-blockeditor-d1 admin-blockeditor-d2"{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d1">{lang_includehttp}</span>
<span class="uk-form-help-inline" id="admin-blockeditor-d2">{lang_explanation}</span>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-name">{lang_blockname}</label>
<div class="uk-form-controls"><input type="text" value="{block_name}" name="name" id="admin-blockeditor-name" class="uk-form-width-medium" describedby="admin-blockeditor-d3" required{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d3">{lang_nospaces}</span>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label">{lang_topic}</label>
<div class="uk-form-controls">{topic_selection}</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-onleft">{lang_side}</label>
<div class="uk-form-controls">
<select name="onleft" id="admin-blockeditor-onleft">
<option value="1" {left_selected}>{lang_left}</option>
<option value="0" {right_selected}>{lang_right}</option>
</select>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-blockorder">{lang_blockorder}</label>
<div class="uk-form-controls">
<input type="text" value="{block_order}" name="blockorder" id="admin-blockeditor-blockorder" class="uk-form-width-mini" aria-describedby="admin-blockeditor-d4"{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d4">0-9999</span>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-type">{lang_blocktype}</label>
<div class="uk-form-controls">
<select name="type" id="admin-blockeditor-type">
<option value="normal" {normal_selected}>{lang_normalblock}</option>
<option value="phpblock" {php_selected}>{lang_phpblock}</option>
<option value="portal" {portal_selected}>{lang_portalblock}</option>
</select>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-cachetime">{lang_cachetime}</label>
<div class="uk-form-controls"><input type="text" size="8" value="{cache_time}" name="cache_time" id="admin-blockeditor-cachetime" class="uk-form-width-small" aria-describedby="admin-blockeditor-d5"{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d5">{lang_cachetime_desc}</span>
</div>
</div>

<fieldset id="fs-phpblock-options" class="uk-margin-large-top">
<legend>{lang_phpblockoptions}</legend>

<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-phpblockfn">{lang_blockfunction}</label>
<div class="uk-form-controls"><input type="text" maxlength="50" value="{block_phpblockfn}" name="phpblockfn" id="admin-blockeditor-phpblockfn" class="uk-form-width-medium" aria-describedby="admin-blockeditor-d6"{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d6">{lang_phpblockwarning}</span>
</div>
</div>

</fieldset>

<fieldset id="fs-portal-options" class="uk-margin-large-top">
<legend>{lang_portalblockoptions}</legend>

<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-rdfurl">{lang_rdfurl}</label>
<div class="uk-form-controls">
<input type="text" maxlength="{max_url_length}" value="{block_rdfurl}" name="rdfurl" id="admin-blockeditor-rdfurl" class="uk-form-width-medium"{xhtml}>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-rdflimit">{lang_rdflimit}</label>
<div class="uk-form-controls"><input type="text" maxlength="3" value="{block_rdflimit}" name="rdflimit" id="admin-blockeditor-rdflimit" class="uk-form-width-mini"{xhtml}></div>

</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-rdfupdated">{lang_lastrdfupdate}</label>
<div class="uk-form-controls">
<input type="text" value="{block_rdfupdated}" name="rdfupdated" id="admin-blockeditor-rdfupdated" class="uk-form-width-medium"{xhtml}>
</div>
</div>

</fieldset>

<fieldset id="fs-normal-options" class="uk-margin-large-top">
<legend>{lang_normalblockoptions}</legend>

<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-content">{lang_blockcontent}</label>
<div class="uk-form-controls"><textarea cols="40" rows="12" name="content" id="admin-blockeditor-content" class="uk-width-1-1" aria-describedby="admin-blockeditor-d7">{block_content}</textarea>
<span class="uk-form-help-inline" id="admin-blockeditor-d7">{lang_allowed_html}</span>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-allow_autotags">{lang_autotags}</label>
<div class="uk-form-controls">
<input type="checkbox" name="allow_autotags" id="admin-blockeditor-allow_autotags" {allow_autotags} aria-describedby="admin-blockeditor-d8"{xhtml}><span class="uk-form-help-inline" id="admin-blockeditor-d8">{lang_use_autotags}</span>
</div>
</div>
</fieldset>

<fieldset class="uk-margin-large-top">
<legend>{lang_accessrights}</legend>

<div class="uk-form-row">
<label class="uk-form-label">{lang_owner}</label>
<div class="uk-form-controls">{owner_username}</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="group_id">{lang_group}</label>
<div class="uk-form-controls">{group_dropdown}</div>
</div>
<div class="uk-form-row">
<div class="uk-form-controls">{lang_permissions}</div>
<div class="uk-form-controls">{permissions_editor}
<span class="uk-form-help-inline">{lang_perm_key}</span>
<span class="uk-form-help-inline">{lang_permissions_msg}</span>
</div>
</div>

</fieldset>

<div class="uk-form-row uk-margin-large-top">
<div class="uk-form-controls">
<input type="submit" value="{lang_save}" name="mode" class="uk-button uk-form-width-medium"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="uk-button"{xhtml}>
<input type="hidden" name="owner_id" value="{owner_id}"{xhtml}>
<input type="hidden" name="bid" value="{block_bid}"{xhtml}>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
{delete_option}
</div>
</div>

</form>
{end_block}

{# end {templatelocation} #}
91 changes: 91 additions & 0 deletions public_html/layout/default/admin/block/defaultblockeditor.thtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{# begin {templatelocation} #}

<form action="{site_admin_url}/block.php" method="post" id="admin-blockeditor" class="uk-form uk-form-horizontal">

<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-title">{lang_blocktitle}</label>
<div class="uk-form-controls">
<input type="text" name="title" value="{block_title}" id="admin-blockeditor-title" class="uk-width-1-1" required{xhtml}>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-is_enabled">{lang_enabled}</label>
<div class="uk-form-controls"><input type="checkbox" name="is_enabled" {is_enabled} id="admin-blockeditor-is_enabled"{xhtml}></div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-help">{lang_blockhelpurl}</label>
<div class="uk-form-controls">
<input type="text" name="help" value="{block_help}" maxlength="{max_url_length}" id="admin-blockeditor-help" class="uk-form-width-medium" aria-describedby="admin-blockeditor-d1 admin-blockeditor-d2"{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d1">{lang_includehttp}</span>
<span class="uk-form-help-inline" id="admin-blockeditor-d2">{lang_explanation}</span>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label">{lang_blockname}</label>
<div class="uk-form-controls">
{block_name}
<input type="hidden" name="name" value="{block_name}" class="uk-form-width-medium"{xhtml}>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label">{lang_topic}</label>
<div class="uk-form-controls">
{topic_selection}
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-onleft">{lang_side}</label>
<div class="uk-form-controls">
<select name="onleft" id="admin-blockeditor-onleft">
<option value="1" {left_selected}>{lang_left}</option>
<option value="0" {right_selected}>{lang_right}</option>
</select>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="admin-blockeditor-blockorder">{lang_blockorder}</label>
<div class="uk-form-controls">
<input type="text" name="blockorder" value="{block_order}" id="admin-blockeditor-blockorder" class="uk-form-width-mini" aria-describedby="admin-blockeditor-d3"{xhtml}>
<span class="uk-form-help-inline" id="admin-blockeditor-d3">0 - 9999{lang_blocktype}</span>
</div>
</div>
<input type="hidden" name="type" value="gldefault"{xhtml}>

<fieldset class="uk-margin-large-top">
<legend>{lang_accessrights}</legend>

<div class="uk-form-row">
<label class="uk-form-label">{lang_owner}</label>
<div class="uk-form-controls">{owner_name}
<input type="hidden" name="owner_id" value="{owner_id}"{xhtml}>
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label" for="group_id">{lang_group}</label>
<div class="uk-form-controls">
{group_dropdown}
</div>
</div>
<div class="uk-form-row">
<label class="uk-form-label">{lang_permissions}</label>
<div class="uk-form-controls">{permissions_editor}
<span class="uk-form-help-inline">{lang_perm_key}</span>
<span class="uk-form-help-inline">{permissions_msg}</span>
</div>
</div>

</fieldset>

<div class="uk-form-row uk-margin-large-top">
<div class="uk-form-controls">
<input type="submit" value="{lang_save}" name="mode" class="uk-button uk-form-width-medium"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="uk-button"{xhtml}>
<input type="hidden" name="bid" value="{block_id}"{xhtml}>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
</div>

</form>

{# end {templatelocation} #}

Empty file.
19 changes: 19 additions & 0 deletions public_html/layout/default/admin/commandcontrol.thtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{# begin {templatelocation} #}

{cc_groups}

<!-- BEGIN ccgroup -->
<h2>{lang_group}</h2>

<ul class="admin-commandcontrol uk-clearfix">
{cc_rows}
</ul>
<!-- END ccgroup -->
<!-- BEGIN ccrow -->
{cc_main_options}
<!-- END ccrow -->
<!-- BEGIN ccitem -->
<li><a href="{page_url}" style="text-align:center"{target}><img src="{page_image}" style="display:block;margin:5px auto" alt=""{xhtml}>{option_label}</a></li>
<!-- END ccitem -->

{# end {templatelocation} #}
25 changes: 25 additions & 0 deletions public_html/layout/default/admin/common/edit_permissions.thtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{# begin {templatelocation} #}

<table id="admin-permissions" class="uk-table uk-margin-remove uk-table-striped gl-tablelist-remove" style="width:100%; max-width:480px;">
<thead>
<tr>
<th class="uk-text-nowrap uk-text-center" colspan="2" style="width:25%">{lang_owner}</th>
<th class="uk-text-nowrap uk-text-center" colspan="2" style="width:25%">{lang_group}</th>
<th class="uk-text-nowrap uk-text-center" style="width:25%">{lang_members}</th>
<th class="uk-text-nowrap uk-text-center" style="width:25%">{lang_anonymous}</th>
</tr>
</thead>

<tbody>
<tr>
<td class="uk-text-center">R<br{xhtml}><input type="checkbox" name="perm_owner[]" value="2"{owner_r_checked}{xhtml}></td>
<td class="uk-text-center">E<br{xhtml}><input type="checkbox" name="perm_owner[]" value="1"{owner_e_checked}{xhtml}></td>
<td class="uk-text-center">R<br{xhtml}><input type="checkbox" name="perm_group[]" value="2"{group_r_checked}{xhtml}></td>
<td class="uk-text-center">E<br{xhtml}><input type="checkbox" name="perm_group[]" value="1"{group_e_checked}{xhtml}></td>
<td class="uk-text-center">R<br{xhtml}><input type="checkbox" name="perm_members[]" value="2"{members_checked}{xhtml}></td>
<td class="uk-text-center">R<br{xhtml}><input type="checkbox" name="perm_anon[]" value="2"{anon_checked}{xhtml}></td>
</tr>
</tbody>
</table>

{# end {templatelocation} #}
33 changes: 33 additions & 0 deletions public_html/layout/default/admin/common/edit_topics.thtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{# begin {templatelocation} #}

<div id="panel_radio_options" style="vertical-align:top;{options_hide}">
<input type="hidden" name="topic_options_hide" value="{topic_options_hide}"{xhtml}>
<input type="radio" name="topic_option" value="all" id="topic_option_all" {all_checked}{xhtml}> {lang_all}
<input type="radio" name="topic_option" value="homeonly" id="topic_option_homeonly" {homeonly_checked}{xhtml}> {lang_homeonly}
<span style="{topic_option_hide}"><input type="radio" name="topic_option" id="topic_option_selectedtopics" value="selectedtopics" {selectedtopics_checked}{xhtml}></span> {lang_selected}
</div>
<div id="panel_topic_options" style="vertical-align:top;width:38%;display:inline-block;{topic_hide}">
<div>{lang_assigned}:</div>
<select name="tid[]" multiple="multiple" class="multiple" size="4" id="tid" style="width:98%;">
{topic_options}
</select>
</div>
<div id="panel_inherit_options" style="vertical-align:top;width:28%;display:inline-block;{inherit_hide}">
<input type="hidden" name="topic_inherit_hide" value="{topic_inherit_hide}"{xhtml}>
<div style="vertical-align:top;" id="panel_inherit_d1">{lang_inherit}:</div>
<select name="inherit_tid[]" multiple="multiple" class="multiple" size="4" id="inherit_tid" style="width:98%;" aria-describedby="panel_inherit_d1">
{inherit_options}
</select>
</div>
<div id="panel_default_options" style="vertical-align:top;width:28%;display:inline-block;{default_hide}">
<input type="hidden" name="topic_default_hide" value="{topic_default_hide}"{xhtml}>
<div style="vertical-align:top;" id="panel_default_d2">{lang_default}:</div>
<select name="default_tid" id="default_tid" style="width:98%;" aria-describedby="panel_default_d2">
{default_options}
</select>
</div>
<div style="{info_hide}">
<p class="uk-margin-top">{topic_info}</p>
</div>

{# end {templatelocation} #}
Empty file.
Loading