-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add a Segment Management Page #23885
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
base: 5.x-dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,7 +101,9 @@ body>.widget table.dataTable { | |
| } | ||
|
|
||
| // for dataTables in report pages (not for widgets in the dashboard) | ||
| .theWidgetContent .card .card-content table.dataTable, table.dataTable, table.subDataTable { | ||
| .theWidgetContent .card .card-content table.dataTable, | ||
| table.dataTable, | ||
| table.subDataTable { | ||
|
|
||
| th { | ||
| background: @theme-color-background-base !important; | ||
|
|
@@ -156,10 +158,15 @@ table.dataTable td.column { | |
| white-space: nowrap; | ||
| } | ||
|
|
||
| .dataTable tr.highlight td { | ||
| .dataTable tr.highlight td, | ||
| .dataTable_row-highlight td { | ||
| font-weight: bold; | ||
| } | ||
|
|
||
| tr:nth-last-child(1 of .dataTable_row-group) td { | ||
| border-bottom: 3px solid @theme-color-background-tinyContrast !important; | ||
| } | ||
|
Comment on lines
+166
to
+168
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| table.dataTable th.label, | ||
| table.dataTable td.label, | ||
| table.subActionsDataTable td.label, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,3 +2,22 @@ img.sparklineImg { | |
| width: 100px; | ||
| height: 25px; | ||
| } | ||
|
|
||
| .sparklineEvolution { | ||
| color: black; | ||
| font-size: 12px; | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| .sparklineEvolution-positive { | ||
| color: green; | ||
| } | ||
|
|
||
| .sparklineEvolution-negative { | ||
| color: red; | ||
| } | ||
|
|
||
| .sparklineEvolution_icon { | ||
| margin-right: 1em; | ||
| vertical-align: middle; | ||
| } | ||
|
Comment on lines
+6
to
+23
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,6 +83,7 @@ declare global { | |
| interface PiwikHelperGlobal { | ||
| escape(text: string): string; | ||
| redirect(params?: any); | ||
| getCurrentQueryStringWithParametersModified(newparams: string); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ℹ️ This function already exists (and is useful!) but it is now available outside of the piwikHelper. |
||
| htmlDecode(encoded: string): string; | ||
| htmlEntities(value: string): string; | ||
| modalConfirm(element: JQuery|HTMLElement|string, callbacks?: ModalConfirmCallbacks, options?: ModalConfirmOptions); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ public function configureAdminMenu(MenuAdmin $menu) | |
| $idSite = $this->getIdSite($userPreferences->getDefaultWebsiteId()); | ||
|
|
||
| if (Piwik::isUserHasWriteAccess($idSite)) { | ||
| $menu->addMeasurableItem('Goals_Goals', $this->urlForAction('manage', array('idSite' => $idSite)), 40); | ||
| $menu->addMeasurableItem('Goals_Goals', $this->urlForAction('manage', array('idSite' => $idSite)), 15); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ℹ️ Goals item should be higher in the Administration Menu. It is more obvious now that we add a "Segments" item. |
||
| } | ||
| } | ||
|
|
||
|
|
||



Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ This argument already exists and it is
falseby default. I only made it available in a higher level.