Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !236 opened Oct 06, 2014 by Kálmán Viktor@kviktor 
  • Report abuse
Report abuse

Feature new tour

Closes #211 (closed)

Closes #210 (closed)

(can't wait for pipeline)

Kijelölés_020

Kijelölés_021

Kijelölés_023

Kijelölés_022

  • Discussion 7
  • Commits 12
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Bach Dániel @bachdaniel commented Oct 06, 2014
    Owner

    screenshot? 😢 🙏

    Edited Oct 07, 2014
    screenshot? :cry: :pray:
  • Őry Máté
    @orymate started a discussion on an old version of the diff Oct 13, 2014
    circle/dashboard/static/dashboard/vm-tour.js
    45 }
    41 46  
    42 ttour.addStep({
    43 backdrop: true,
    44 element: 'a[href="#home"]',
    45 title: gettext("Home tab"),
    46 content: gettext("In this tab you can tag your virtual machine and modify the name and description."),
    47 placement: 'top',
    48 onShow: function() {
    49 $('a[href="#home"]').trigger("click");
    47 steps = [
    48 {
    49 element: document.querySelector("#vm-details-start-template-tour"),
    50 intro: "<p>" + gettext("Welcome to the template tutorial. In this quick tour, we gonna show you how to do the steps described above.") + "</p>" +
    51 "<p>" + gettext('For the next tour step press the "Next" button or the right arrow (or "Back" button/left arrow for the previous step).') + "</p>" +
    52 "<p>" + gettext("During the tour please don't try the functions because it may lead to graphical glitches, however you can end the tour any time you want with the End Tour button!") +
    • Őry Máté @orymate commented Oct 13, 2014
      Owner

      Does this still apply?

      Does this still apply?
    Please register or sign in to reply
  • Őry Máté
    @orymate started a discussion on an old version of the diff Oct 13, 2014
    circle/dashboard/static/dashboard/vm-tour.js
    52 "<p>" + gettext("During the tour please don't try the functions because it may lead to graphical glitches, however you can end the tour any time you want with the End Tour button!") +
    53 "</p>",
    50 54 },
    51 });
    52
    53 ttour.addStep({
    54 element: 'a[href="#resources"]',
    55 title: gettext("Resources tab"),
    56 backdrop: true,
    57 placement: 'top',
    58 content: gettext("On the resources tab you can edit the CPU/RAM options and add/remove disks!"),
    59 onShow: function() {
    60 $('a[href="#resources"]').trigger("click");
    55 {
    56 element: document.querySelector('a[href="#home"]'),
    57 intro: gettext("In this tab you can tag your virtual machine and modify the name and description."),
    • Őry Máté @orymate commented Oct 13, 2014
      Owner

      mention lease/renew, ask for meaningful descriptions

      mention lease/renew, ask for meaningful descriptions
    Please register or sign in to reply
  • Őry Máté
    @orymate started a discussion on the diff Oct 13, 2014
    Last updated by Kálmán Viktor Oct 13, 2014
    circle/dashboard/views/vm.py
    1420 1424 unicode(user), user.pk, new_owner, key)
    1421 1425 raise PermissionDenied()
    1422 1426 return (instance, new_owner)
    1427
    1428
    1429 @login_required
    1430 def toggle_template_tutorial(request, pk):
    • Őry Máté @orymate commented Oct 13, 2014
      Owner

      why not set cookie directly from js?

      why not set cookie directly from js?
    • Kálmán Viktor @kviktor commented Oct 13, 2014
      Owner

      Most of the site works without JS, might as well make this feature too.

      Most of the site works without JS, might as well make this feature too.
    Please register or sign in to reply
  • Kálmán Viktor @kviktor

    Added 1 new commit:

    • 659102d8 - dashboard: tour features
    Oct 15, 2014

    Added 1 new commit:

    • 659102d8 - dashboard: tour features
    Added 1 new commit: * 659102d8a5a - dashboard: tour features
    Toggle commit list
  • Kálmán Viktor @kviktor

    Added 1 new commit:

    • 91617877 - dashboard: close tour when user clicks things
    Oct 15, 2014

    Added 1 new commit:

    • 91617877 - dashboard: close tour when user clicks things
    Added 1 new commit: * 916178772ab - dashboard: close tour when user clicks things
    Toggle commit list
  • Kálmán Viktor @kviktor

    Added 1 new commit:

    • 542ebeb1 - dashboard: abort tour if user clicks on things
    Oct 16, 2014

    Added 1 new commit:

    • 542ebeb1 - dashboard: abort tour if user clicks on things
    Added 1 new commit: * 542ebeb1d87 - dashboard: abort tour if user clicks on things
    Toggle commit list
  • Őry Máté
    @orymate started a discussion on an old version of the diff Oct 20, 2014
    circle/dashboard/static/dashboard/vm-tour.js
    72 element: document.querySelector('a[href="#resources"]'),
    73 intro: gettext("On the resources tab you can edit the CPU/RAM options and add/remove disks."),
    74 },
    75 {
    76 element: document.querySelector('#vm-details-resources-form'),
    77 intro: '<p><strong>' + gettext("CPU priority") + ":</strong> " +
    78 gettext("higher is better") + "</p>" +
    79 "<p><strong>" + gettext("CPU count") + ":</strong> " +
    80 gettext("number of CPU cores.") + "</p>" +
    81 "<p><strong>" + gettext("RAM amount") + ":</strong> " +
    82 gettext("amount of RAM.") + "</p>",
    83 position: "top",
    84 },
    85 {
    86 element: document.querySelector('#vm-details-resources-disk'),
    87 intro: gettext("You can add empty disks, download new ones and remove existing ones here."),
    • Őry Máté @orymate commented Oct 20, 2014
      Owner

      (needs permission)

      (needs permission)
    Please register or sign in to reply
  • Őry Máté @orymate commented Oct 20, 2014
    Owner

    +1

    +1
  • Kálmán Viktor @kviktor

    Added 1 new commit:

    • 87cf344b - dashboard: check for resource/disk perms in vm tour
    Oct 20, 2014

    Added 1 new commit:

    • 87cf344b - dashboard: check for resource/disk perms in vm tour
    Added 1 new commit: * 87cf344b88a - dashboard: check for resource/disk perms in vm tour
    Toggle commit list
  • Kálmán Viktor @kviktor

    mentioned in commit d3b23cb1

    Feb 23, 2015

    mentioned in commit d3b23cb1

    mentioned in commit d3b23cb18c0b0f587f5f012f60e7a69c2382d536
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
3
3 participants
Reference: circle/cloud!236