Giter Club home page Giter Club logo

nev's Introduction

Templates for nevendaar.com site

This is tool kit for easy template creation and management.

Site powered by uCoz, so we have a lot of restrictions, but here we can avoid some of them.

We still able to use HTML, CSS, JavaScript, uCoz "conditional statement", but now we can also use:

  • eRuby (ERB)
  • custom layouts, partials - to avoid code duplication
  • custom helpers
  • one config file for all our templates
  • SASS - for pretty stylesheets
  • file for deprecated uCoz codes - to get more cleaner code

nev's People

Contributors

korun avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

nev's Issues

Добавить hoverable таблицы

Как отдельный CSS-класс, в первую очередь для модуля ЛС, так как очень неудобно удалять сообщения.

Deprecated codes list

Создать в будущем список нежелательных кодов.

ERB layouts

Have one bug:
layout's yield includes all code that was before him.

<!-- some stuff here -->
<% layout _erbout do %>
    $CONTENT$
<% end %>

Output:

<!-- some stuff here -->
<html lang="ru">
<head>
    <meta charset="utf-8">
    <!--[if lt IE 9]><script src="/js/html5.js"></script><![endif]-->
    <title>$SITE_NAME$ - $MODULE_NAME$</title>
    $GLOBAL_AJAXJS$
    <link href="/css/app.css" rel="stylesheet">
    <script src="/js/app.js"></script>
</head>
<body>
<div class="wrapper">
    $GLOBAL_HEADER$
    <div class="middle">
        <div class="container">
            <main class="content bordered">
                <!-- some stuff here -->                   <!-- <======BUG -->

                $CONTENT$

            </main>
        </div>
        $GLOBAL_ASIDE$
    </div>
    $GLOBAL_FOOTER$
</div>
</body>
</html>

inline_if == ucoz_if ?

Не забыть проверить, возможно можно везде использовать inline_if.

Отправка ЛС зависает

При отправке личного сообщения в pda-режиме бесконечно крутится ajax колёсико (но сообщение, надо признать, всё таки отправляется).

Шаблоны не применяются

После создания архива, и восстановления из него, шаблон остаётся стандартным.
Хотя если сделать бекап, и посмотреть его начинку - найти там этот стандартный шаблон не удаётся.

Верно для следующих шаблонов:

  • Блог - Вид материалов
  • Поиск по сайту - Вид материалов
  • Форма входа пользователей (#4)

Переход на соцбар

Нужно убрать самопальную кнопку ВКонтакте (а с ней и весь vk_api), и перейти на стандартный соцбар.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.