mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2025-05-02 01:49:55 +03:00
chore: update riot-mui version for dialogs
This commit is contained in:
parent
7eed05ae50
commit
f02c99f12d
3 changed files with 10 additions and 12 deletions
|
@ -27,7 +27,7 @@
|
||||||
"core-js": "^3.9.1",
|
"core-js": "^3.9.1",
|
||||||
"js-beautify": "^1.13.0",
|
"js-beautify": "^1.13.0",
|
||||||
"riot": "^5.3.1",
|
"riot": "^5.3.1",
|
||||||
"riot-mui": "joxit/riot-5-mui#e3e993f",
|
"riot-mui": "joxit/riot-5-mui#03c37c7",
|
||||||
"rollup": "^2.34.2",
|
"rollup": "^2.34.2",
|
||||||
"rollup-plugin-app-utils": "^1.0.6",
|
"rollup-plugin-app-utils": "^1.0.6",
|
||||||
"rollup-plugin-commonjs": "^10.1.0",
|
"rollup-plugin-commonjs": "^10.1.0",
|
||||||
|
|
|
@ -15,18 +15,20 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<dialogs-menu>
|
<dialogs-menu>
|
||||||
<material-button onClick="{ onClick }" waves-center="true" rounded="true" waves-opacity="0.6" waves-duration="600">
|
|
||||||
<i class="material-icons">more_vert</i>
|
|
||||||
</material-button>
|
|
||||||
<material-dropdown-list items="{ dropdownItems }" onSelect="{ onDropdownSelect }"
|
|
||||||
opened="{ state.isDropdownOpened }" />
|
|
||||||
<div class="overlay" onclick="{ onClick }" if="{ state.isDropdownOpened }"></div>
|
|
||||||
<add-registry-url opened="{ state['add-registry-url'] }" on-close="{ onClose('add-registry-url') }"
|
<add-registry-url opened="{ state['add-registry-url'] }" on-close="{ onClose('add-registry-url') }"
|
||||||
on-notify="{ props.onNotify }" on-server-change="{ props.onServerChange }"></add-registry-url>
|
on-notify="{ props.onNotify }" on-server-change="{ props.onServerChange }"></add-registry-url>
|
||||||
<change-registry-url opened="{ state['change-registry-url'] }" on-close="{ onClose('change-registry-url') }"
|
<change-registry-url opened="{ state['change-registry-url'] }" on-close="{ onClose('change-registry-url') }"
|
||||||
on-notify="{ props.onNotify }" on-server-change="{ props.onServerChange }"></change-registry-url>
|
on-notify="{ props.onNotify }" on-server-change="{ props.onServerChange }"></change-registry-url>
|
||||||
<remove-registry-url opened="{ state['remove-registry-url'] }" on-close="{ onClose('remove-registry-url') }"
|
<remove-registry-url opened="{ state['remove-registry-url'] }" on-close="{ onClose('remove-registry-url') }"
|
||||||
on-notify="{ props.onNotify }" on-server-change="{ props.onServerChange }"></remove-registry-url>
|
on-notify="{ props.onNotify }" on-server-change="{ props.onServerChange }"></remove-registry-url>
|
||||||
|
<div class="container">
|
||||||
|
<material-button onClick="{ onClick }" waves-center="true" rounded="true" waves-opacity="0.6" waves-duration="600">
|
||||||
|
<i class="material-icons">more_vert</i>
|
||||||
|
</material-button>
|
||||||
|
<material-dropdown-list items="{ dropdownItems }" onSelect="{ onDropdownSelect }"
|
||||||
|
opened="{ state.isDropdownOpened }" />
|
||||||
|
</div>
|
||||||
|
<div class="overlay" onclick="{ onClick }" if="{ state.isDropdownOpened }"></div>
|
||||||
<script>
|
<script>
|
||||||
import AddRegistryUrl from './add-registry-url.riot';
|
import AddRegistryUrl from './add-registry-url.riot';
|
||||||
import ChangeRegistryUrl from './change-registry-url.riot';
|
import ChangeRegistryUrl from './change-registry-url.riot';
|
||||||
|
@ -70,7 +72,7 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
:host {
|
:host > .container{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
right: 16px;
|
right: 16px;
|
||||||
|
|
|
@ -51,10 +51,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
:host material-popup .popup {
|
|
||||||
max-height: calc(95% - 2em);
|
|
||||||
}
|
|
||||||
|
|
||||||
:host material-popup .popup material-button {
|
:host material-popup .popup material-button {
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue