class W:
    markdown_editor = ffw.MarkdownEdit()
    label_edit = ffw.LabelEdit()
    mount_delete = ffw.Lightbox(name='mount_delete',trigger='a.mount_delete')
    admin_modal = ffw.Lightbox(name='admin_modal',trigger='a.admin_modal')
    install_modal = ffw.Lightbox(name='install_modal',trigger='a.install_trig')
    group_card = aw.GroupCard()
    permission_card = aw.PermissionCard()
    group_settings = aw.GroupSettings()
    new_group_settings = aw.NewGroupSettings()
    screenshot_admin = aw.ScreenshotAdmin()
    screenshot_list = ProjectScreenshots()
    metadata_admin = aw.MetadataAdmin()
    audit = aw.AuditLog()
    page_list=ffw.PageList()
Exemple #2
0
class W:
    thread = w.Thread(page=None,
                      limit=None,
                      page_size=None,
                      count=None,
                      style='linear')
    markdown_editor = ffw.MarkdownEdit()
    confirmation = ffw.Lightbox(
        name='confirm',
        trigger='a.post-link',
        options="{ modalCSS: { minHeight: 0, width: 'inherit', top: '150px'}}")
    label_edit = ffw.LabelEdit()
    attachment_add = ffw.AttachmentAdd()
    attachment_list = ffw.AttachmentList()
    subscribe_form = SubscribeForm()
    page_subscribe_form = SubscribeForm(thing='page')
    page_list = ffw.PageList()
    page_size = ffw.PageSize()
    search_results = SearchResults()
    help_modal = SearchHelp()
    icons = {
        24: 'images/wiki_24.png',
        32: 'images/wiki_32.png',
        48: 'images/wiki_48.png'
    }
Exemple #3
0
class W:
    thread = w.Thread(
        page=None, limit=None, page_size=None, count=None,
        style='linear')
    markdown_editor = ffw.MarkdownEdit()
    confirmation = ffw.Lightbox(name='confirm',
                                trigger='a.post-link',
                                options="{ modalCSS: { minHeight: 0, width: 'inherit', top: '150px'}}")
    label_edit = ffw.LabelEdit()
    attachment_add = ffw.AttachmentAdd()
    attachment_list = ffw.AttachmentList()
    subscribe_form = SubscribeForm()
    page_subscribe_form = SubscribeForm(thing='page')
    page_list = ffw.PageList()
    page_size = ffw.PageSize()
    search_results = SearchResults()
    help_modal = SearchHelp(fields={'title': 'title',
                                    'text': '"Page text"',
                                    'mod_date_dt': 'Last modified.  Example: mod_date_dt:[2018-01-01T00:00:00Z TO *]',
                                    'labels_t': 'labels',
                                    'author_user_name_t': 'username (for comments only)',
                                    })
    icons = {
        24: 'images/wiki_24.png',
        32: 'images/wiki_32.png',
        48: 'images/wiki_48.png'
    }
Exemple #4
0
 def index(self, **kw):
     c.enter_password = ffw.Lightbox(name='enter_password')
     c.password_change_form = F.password_change_form
     c.upload_key_form = F.upload_key_form
     provider = plugin.AuthenticationProvider.get(request)
     menu = provider.account_navigation()
     return dict(menu=menu, user=c.user)
Exemple #5
0
class W:
    thread = w.Thread(page=None,
                      limit=None,
                      page_size=None,
                      count=None,
                      style='linear')
    pager = widgets.BlogPager()
    new_post_form = widgets.NewPostForm()
    edit_post_form = widgets.EditPostForm()
    view_post_form = widgets.ViewPostForm()
    attachment_list = ffw.AttachmentList()
    confirmation = ffw.Lightbox(
        name='confirm',
        trigger='a.post-link',
        options="{ modalCSS: { minHeight: 0, width: 'inherit', top: '150px'}}")
    preview_post_form = widgets.PreviewPostForm()
    subscribe_form = SubscribeForm(thing='post')
    search_results = SearchResults()
    help_modal = SearchHelp(
        fields={
            'title': 'Title',
            'text': '"Post text"',
            'labels_t': 'Labels',
            'mod_date_dt':
            'Last modified.  Example: mod_date_dt:[2018-01-01T00:00:00Z TO *]',
            'author_user_name_t': 'username (for comments only)',
        })
Exemple #6
0
 class fields(ew_core.NameList):
     page_list = ffw.PageList()
     page_size = ffw.PageSize()
     lightbox = ffw.Lightbox(name='col_list', trigger='#col_menu')